C# Class NScumm.Scumm.Smush.Codec47Decoder

Show file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
Codec47Decoder ( int width, int height ) : System
Decode ( byte dst, byte src ) : bool
Decode2 ( byte dst, int dstPos, byte src, int srcPos, int width, int height, byte param_ptr, int param_ptrPos ) : void
Level1 ( byte d_dst, int dstPos ) : void
Level2 ( byte d_dst, int dstPos ) : void
Level3 ( byte d_dst, int dstPos ) : void
MakeTables47 ( int width ) : void
MakeTablesInterpolation ( int param ) : void

Private Methods

Method Description
COPY_2X1_LINE ( byte dst, int dstPos, byte src, int srcPos ) : void
COPY_4X1_LINE ( byte dst, int dstPos, byte src, int srcPos ) : void
FILL_2X1_LINE ( byte dst, int dstPos, byte value ) : void
FILL_4X1_LINE ( byte dst, int dstPos, byte value ) : void

Method Details

Codec47Decoder() public method

public Codec47Decoder ( int width, int height ) : System
width int
height int
return System

Decode() public method

public Decode ( byte dst, byte src ) : bool
dst byte
src byte
return bool

Decode2() public method

public Decode2 ( byte dst, int dstPos, byte src, int srcPos, int width, int height, byte param_ptr, int param_ptrPos ) : void
dst byte
dstPos int
src byte
srcPos int
width int
height int
param_ptr byte
param_ptrPos int
return void

Level1() public method

public Level1 ( byte d_dst, int dstPos ) : void
d_dst byte
dstPos int
return void

Level2() public method

public Level2 ( byte d_dst, int dstPos ) : void
d_dst byte
dstPos int
return void

Level3() public method

public Level3 ( byte d_dst, int dstPos ) : void
d_dst byte
dstPos int
return void

MakeTables47() public method

public MakeTables47 ( int width ) : void
width int
return void

MakeTablesInterpolation() public method

public MakeTablesInterpolation ( int param ) : void
param int
return void