GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-0-0
Constituent: encdec     Tag: rad750
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include "LDT/HUFF.h"
#include "LDT/BTREE.h"
#include "LDT/HEAP.h"
Include dependency graph for HUFF.c:
Functions | |
void | HUFF_accumulate (int *freqs, const unsigned char *original, int size) |
Accumulates the frequency distribution. | |
int | HUFF_build (HUFF_code *table, const int *freqs, int count) |
Builds a Huffman code table from the input frequency distribution. | |
int | HUFF_compress (const unsigned char *original, int size, const HUFF_code *table, unsigned char **compressed) |
Compresses the input array original into the output array. | |
int | HUFF_uncompress (const unsigned char *compressed, unsigned char **original) |
Decompresses the input byte stream compressed. | |
int | HUFF_size (const HUFF_code *table, const int *freqs, int count) |
Computes the size, in bits, of the specified encode freqs. |
CVS $Id
|
Accumulates the frequency distribution.
|
|
Builds a Huffman code table from the input frequency distribution.
|
Here is the call graph for this function:
|
Compresses the input array original into the output array.
|
|
Computes the size, in bits, of the specified encode freqs.
|
|
Decompresses the input byte stream compressed.
|
Here is the call graph for this function: