Go to the source code of this file.
Data Structures | |
struct | ARDATA |
Macros | |
#define | PERCOLATE |
#define | BITBUFSIZ (16) |
#define | UCHARMAX (255) |
#define | DICBIT (13) |
#define | DICSIZ (1<<DICBIT) |
#define | MATCHBIT (8) |
#define | MAXMATCH (1<<MATCHBIT) |
#define | THRESHOLD (3) |
#define | PERCFLAG (0x8000) |
#define | NC (UCHARMAX+MAXMATCH+2-THRESHOLD) |
#define | CBIT (9) |
#define | CODEBIT (16) |
#define | NP (DICBIT+1) |
#define | NT (CODEBIT+3) |
#define | PBIT 4 |
#define | TBIT 5 |
#define | NPT NT |
#define | NUL (0) |
#define | MAXHASHVAL (3*DICSIZ+((DICSIZ>>9)+1)*UCHARMAX) |
#define | WINBIT (14) |
#define | WINDOWSIZE (1<<WINBIT) |
#define | BUFBIT (15) |
#define | BUFSIZE (1<<BUFBIT) |
#define | FREEMEM(p) if(p) {TAP_MemFree(p); p = NULL;} |
Typedefs | |
typedef short * | ARPWord |
typedef byte * | ARPByte |
Functions | |
word | CompressBlock (byte *inputbuffer, word inputsize, byte *outputbuffer) |
word | UncompressBlock (byte *inputbuffer, word inputsize, byte *outputbuffer, word BufferSize) |
word CompressBlock | ( | byte * | inputbuffer, |
word | inputsize, | ||
byte * | outputbuffer | ||
) |
Definition at line 1309 of file lh5.c.
References TRACEENTER, and TRACEEXIT.
Referenced by CompressTFD().
word UncompressBlock | ( | byte * | inputbuffer, |
word | inputsize, | ||
byte * | outputbuffer, | ||
word | BufferSize | ||
) |
Definition at line 1342 of file lh5.c.
References TRACEENTER, and TRACEEXIT.
Referenced by UncompressFirmware(), UncompressLoader(), and UncompressTFD().