HuffmanProcessor
Engine/source/core/stream/bitStream.cpp
Classes:
Private Static Attributes
csm_charFreqs [256]
Private Attributes
Public Static Attributes
Private Functions
Public Functions
bool
readHuffBuffer(BitStream * pStream, char * out_pBuffer, S32 maxLen)
bool
writeHuffBuffer(BitStream * pStream, const char * out_pBuffer, S32 maxLen)
Detailed Description
Private Static Attributes
const U32 csm_charFreqs [256]
Private Attributes
Vector< HuffLeaf > m_huffLeaves
Vector< HuffNode > m_huffNodes
bool m_tablesBuilt
Public Static Attributes
HuffmanProcessor g_huffProcessor
Private Functions
buildTables()
determineIndex(HuffWrap & )
generateCodes(BitStream & , S32 , S32 )
Public Functions
HuffmanProcessor()
readHuffBuffer(BitStream * pStream, char * out_pBuffer, S32 maxLen)
writeHuffBuffer(BitStream * pStream, const char * out_pBuffer, S32 maxLen)