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