GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / V6-1-0 > lsec / rad750
#include "compress_p.h"
#include "LDT/APE.h"
Functions | |
| static void | LSEC_compress (LSEC_compression *cpr, void *ctx, unsigned sym) |
| Encode a symbol using the frequency and lookup table supplied by a compression. | |
| static void | LSEC_histogram (LSEC_compression *cpr, unsigned sym) |
| Increment the bin of the histogram corresponding. | |
| void LSEC_compress | ( | LSEC_compression * | cpr, | |
| void * | ctx, | |||
| unsigned | sym | |||
| ) | [inline, static] |
Encode a symbol using the frequency and lookup table supplied by a compression.
This function does not return errors since propogation of those errors to a point in LSEC where reasonable decisions about error handling can be made is problematic. Instead, errors are latched and can be checked using LSEC_checkCompression.
| cpr | Pointer to an initialsed, populated and processed compression structure | |
| ctx | Context, pointer to the arithmetic encoder context | |
| sym | Symbol to compress |
| void LSEC_histogram | ( | LSEC_compression * | cpr, | |
| unsigned | sym | |||
| ) | [inline, static] |
Increment the bin of the histogram corresponding.
| cpr | Pointer to an allocated, initialised, compression structure | |
| sym | Symbol to add to the histogram |
1.5.3