doom3-gpl
Doom 3 GPL source release
|
Protected Member Functions | |
bool | FindMatch (int startWord, int startValue, int &wordOffset, int &numWords) |
void | AddToHash (int index, int hash) |
int | GetWordFromBlock (int wordOffset) const |
virtual void | CompressBlock (void) |
virtual void | DecompressBlock (void) |
Protected Member Functions inherited from idCompressor_BitStream | |
void | InitCompress (const void *inData, const int inLength) |
void | InitDecompress (void *outData, int outLength) |
void | WriteBits (int value, int numBits) |
int | ReadBits (int numBits) |
void | UnreadBits (int numBits) |
int | Compare (const byte *src1, int bitPtr1, const byte *src2, int bitPtr2, int maxBits) const |
Protected Attributes | |
int | offsetBits |
int | lengthBits |
int | minMatchWords |
byte | block [LZSS_BLOCK_SIZE] |
int | blockSize |
int | blockIndex |
int | hashTable [LZSS_HASH_SIZE] |
int | hashNext [LZSS_BLOCK_SIZE *8] |
Protected Attributes inherited from idCompressor_BitStream | |
byte | buffer [65536] |
int | wordLength |
int | readTotalBytes |
int | readLength |
int | readByte |
int | readBit |
const byte * | readData |
int | writeTotalBytes |
int | writeLength |
int | writeByte |
int | writeBit |
byte * | writeData |
Protected Attributes inherited from idCompressor_None | |
idFile * | file |
bool | compress |
Additional Inherited Members | |
Static Public Member Functions inherited from idCompressor | |
static idCompressor * | AllocNoCompression (void) |
static idCompressor * | AllocBitStream (void) |
static idCompressor * | AllocRunLength (void) |
static idCompressor * | AllocRunLength_ZeroBased (void) |
static idCompressor * | AllocHuffman (void) |
static idCompressor * | AllocArithmetic (void) |
static idCompressor * | AllocLZSS (void) |
static idCompressor * | AllocLZSS_WordAligned (void) |
static idCompressor * | AllocLZW (void) |
Definition at line 1806 of file Compressor.cpp.
|
inline |
Definition at line 1808 of file Compressor.cpp.
Definition at line 1887 of file Compressor.cpp.
Reimplemented in idCompressor_LZSS_WordAligned.
Definition at line 1936 of file Compressor.cpp.
Reimplemented in idCompressor_LZSS_WordAligned.
Definition at line 1973 of file Compressor.cpp.
|
protected |
Definition at line 1857 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Definition at line 2030 of file Compressor.cpp.
Definition at line 1897 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Reimplemented in idCompressor_LZSS_WordAligned.
Definition at line 1841 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Definition at line 2045 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Definition at line 2001 of file Compressor.cpp.
|
protected |
Definition at line 1821 of file Compressor.cpp.
|
protected |
Definition at line 1823 of file Compressor.cpp.
|
protected |
Definition at line 1822 of file Compressor.cpp.
|
protected |
Definition at line 1826 of file Compressor.cpp.
|
protected |
Definition at line 1825 of file Compressor.cpp.
|
protected |
Definition at line 1818 of file Compressor.cpp.
|
protected |
Definition at line 1819 of file Compressor.cpp.
|
protected |
Definition at line 1817 of file Compressor.cpp.