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

Link one decoder string to its preceding dictionary string. More...

Collaboration diagram for code_ent:
[legend]

Data Fields

struct code_ent * next
 Borrowed link within the decoder table to the preceding string entry.
 
unsigned short length
 Decoded string length including this entry.
 
unsigned char firstchar
 First byte of the decoded string; immediately precedes value for fast paths.
 
unsigned char value
 Final byte represented by this entry.
 
bool repeated
 Whether the string consists of one repeated byte.
 

Detailed Description

Link one decoder string to its preceding dictionary string.

Element of the CSIZE-entry dec_codetab array owned by LZWCodecState; next links point into the same array.

Definition at line 164 of file tif_lzw.c.

Field Documentation

◆ firstchar

unsigned char code_ent::firstchar

First byte of the decoded string; immediately precedes value for fast paths.

Definition at line 178 of file tif_lzw.c.

Referenced by LZWDecode(), and LZWDecodeCompat().

◆ length

unsigned short code_ent::length

Decoded string length including this entry.

Definition at line 172 of file tif_lzw.c.

Referenced by LZWDecode(), and LZWDecodeCompat().

◆ next

struct code_ent* code_ent::next

Borrowed link within the decoder table to the preceding string entry.

Definition at line 170 of file tif_lzw.c.

Referenced by LZWDecode(), and LZWDecodeCompat().

◆ repeated

bool code_ent::repeated

Whether the string consists of one repeated byte.

Definition at line 182 of file tif_lzw.c.

Referenced by LZWDecode().

◆ value

unsigned char code_ent::value

Final byte represented by this entry.

Definition at line 180 of file tif_lzw.c.

Referenced by LZWDecode(), and LZWDecodeCompat().


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