GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-4-0
Constituent: encdec     Tag: sun-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, unsigned short int *syms, unsigned int nsyms) |
Unpacks the distribution encoded with HDD_encodeSS. |
CVS $Id: HDD.h,v 1.1 2006/11/01 21:23:34 russell 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, | |||
unsigned short int * | 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 |