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