FFmpeg  4.0
Data Fields
LZWEncodeState Struct Reference

LZW encode state. More...

Data Fields

int clear_code
 Value of clear code. More...
 
int end_code
 Value of end code. More...
 
Code tab [LZW_HASH_SIZE]
 Hash table. More...
 
int tabsize
 Number of values in hash table. More...
 
int bits
 Actual bits code. More...
 
int bufsize
 Size of output buffer. More...
 
PutBitContext pb
 Put bit context for output. More...
 
int maxbits
 Max bits code. More...
 
int maxcode
 Max value of code. More...
 
int output_bytes
 Number of written bytes. More...
 
int last_code
 Value of last output code or LZW_PREFIX_EMPTY. More...
 
enum FF_LZW_MODES mode
 TIFF or GIF. More...
 
void(* put_bits )(PutBitContext *, int, unsigned)
 GIF is LE while TIFF is BE. More...
 

Detailed Description

LZW encode state.

Definition at line 50 of file lzwenc.c.

Field Documentation

◆ clear_code

int LZWEncodeState::clear_code

Value of clear code.

Definition at line 51 of file lzwenc.c.

Referenced by clearTable(), and ff_lzw_encode_init().

◆ end_code

int LZWEncodeState::end_code

Value of end code.

Definition at line 52 of file lzwenc.c.

Referenced by ff_lzw_encode_flush(), and ff_lzw_encode_init().

◆ tab

Code LZWEncodeState::tab[LZW_HASH_SIZE]

Hash table.

Definition at line 53 of file lzwenc.c.

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

◆ tabsize

int LZWEncodeState::tabsize

Number of values in hash table.

Definition at line 54 of file lzwenc.c.

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

◆ bits

int LZWEncodeState::bits

Actual bits code.

Definition at line 55 of file lzwenc.c.

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

◆ bufsize

int LZWEncodeState::bufsize

Size of output buffer.

Definition at line 56 of file lzwenc.c.

Referenced by ff_lzw_encode(), and ff_lzw_encode_init().

◆ pb

PutBitContext LZWEncodeState::pb

Put bit context for output.

Definition at line 57 of file lzwenc.c.

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

◆ maxbits

int LZWEncodeState::maxbits

Max bits code.

Definition at line 58 of file lzwenc.c.

Referenced by ff_lzw_encode_init().

◆ maxcode

int LZWEncodeState::maxcode

Max value of code.

Definition at line 59 of file lzwenc.c.

Referenced by ff_lzw_encode(), and ff_lzw_encode_init().

◆ output_bytes

int LZWEncodeState::output_bytes

Number of written bytes.

Definition at line 60 of file lzwenc.c.

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

◆ last_code

int LZWEncodeState::last_code

Value of last output code or LZW_PREFIX_EMPTY.

Definition at line 61 of file lzwenc.c.

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

◆ mode

enum FF_LZW_MODES LZWEncodeState::mode

TIFF or GIF.

Definition at line 62 of file lzwenc.c.

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

◆ put_bits

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

GIF is LE while TIFF is BE.

Definition at line 63 of file lzwenc.c.

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


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