Code Struct Reference

One code in hash table. More...

Data Fields

int hash_prefix
 Hash code of prefix, LZW_PREFIX_EMPTY if empty prefix, or LZW_PREFIX_FREE if no code. More...
 
int code
 LZW code. More...
 
uint8_t suffix
 Last character in code block. More...
 

Detailed Description

One code in hash table.

Definition at line 41 of file lzwenc.c.

Field Documentation

int Code::code

LZW code.

Definition at line 44 of file lzwenc.c.

Referenced by addCode(), clearTable(), and ff_lzw_encode().

int Code::hash_prefix

Hash code of prefix, LZW_PREFIX_EMPTY if empty prefix, or LZW_PREFIX_FREE if no code.

Definition at line 43 of file lzwenc.c.

Referenced by addCode(), clearTable(), ff_lzw_encode(), and findCode().

uint8_t Code::suffix

Last character in code block.

Definition at line 45 of file lzwenc.c.

Referenced by addCode(), clearTable(), and findCode().


The documentation for this struct was generated from the following file: