doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Variables
Compressor.cpp File Reference
#include "../idlib/precompiled.h"

Go to the source code of this file.

Classes

class  idCompressor_None
 
class  idCompressor_BitStream
 
class  idCompressor_RunLength
 
class  idCompressor_RunLength_ZeroBased
 
struct  nodetype
 
class  idCompressor_Huffman
 
class  idCompressor_Arithmetic
 
struct  idCompressor_Arithmetic::acProbs_s
 
struct  idCompressor_Arithmetic::acSymbol_s
 
class  idCompressor_LZSS
 
class  idCompressor_LZSS_WordAligned
 
class  idCompressor_LZW
 

Typedefs

typedef struct nodetype huffmanNode_t
 

Variables

const int HMAX = 256
 
const int NYT = HMAX
 
const int INTERNAL_NODE = HMAX + 1
 
const int AC_WORD_LENGTH = 8
 
const int AC_NUM_BITS = 16
 
const int AC_MSB_SHIFT = 15
 
const int AC_MSB2_SHIFT = 14
 
const int AC_MSB_MASK = 0x8000
 
const int AC_MSB2_MASK = 0x4000
 
const int AC_HIGH_INIT = 0xffff
 
const int AC_LOW_INIT = 0x0000
 
const int LZSS_BLOCK_SIZE = 65535
 
const int LZSS_HASH_BITS = 10
 
const int LZSS_HASH_SIZE = ( 1 << LZSS_HASH_BITS )
 
const int LZSS_HASH_MASK = ( 1 << LZSS_HASH_BITS ) - 1
 
const int LZSS_OFFSET_BITS = 11
 
const int LZSS_LENGTH_BITS = 5
 

Typedef Documentation

typedef struct nodetype huffmanNode_t

Variable Documentation

const int AC_HIGH_INIT = 0xffff

Definition at line 1375 of file Compressor.cpp.

const int AC_LOW_INIT = 0x0000

Definition at line 1376 of file Compressor.cpp.

const int AC_MSB2_MASK = 0x4000

Definition at line 1374 of file Compressor.cpp.

const int AC_MSB2_SHIFT = 14

Definition at line 1372 of file Compressor.cpp.

const int AC_MSB_MASK = 0x8000

Definition at line 1373 of file Compressor.cpp.

const int AC_MSB_SHIFT = 15

Definition at line 1371 of file Compressor.cpp.

const int AC_NUM_BITS = 16

Definition at line 1370 of file Compressor.cpp.

const int AC_WORD_LENGTH = 8

Definition at line 1369 of file Compressor.cpp.

const int HMAX = 256

Definition at line 807 of file Compressor.cpp.

const int INTERNAL_NODE = HMAX + 1

Definition at line 809 of file Compressor.cpp.

const int LZSS_BLOCK_SIZE = 65535

Definition at line 1799 of file Compressor.cpp.

const int LZSS_HASH_BITS = 10

Definition at line 1800 of file Compressor.cpp.

const int LZSS_HASH_MASK = ( 1 << LZSS_HASH_BITS ) - 1

Definition at line 1802 of file Compressor.cpp.

const int LZSS_HASH_SIZE = ( 1 << LZSS_HASH_BITS )

Definition at line 1801 of file Compressor.cpp.

const int LZSS_LENGTH_BITS = 5

Definition at line 1804 of file Compressor.cpp.

const int LZSS_OFFSET_BITS = 11

Definition at line 1803 of file Compressor.cpp.

const int NYT = HMAX

Definition at line 808 of file Compressor.cpp.