FFmpeg
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.

◆ end_code

int LZWEncodeState::end_code

Value of end code.

Definition at line 52 of file lzwenc.c.

◆ tab

Code LZWEncodeState::tab[LZW_HASH_SIZE]

Hash table.

Definition at line 53 of file lzwenc.c.

◆ tabsize

int LZWEncodeState::tabsize

Number of values in hash table.

Definition at line 54 of file lzwenc.c.

◆ bits

int LZWEncodeState::bits

Actual bits code.

Definition at line 55 of file lzwenc.c.

◆ bufsize

int LZWEncodeState::bufsize

Size of output buffer.

Definition at line 56 of file lzwenc.c.

◆ pb

PutBitContext LZWEncodeState::pb

Put bit context for output.

Definition at line 57 of file lzwenc.c.

◆ maxbits

int LZWEncodeState::maxbits

Max bits code.

Definition at line 58 of file lzwenc.c.

◆ maxcode

int LZWEncodeState::maxcode

Max value of code.

Definition at line 59 of file lzwenc.c.

◆ output_bytes

int LZWEncodeState::output_bytes

Number of written bytes.

Definition at line 60 of file lzwenc.c.

◆ last_code

int LZWEncodeState::last_code

Value of last output code or LZW_PREFIX_EMPTY.

Definition at line 61 of file lzwenc.c.

◆ mode

enum FF_LZW_MODES LZWEncodeState::mode

TIFF or GIF.

Definition at line 62 of file lzwenc.c.

◆ put_bits

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

GIF is LE while TIFF is BE.

Definition at line 63 of file lzwenc.c.


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