GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-4-0
Constituent: encdec     Tag: sun-gcc
Classes | |
struct | _APD_dtx |
Decoding context. More... | |
Typedefs | |
typedef struct _APD_dtx | APD_dtx |
Typedef for struct _APD_dtx. | |
Functions | |
void | APD_start (APD_dtx *dtx, const void *src, unsigned int boff) |
Begins a decoding session. | |
unsigned int | APD_decode (APD_dtx *dtx, const unsigned int *table) |
Decodes the next symbol. | |
int | APD_bdecompress (unsigned char *dst, int cnt, const void *src, unsigned int boff, const unsigned int *table) |
Convenience routine to decode a bit stream using the specified table into a byte array. | |
int | APD_finish (APD_dtx *dtx) |
Finishes the decoding, cleaning up any inprogress context. | |
void | APD32_start (APD_dtx *dtx, const void *src, unsigned int boff) |
Begins a decoding session. | |
unsigned int | APD32_decode (APD_dtx *dtx, const unsigned int *table) |
Decodes the next symbol. | |
int | APD32_bdecompress (unsigned char *dst, int cnt, const void *src, unsigned int boff, const unsigned int *table) |
Convenience routine to decode a bit stream using the specified table. | |
int | APD32_finish (APD_dtx *dtx) |
Finishes the decoding, cleaning up any inprogress context. |
CVS $Id: APD.h,v 1.2 2006/01/24 00:20:23 russell Exp $
Typedef for struct _APD_dtx.
While this is defined in the public interface, this structure should be treated like a C++ private member. All manipulation of this structure should be through the APD or APD32 routines.
int APD32_bdecompress | ( | unsigned char * | dst, | |
int | cnt, | |||
const void * | src, | |||
unsigned int | boff, | |||
const unsigned int * | table | |||
) |
Convenience routine to decode a bit stream using the specified table.
dst | The destination/output buffer | |
cnt | The number of bytes available in the output buffer | |
src | The encode source/input stream | |
boff | The bit offset to start at in the input buffer | |
table | The decoding table |
unsigned int APD32_decode | ( | APD_dtx * | dtx, | |
const unsigned int * | table | |||
) |
Decodes the next symbol.
dtx | The decoding context | |
table | The table to use in the decoding |
int APD32_finish | ( | APD_dtx * | dtx | ) |
Finishes the decoding, cleaning up any inprogress context.
void APD32_start | ( | APD_dtx * | dtx, | |
const void * | src, | |||
unsigned int | boff | |||
) |
Begins a decoding session.
dtx | The decoding context to be initialized | |
src | The encoded source/input bit stream | |
boff | The bit offset into the input bit stream |
int APD_bdecompress | ( | unsigned char * | dst, | |
int | cnt, | |||
const void * | src, | |||
unsigned int | boff, | |||
const unsigned int * | table | |||
) |
Convenience routine to decode a bit stream using the specified table into a byte array.
dst | The destination/output buffer | |
cnt | The number of bytes available in the output buffer | |
src | The encoded source/input buffer | |
boff | The bit offset to start at in the input buffer | |
table | The decoding table |
unsigned int APD_decode | ( | APD_dtx * | dtx, | |
const unsigned int * | table | |||
) |
Decodes the next symbol.
dtx | The decoding context | |
table | The table to use in the decoding |
int APD_finish | ( | APD_dtx * | dtx | ) |
Finishes the decoding, cleaning up any inprogress context.
void APD_start | ( | APD_dtx * | dtx, | |
const void * | src, | |||
unsigned int | boff | |||
) |
Begins a decoding session.
dtx | The decoding context to be initialized | |
src | The encoded source/input bit stream | |
boff | The bit offset into the input bit stream |