CWB
Data Fields
_huffman_code_descriptor Struct Reference

A Huffman Code Descriptor block (HCD) for Huffman compressed sequences. More...

#include <attributes.h>

Data Fields

int size
 the id range of the item sequence More...
 
int length
 the number of items in the sequence More...
 
int min_codelen
 minimal code length More...
 
int max_codelen
 maximal code length More...
 
int lcount [MAXCODELEN]
 number of codes of length i More...
 
int symindex [MAXCODELEN]
 starting point of codes of length i in symbols More...
 
int min_code [MAXCODELEN]
 minimal code of length i More...
 
int * symbols
 the code->id mapping table More...
 

Detailed Description

A Huffman Code Descriptor block (HCD) for Huffman compressed sequences.

Field Documentation

int lcount[MAXCODELEN]

number of codes of length i

Referenced by compute_code_lengths(), load_component(), ReadHCD(), and WriteHCD().

int length

the number of items in the sequence

Referenced by cl_cpos2id(), cl_max_cpos(), compute_code_lengths(), decode_check_huff(), load_component(), ReadHCD(), and WriteHCD().

int max_codelen

maximal code length

Referenced by compute_code_lengths(), load_component(), ReadHCD(), and WriteHCD().

int min_code[MAXCODELEN]
int min_codelen

minimal code length

Referenced by compute_code_lengths(), load_component(), ReadHCD(), and WriteHCD().

int size

the id range of the item sequence

Referenced by compute_code_lengths(), load_component(), ReadHCD(), and WriteHCD().

int* symbols
int symindex[MAXCODELEN]

starting point of codes of length i in symbols

Referenced by cl_cpos2id(), compute_code_lengths(), decode_check_huff(), load_component(), ReadHCD(), and WriteHCD().


The documentation for this struct was generated from the following file: