GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSEC / V5-0-0
Constituent: lsec_wb     Tag: linux-gcc
#include "LSEC/LSEC_msgs.h"
#include "compress_p.h"
#include "LDT/APM.h"
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
#include <string.h>
Include dependency graph for compress.c:
Functions | |
static unsigned * | addwrd (unsigned *buffer, unsigned *bcnt, unsigned word, unsigned nbits) |
Add bits to a buffer. | |
LSEC_compression * | LSEC_newCompression (unsigned int nbits, const char *name) |
Allocate and initialise a new compression structure. | |
void | LSEC_deleteCompression (LSEC_compression *cpr) |
Free the memory associated with the compression structure. | |
void | LSEC_clearCompression (LSEC_compression *cpr) |
Clear the compression structrure of any data from a previous cycle. | |
unsigned | LSEC_checkCompression (LSEC_compression *cpr) |
Check if there were errors during the histogram or encode operations. | |
void | LSEC_zeroBin (LSEC_compression *cpr, unsigned int bin) |
Set the selected bin of the histogram to zero, indicating that this symbol will be selectively removed from the uncompressed data stream before encoding. | |
unsigned int | LSEC_getBin (LSEC_compression *cpr, unsigned int bin) |
Return the contents of one bin of the histogram. | |
unsigned int | LSEC_getCount (LSEC_compression *cpr) |
Return the number of non-zero bins in the histogram. | |
unsigned | LSEC_process (LSEC_compression *cpr) |
Build the lookup, frequency and probability tables required by the APE. | |
unsigned * | LSEC_pack (LSEC_compression *cpr, unsigned *buffer) |
Select sufficient data from the tables of the compression structure to be able to recreate the tables required to decompress the data, and pack it into the consignment. | |
size_t | LSEC_packedSize32 (LSEC_compression *cpr) |
Calculate the number of 32 bit words required to hold the packed compression structure. | |
void | LSEC_reportCompression (LSEC_compression *cmp, FILE *fp) |
Describe the contents of the decompression structure in formatted ASCII send to the file fp. |
|
Add bits to a buffer.
|
|
Check if there were errors during the histogram or encode operations.
|
|
Clear the compression structrure of any data from a previous cycle.
|
|
Free the memory associated with the compression structure.
|
|
Return the contents of one bin of the histogram.
|
|
Return the number of non-zero bins in the histogram.
|
|
Allocate and initialise a new compression structure.
|
|
Select sufficient data from the tables of the compression structure to be able to recreate the tables required to decompress the data, and pack it into the consignment.
|
|
Calculate the number of 32 bit words required to hold the packed compression structure.
|
|
Build the lookup, frequency and probability tables required by the APE.
|
|
Describe the contents of the decompression structure in formatted ASCII send to the file fp.
|
|
Set the selected bin of the histogram to zero, indicating that this symbol will be selectively removed from the uncompressed data stream before encoding.
|