doom3-gpl
Doom 3 GPL source release
|
Protected Member Functions | |
int | AddToDict (int w, int k) |
int | Lookup (int w, int k) |
bool | BumpBits () |
int | WriteChain (int code) |
void | DecompressBlock () |
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 | |
struct { | |
int k | |
int w | |
} | dictionary [LZW_DICT_SIZE] |
idHashIndex | index |
int | nextCode |
int | codeBits |
byte | block [LZW_BLOCK_SIZE] |
int | blockSize |
int | blockIndex |
int | oldCode |
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 |
Static Protected Attributes | |
static const int | LZW_BLOCK_SIZE = 32767 |
static const int | LZW_START_BITS = 9 |
static const int | LZW_FIRST_CODE = (1 << (LZW_START_BITS-1)) |
static const int | LZW_DICT_BITS = 12 |
static const int | LZW_DICT_SIZE = 1 << LZW_DICT_BITS |
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 2224 of file Compressor.cpp.
|
inline |
Definition at line 2226 of file Compressor.cpp.
Definition at line 2356 of file Compressor.cpp.
|
protected |
Definition at line 2371 of file Compressor.cpp.
Definition at line 2450 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Definition at line 2389 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Definition at line 2276 of file Compressor.cpp.
Definition at line 2335 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Definition at line 2300 of file Compressor.cpp.
Reimplemented from idCompressor_BitStream.
Definition at line 2399 of file Compressor.cpp.
Definition at line 2429 of file Compressor.cpp.
|
protected |
Definition at line 2260 of file Compressor.cpp.
|
protected |
Definition at line 2262 of file Compressor.cpp.
|
protected |
Definition at line 2261 of file Compressor.cpp.
|
protected |
Definition at line 2257 of file Compressor.cpp.
struct { ... } idCompressor_LZW::dictionary[LZW_DICT_SIZE] |
|
protected |
Definition at line 2254 of file Compressor.cpp.
int idCompressor_LZW::k |
Definition at line 2251 of file Compressor.cpp.
Definition at line 2243 of file Compressor.cpp.
Definition at line 2246 of file Compressor.cpp.
|
staticprotected |
Definition at line 2247 of file Compressor.cpp.
|
staticprotected |
Definition at line 2245 of file Compressor.cpp.
Definition at line 2244 of file Compressor.cpp.
|
protected |
Definition at line 2256 of file Compressor.cpp.
|
protected |
Definition at line 2268 of file Compressor.cpp.
int idCompressor_LZW::w |
Definition at line 2252 of file Compressor.cpp.