FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
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.
 
enum FF_LZW_MODES mode
 TIFF or GIF.
 
void(* put_bits )(PutBitContext *, int, unsigned)
 GIF is LE while TIFF is BE.
 

Detailed Description

LZW encode state.

Definition at line 49 of file lzwenc.c.

Field Documentation

int LZWEncodeState::clear_code

Value of clear code.

Definition at line 50 of file lzwenc.c.

Referenced by clearTable(), and ff_lzw_encode_init().

int LZWEncodeState::end_code

Value of end code.

Definition at line 51 of file lzwenc.c.

Referenced by ff_lzw_encode_flush(), and ff_lzw_encode_init().

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().

int LZWEncodeState::tabsize

Number of values in hash table.

Definition at line 53 of file lzwenc.c.

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

int LZWEncodeState::bits

Actual bits code.

Definition at line 54 of file lzwenc.c.

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

int LZWEncodeState::bufsize

Size of output buffer.

Definition at line 55 of file lzwenc.c.

Referenced by ff_lzw_encode(), and ff_lzw_encode_init().

PutBitContext LZWEncodeState::pb

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().

int LZWEncodeState::maxbits

Max bits code.

Definition at line 57 of file lzwenc.c.

Referenced by ff_lzw_encode_init().

int LZWEncodeState::maxcode

Max value of code.

Definition at line 58 of file lzwenc.c.

Referenced by ff_lzw_encode(), and ff_lzw_encode_init().

int LZWEncodeState::output_bytes

Number of written bytes.

Definition at line 59 of file lzwenc.c.

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

int LZWEncodeState::last_code

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().

enum FF_LZW_MODES LZWEncodeState::mode

TIFF or GIF.

Definition at line 61 of file lzwenc.c.

Referenced by addCode(), and ff_lzw_encode_init().

void(* LZWEncodeState::put_bits)(PutBitContext *, int, unsigned)

GIF is LE while TIFF is BE.

Definition at line 62 of file lzwenc.c.

Referenced by ff_lzw_encode_init(), and writeCode().


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