LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Data Fields

Prefix LZW state with Predictor hooks and shared bit-code state. More...

Collaboration diagram for LZWBaseState:
[legend]

Data Fields

TIFFPredictorState predict
 Predictor prefix; must be the first member.
 
unsigned short nbits
 Current code width in bits.
 
unsigned short maxcode
 Largest code under the current width convention.
 
unsigned short free_ent
 Next available dictionary code.
 
WordType nextdata
 Buffered input/output code bits.
 
long nextbits
 Number of valid buffered code bits.
 
int rw_mode
 Open mode saved at codec initialisation.
 

Detailed Description

Prefix LZW state with Predictor hooks and shared bit-code state.

Lives at the start of the handle-owned LZWCodecState (tif_data), which LZWCleanup() frees.

Definition at line 105 of file tif_lzw.c.

Field Documentation

◆ free_ent

unsigned short LZWBaseState::free_ent

Next available dictionary code.

Definition at line 115 of file tif_lzw.c.

◆ maxcode

unsigned short LZWBaseState::maxcode

Largest code under the current width convention.

Definition at line 113 of file tif_lzw.c.

◆ nbits

unsigned short LZWBaseState::nbits

Current code width in bits.

Definition at line 111 of file tif_lzw.c.

◆ nextbits

long LZWBaseState::nextbits

Number of valid buffered code bits.

Definition at line 119 of file tif_lzw.c.

◆ nextdata

WordType LZWBaseState::nextdata

Buffered input/output code bits.

Definition at line 117 of file tif_lzw.c.

◆ predict

TIFFPredictorState LZWBaseState::predict

Predictor prefix; must be the first member.

Definition at line 108 of file tif_lzw.c.

◆ rw_mode

int LZWBaseState::rw_mode

Open mode saved at codec initialisation.

Definition at line 122 of file tif_lzw.c.


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