|
LibTIFF 4.7.2
TIFF library public API and implementation reference
|
Own LZW dictionaries hash storage and transfer restart state. More...
Data Fields | |
| LZWBaseState | base |
| Shared LZW/Predictor prefix, first in the codec allocation. | |
| long | dec_nbitsmask |
| Right-adjusted mask for current decode width. | |
| tmsize_t | dec_restart |
| Bytes already returned from an interrupted decoded string. | |
| uint64_t | dec_bitsleft |
| Number of cached raw-input bits remaining. | |
| tmsize_t | old_tif_rawcc |
| Raw byte count saved after the preceding decoder call. | |
| decodeFunc | dec_decode |
| Decoder last recorded by predecode; NULL until the first predecode. Used only as a first-strile detection flag, never called, and may differ from the installed tif_decode* methods. | |
| code_t * | dec_codep |
| Borrowed current/restart entry within dec_codetab. | |
| code_t * | dec_oldcodep |
| Borrowed preceding recognised entry. | |
| code_t * | dec_free_entp |
| Next available decoder table entry cursor. | |
| code_t * | dec_maxcodep |
| Current width-dependent dictionary limit cursor. | |
| code_t * | dec_codetab |
| Owned decoder entry allocation, released by cleanup. | |
| int | read_error |
| Latched same-strile failure cleared by predecode. | |
| int | enc_oldcode |
| Pending previous encoder string code. | |
| tmsize_t | enc_checkpoint |
| Input-byte threshold for the next ratio test. | |
| tmsize_t | enc_ratio |
| Cached compression ratio in fixed-point form. | |
| tmsize_t | enc_incount |
| Input bytes counted for ratio estimation. | |
| tmsize_t | enc_outcount |
| Output code bits counted for ratio estimation. | |
| uint8_t * | enc_rawlimit |
| Borrowed raw-buffer limit leaving room for final codes. | |
| hash_t * | enc_hashtab |
| Owned HSIZE-entry encoding table, released by cleanup. | |
Own LZW dictionaries hash storage and transfer restart state.
Allocated as tif_data by TIFFInitLZW() (or LZWSetupDecode() if missing). dec_codetab and enc_hashtab are allocated by decode/encode setup, and LZWCleanup() frees them together with the state.
| LZWBaseState LZWCodecState::base |
| uint64_t LZWCodecState::dec_bitsleft |
| code_t* LZWCodecState::dec_codep |
| code_t* LZWCodecState::dec_codetab |
| decodeFunc LZWCodecState::dec_decode |
| code_t* LZWCodecState::dec_free_entp |
| code_t* LZWCodecState::dec_maxcodep |
| long LZWCodecState::dec_nbitsmask |
| code_t* LZWCodecState::dec_oldcodep |
| tmsize_t LZWCodecState::dec_restart |
| tmsize_t LZWCodecState::enc_checkpoint |
Input-byte threshold for the next ratio test.
Definition at line 246 of file tif_lzw.c.
Referenced by LZWEncode().
| hash_t* LZWCodecState::enc_hashtab |
Owned HSIZE-entry encoding table, released by cleanup.
Definition at line 257 of file tif_lzw.c.
Referenced by cl_hash(), and LZWEncode().
| tmsize_t LZWCodecState::enc_incount |
Input bytes counted for ratio estimation.
Definition at line 251 of file tif_lzw.c.
Referenced by LZWEncode().
| int LZWCodecState::enc_oldcode |
Pending previous encoder string code.
Definition at line 244 of file tif_lzw.c.
Referenced by LZWEncode(), and LZWPostEncode().
| tmsize_t LZWCodecState::enc_outcount |
Output code bits counted for ratio estimation.
Definition at line 253 of file tif_lzw.c.
Referenced by LZWEncode(), and LZWPostEncode().
| tmsize_t LZWCodecState::enc_ratio |
Cached compression ratio in fixed-point form.
Definition at line 249 of file tif_lzw.c.
Referenced by LZWEncode().
| uint8_t* LZWCodecState::enc_rawlimit |
Borrowed raw-buffer limit leaving room for final codes.
Definition at line 255 of file tif_lzw.c.
Referenced by LZWEncode(), and LZWPostEncode().
| tmsize_t LZWCodecState::old_tif_rawcc |
| int LZWCodecState::read_error |