libmobi
C library for handling MOBI format ebook documents
|
Parsed data from HUFF and CDIC records needed to unpack huffman compressed text. More...
#include <compression.h>
Data Fields | |
size_t | index_count |
size_t | index_read |
size_t | code_length |
uint32_t | table1 [256] |
uint32_t | mincode_table [HUFF_CODETABLE_SIZE] |
uint32_t | maxcode_table [HUFF_CODETABLE_SIZE] |
uint16_t * | symbol_offsets |
unsigned char ** | symbols |
Parsed data from HUFF and CDIC records needed to unpack huffman compressed text.
size_t MOBIHuffCdic::code_length |
Code length value stored in CDIC record header
size_t MOBIHuffCdic::index_count |
Total number of indices in all CDIC records, stored in each CDIC record header
size_t MOBIHuffCdic::index_read |
Number of indices parsed, used by parser
uint32_t MOBIHuffCdic::maxcode_table[HUFF_CODETABLE_SIZE] |
Table of big-endian maxcodes from HUFF record data2
uint32_t MOBIHuffCdic::mincode_table[HUFF_CODETABLE_SIZE] |
Table of big-endian mincodes from HUFF record data2
uint16_t* MOBIHuffCdic::symbol_offsets |
Index of symbol offsets parsed from CDIC records (index_count entries)
unsigned char** MOBIHuffCdic::symbols |
Array of pointers to start of symbols data in each CDIC record (index = number of CDIC record)
uint32_t MOBIHuffCdic::table1[256] |
Table of big-endian indices from HUFF record data1