XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
lzw_table_entry Struct Reference

Public Attributes

uint8_t value
 
uint8_t first
 
uint16_t count
 
uint16_t extends
 

Detailed Description

LZW table entry.

Records in the table are composed of 1 or more entries. Entries refer to the entry they extend which can be followed to compose the complete record. To compose the record in reverse order, take the value from each entry, and move to the entry it extends. If the extended entries index is < the current clear_code, then it is the last entry in the record.

Member Data Documentation

◆ count

uint16_t lzw_table_entry::count

Count of values in this entry's record.

◆ extends

uint16_t lzw_table_entry::extends

Offset in table to previous entry.

◆ first

uint8_t lzw_table_entry::first

First value in entry's entire record.

◆ value

uint8_t lzw_table_entry::value

Last value for record ending at entry.


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