ScummVM API documentation
Common::RncDecoder Class Reference

Public Member Functions

int32 unpackM1 (const void *input, uint inputSize, void *output)
 
int32 unpackM2 (const void *input, void *output)
 

Static Public Attributes

static const uint32 kRnc1Signature = 0x524E4301
 
static const uint32 kRnc2Signature = 0x524E4302
 

Protected Member Functions

void initCrc ()
 
uint16 crcBlock (const uint8 *block, uint32 size)
 
uint16 inputBits (uint8 amount)
 
void makeHufftable (uint16 *table)
 
uint16 inputValue (uint16 *table)
 
int getbit ()
 

Protected Attributes

uint16 _rawTable [64]
 
uint16 _posTable [64]
 
uint16 _lenTable [64]
 
uint16 _crcTable [256]
 
uint16 _bitBuffl
 
uint16 _bitBuffh
 
uint8 _bitCount
 
const uint8 * _srcPtr
 
uint8 * _dstPtr
 
int32 _inputByteLeft
 

The documentation for this class was generated from the following file: