GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LDT / dev > encdec_unit_test / rhel6-32
#include <PBI/Endianness.h>
Classes | |
struct | _HUFF_code |
Structure to contain the Huffman code, both the bit pattern and its length. More... | |
struct | _HUFF_symbol_bf |
The information associate with a decoded symbol. More... | |
union | _HUFF_symbol |
Defines | |
#define | HUFF_N_WA(_cnt) (HUFF_N_HEAP(_cnt) + HUFF_N_PARENTS(_cnt)) |
Gives the number of 32-bit elements needed by the temporary wa array based of the number of elements in the frequency table. | |
Typedefs | |
typedef struct _HUFF_dtable | HUFF_dtable |
typedef struct _HUFF_code | HUFF_code |
Typedef for struct _HUFF_code. | |
typedef struct _HUFF_symbol_bf | HUFF_symbol_bf |
typedef union _HUFF_symbol | HUFF_symbol |
Functions | |
int | HUFF_build (HUFF_code *codes, const unsigned int *freqs, int count, unsigned int *wa) |
int | HUFF_buildDense (HUFF_code *codes, const unsigned int *freq, const unsigned int *valid, int nvalid, unsigned int *wa) |
int | HUFF_buildSparse (HUFF_code *codes, const unsigned int *freq, const unsigned int *valid, int nvalid, unsigned int *wa) |
int | HUFF_bcompress (void *out, unsigned int boff, void *max, const HUFF_code *codes, const unsigned char *in, int cnt, int *unencoded) |
int | HUFF_size (const HUFF_code *codes, const unsigned int *freqs, int count) |
int | HUFF_sizeDense (const HUFF_code *codes, const unsigned int *freq, const unsigned int *valid, int nvalid) |
int | HUFF_sizeSparse (const HUFF_code *codes, const unsigned int *freq, const unsigned int *valid, int nvalid) |
int | HUFF_dtableSizeof (int nsymbols) |
void | HUFF_dtableBuild (HUFF_dtable *dtable, const unsigned char *sym_lens, int nsymbols) |
void | HUFF_dtableBiase (HUFF_dtable *dtable, int biase) |
void | HUFF_dtablePrint (const HUFF_dtable *dtable) |
unsigned int | HUFF_decode (const HUFF_dtable *dtable, const unsigned int *src, unsigned int boff) |
int | HUFF_decompressBytes (unsigned char *dst, int cnt, const void *src, unsigned int boff, const HUFF_dtable *dtable) |
int | HUFF_decompressShorts (unsigned short int *dst, int cnt, const void *src, unsigned int boff, const HUFF_dtable *dtable) |
int | HUFF_decompressLongs (unsigned int *dst, int cnt, const void *src, unsigned int boff, const HUFF_dtable *dtable) |
void | HUFF_codesPrint (const HUFF_code *codes, int ncodes) |
CVS $Id
#define HUFF_N_WA | ( | _cnt | ) | (HUFF_N_HEAP(_cnt) + HUFF_N_PARENTS(_cnt)) |
Gives the number of 32-bit elements needed by the temporary wa array based of the number of elements in the frequency table.
_cnt | The number of 32-bit elements in the frequency table. |