Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
huffcodex.h File Reference

Go to the source code of this file.

Macros

#define qmin(a, b)
 
#define qmax(a, b)
 

Functions

CODEXABOUT *GCALL HUFF_about (void)
 
bool GCALL HUFF_is (const void *compresseddata)
 
int GCALL HUFF_size (const void *compresseddata)
 
int GCALL HUFF_decode (void *dest, const void *compresseddata, int *compressedsize)
 
int GCALL HUFF_encode (void *compresseddata, const void *source, int sourcesize, int *opts)
 

Macro Definition Documentation

◆ qmax

#define qmax ( a,
b )
Value:
((a)>(b)?(a):(b))

Definition at line 67 of file huffcodex.h.

◆ qmin

#define qmin ( a,
b )
Value:
((a)<(b)?(a):(b))

Definition at line 63 of file huffcodex.h.

Function Documentation

◆ HUFF_about()

CODEXABOUT *GCALL HUFF_about ( void )

Definition at line 67 of file huffabout.cpp.

◆ HUFF_decode()

int GCALL HUFF_decode ( void * dest,
const void * compresseddata,
int * compressedsize )

Definition at line 564 of file huffdecode.cpp.

◆ HUFF_encode()

int GCALL HUFF_encode ( void * compresseddata,
const void * source,
int sourcesize,
int * opts )

Definition at line 1179 of file huffencode.cpp.

◆ HUFF_is()

bool GCALL HUFF_is ( const void * compresseddata)

Definition at line 519 of file huffdecode.cpp.

◆ HUFF_size()

int GCALL HUFF_size ( const void * compresseddata)

Definition at line 546 of file huffdecode.cpp.