LZWEncodeState Struct Reference

LZW encode state. More...


Data Fields

int clear_code
 Value of clear code.
int end_code
 Value of end code.
Code tab [LZW_HASH_SIZE]
 Hash table.
int tabsize
 Number of values in hash table.
int bits
 Actual bits code.
int bufsize
 Size of output buffer.
PutBitContext pb
 Put bit context for output.
int maxbits
 Max bits code.
int maxcode
 Max value of code.
int output_bytes
 Number of written bytes.
int last_code
 Value of last output code or LZW_PREFIX_EMPTY.


Detailed Description

LZW encode state.

Definition at line 49 of file lzwenc.c.


Field Documentation

Actual bits code.

Definition at line 54 of file lzwenc.c.

Referenced by addCode(), clearTable(), ff_lzw_encode_init(), and writeCode().

Size of output buffer.

Definition at line 55 of file lzwenc.c.

Referenced by ff_lzw_encode(), and ff_lzw_encode_init().

Value of clear code.

Definition at line 50 of file lzwenc.c.

Referenced by clearTable(), and ff_lzw_encode_init().

Value of end code.

Definition at line 51 of file lzwenc.c.

Referenced by ff_lzw_encode_flush(), and ff_lzw_encode_init().

Value of last output code or LZW_PREFIX_EMPTY.

Definition at line 60 of file lzwenc.c.

Referenced by ff_lzw_encode(), ff_lzw_encode_flush(), and ff_lzw_encode_init().

Max bits code.

Definition at line 57 of file lzwenc.c.

Referenced by ff_lzw_encode_init().

Max value of code.

Definition at line 58 of file lzwenc.c.

Referenced by ff_lzw_encode(), and ff_lzw_encode_init().

Number of written bytes.

Definition at line 59 of file lzwenc.c.

Referenced by ff_lzw_encode(), ff_lzw_encode_init(), and writtenBytes().

Put bit context for output.

Definition at line 56 of file lzwenc.c.

Referenced by ff_lzw_encode_flush(), ff_lzw_encode_init(), writeCode(), and writtenBytes().

Code LZWEncodeState::tab[LZW_HASH_SIZE]

Hash table.

Definition at line 52 of file lzwenc.c.

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

Number of values in hash table.

Definition at line 53 of file lzwenc.c.

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


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

Generated on Fri Oct 26 02:35:47 2012 for FFmpeg by  doxygen 1.5.8