GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LDT / V0-5-0 > encdec / linux-gcc
Typedefs | |
| typedef struct _HDD | HDD |
Functions | |
| void * | HDD_construct (HDD *hde, unsigned int nhuff) |
| Constructs (initializes) the specified HDD structure. | |
| unsigned int | HDD_sizeof (unsigned int nhuff) |
| Returns the size, in bytes, for a handle to hold a Huffman distribution of huffman_bins. | |
| unsigned int | HDD_decodeS (HDD *hdd, const unsigned int *src, unsigned int pos, unsigned int max_pos, short *syms, unsigned int nsyms) |
| Unpacks the distribution encoded with HDD_encodeSS. | |
| unsigned int | HDD_tableDecode (HDD *hdd, const unsigned int *src, unsigned int pos, unsigned int max_pos) |
| Unpacks the table encoded with HDE_tableEncode. | |
| unsigned int | HDD_symbolsDecodeS (HDD *hdd, const unsigned int *src, unsigned int pos, unsigned int max_pos, short *syms, unsigned int nsyms) |
| Unpacks the distribution encoded with HDD_symbolsEncodeS. | |
CVS $Id: HDD.h,v 1.2 2010/08/06 18:58:49 saxton Exp $
| void HDD_construct | ( | HDD * | hdd, | |
| unsigned int | nhuff | |||
| ) |
Constructs (initializes) the specified HDD structure.
| hdd | The HDD control structure to construct | |
| nhuff | The maximum number of Huffman encoding bins that this control structure is meant to support. |
| unsigned int HDD_decodeS | ( | HDD * | hdd, | |
| const unsigned int * | src, | |||
| unsigned int | pos, | |||
| unsigned int | max_pos, | |||
| short * | syms, | |||
| unsigned int | nsyms | |||
| ) |
Unpacks the distribution encoded with HDD_encodeSS.
| hdd | The decode handle | |
| src | The source stream | |
| pos | The current bit read position | |
| max_pos | The maximum bit position, i.e. do not read past this point | |
| syms | The array to receive the decoded symbols | |
| nsyms | The number of symbols to decode |
| unsigned int HDD_sizeof | ( | unsigned int | nhuff | ) |
Returns the size, in bytes, for a handle to hold a Huffman distribution of huffman_bins.
| nhuff | The maximum number of Huffman codes |
| unsigned int HDD_symbolsDecodeS | ( | HDD * | hdd, | |
| const unsigned int * | src, | |||
| unsigned int | pos, | |||
| unsigned int | max_pos, | |||
| short * | syms, | |||
| unsigned int | nsyms | |||
| ) |
Unpacks the distribution encoded with HDD_symbolsEncodeS.
| hdd | The decode handle | |
| src | The source stream | |
| pos | The current bit read position | |
| max_pos | The maximum bit position, i.e. do not read past this point | |
| syms | The array to receive the decoded symbols | |
| nsyms | The number of symbols to decode |
| unsigned int HDD_tableDecode | ( | HDD * | hdd, | |
| const unsigned int * | src, | |||
| unsigned int | pos, | |||
| unsigned int | max_pos | |||
| ) |
Unpacks the table encoded with HDE_tableEncode.
| hdd | The decode handle | |
| src | The source stream | |
| pos | The current bit read position | |
| max_pos | The maximum bit position, i.e. do not read past this point |
1.5.3