Advanced Strategic Command
Macros | Typedefs | Variables
lzw.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRESET_CODE_MAX   256 /* codes like this are preset */
 
#define END_OF_INPUT   256 /* this code terminates input */
 
#define NEW_DICTIONARY   257 /* reinitialize the dictionary */
 
#define UNUSED_CODE   258 /* an invalid code */
 
#define STARTING_CODE   259 /* first code we can use */
 
#define MAX_CODE   65536 /* 2 ^ BITS */
 
#define DICTIONARY_SIZE   81901L /* a prime # > MAX_CODE * 1.2 */
 

Typedefs

typedef unsigned short CodeType
 
typedef unsigned long IndexType
 
typedef unsigned long CountType
 

Variables

const char * LZ_SIGNATURE
 
const char * RLE_SIGNATURE
 

Macro Definition Documentation

#define DICTIONARY_SIZE   81901L /* a prime # > MAX_CODE * 1.2 */

Definition at line 44 of file lzw.h.

Referenced by tlzwstreamcompression::writedata().

#define END_OF_INPUT   256 /* this code terminates input */

Definition at line 39 of file lzw.h.

Referenced by tlzwstreamcompression::close(), and tlzwstreamcompression::readdata().

#define MAX_CODE   65536 /* 2 ^ BITS */

Definition at line 43 of file lzw.h.

Referenced by tlzwstreamcompression::readdata(), and tlzwstreamcompression::writedata().

#define NEW_DICTIONARY   257 /* reinitialize the dictionary */

Definition at line 40 of file lzw.h.

Referenced by tlzwstreamcompression::readdata(), and tlzwstreamcompression::writedata().

#define PRESET_CODE_MAX   256 /* codes like this are preset */

Definition at line 38 of file lzw.h.

#define STARTING_CODE   259 /* first code we can use */

Definition at line 42 of file lzw.h.

Referenced by tlzwstreamcompression::readdata(), and tlzwstreamcompression::writedata().

#define UNUSED_CODE   258 /* an invalid code */

Definition at line 41 of file lzw.h.

Referenced by tlzwstreamcompression::writedata().

Typedef Documentation

typedef unsigned short CodeType

Definition at line 46 of file lzw.h.

typedef unsigned long CountType

Definition at line 48 of file lzw.h.

typedef unsigned long IndexType

Definition at line 47 of file lzw.h.

Variable Documentation

const char* LZ_SIGNATURE

Definition at line 88 of file basestrm.cpp.

Referenced by tanycompression::init().

const char* RLE_SIGNATURE

Definition at line 89 of file basestrm.cpp.

Referenced by tanycompression::init().