a basic LWZ decoder
More...
a basic LWZ decoder
- Note
- this code is freely inspired from https://github.com/MichaelDipperstein/lzw GLP 3
StudentWritingCParserInternal::LWZDecoder::LWZDecoder |
( |
unsigned char const * |
data, |
|
|
unsigned long |
len |
|
) |
| |
|
inline |
StudentWritingCParserInternal::LWZDecoder::LWZDecoder |
( |
LWZDecoder const & |
| ) |
|
|
protecteddelete |
bool StudentWritingCParserInternal::LWZDecoder::decode |
( |
std::vector< unsigned char > & |
output | ) |
|
unsigned char StudentWritingCParserInternal::LWZDecoder::decodeRec |
( |
unsigned int |
code, |
|
|
std::vector< unsigned char > & |
output |
|
) |
| |
|
inlineprotected |
unsigned StudentWritingCParserInternal::LWZDecoder::getBit |
( |
| ) |
const |
|
inlineprotected |
unsigned StudentWritingCParserInternal::LWZDecoder::getCodeWord |
( |
unsigned |
codeLen | ) |
const |
|
inlineprotected |
void StudentWritingCParserInternal::LWZDecoder::initDictionary |
( |
| ) |
|
|
inlineprotected |
int const StudentWritingCParserInternal::LWZDecoder::e_firstCode =(1<<8) |
|
static |
int const StudentWritingCParserInternal::LWZDecoder::e_maxCode =(1<<e_maxCodeLen) |
|
static |
int const StudentWritingCParserInternal::LWZDecoder::e_maxCodeLen =14 |
|
static |
unsigned long StudentWritingCParserInternal::LWZDecoder::m_bit |
|
mutableprotected |
unsigned char const* StudentWritingCParserInternal::LWZDecoder::m_data |
|
protected |
std::vector<LWZEntry> StudentWritingCParserInternal::LWZDecoder::m_dictionary |
|
protected |
unsigned long StudentWritingCParserInternal::LWZDecoder::m_len |
|
protected |
unsigned long StudentWritingCParserInternal::LWZDecoder::m_pos |
|
mutableprotected |
The documentation for this struct was generated from the following file: