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

Own LERC full-strile staging masks and secondary-compression state. More...

Collaboration diagram for LERCState:
[legend]

Data Fields

double maxzerror
 Cached maximum encoding error, zero for default lossless operation.
 
int lerc_version
 Cached encoded LERC version.
 
int additional_compression
 Secondary none/Deflate/ZSTD selection.
 
int zstd_compress_level
 Cached ZSTD level, including warned values.
 
int zipquality
 Cached Deflate quality, including rejected attempted assignments.
 
int state
 Encode/decode mode flags.
 
uint32_t segment_width
 Current strile width in pixels.
 
uint32_t segment_height
 Current tile or truncated-strip height in rows.
 
unsigned int uncompressed_size
 Logical current-strile decoded extent in bytes.
 
unsigned int uncompressed_alloc
 Allocated main staging capacity in bytes, including compression margin.
 
uint8_t * uncompressed_buffer
 Owned Ext row-interleaved staging reused as secondary-compression output.
 
unsigned int uncompressed_offset
 Next staged input/output byte offset.
 
uint8_t * uncompressed_buffer_multiband
 Owned Ext planar multiband staging for per-band masks.
 
unsigned int uncompressed_buffer_multiband_alloc
 Multiband staging capacity in bytes.
 
unsigned int mask_size
 Validity-mask allocation capacity in bytes.
 
uint8_t * mask_buffer
 Owned Ext pixel or per-band validity masks.
 
unsigned int compressed_size
 Compressed/intermediate allocation capacity in bytes.
 
void * compressed_buffer
 Owned Ext LERC blob or secondary-decompressed staging.
 
TIFFVGetMethod vgetparent
 Borrowed parent tag getter restored during cleanup.
 
TIFFVSetMethod vsetparent
 Borrowed parent tag setter restored during cleanup.
 

Detailed Description

Own LERC full-strile staging masks and secondary-compression state.

Codec-owned state must remain live until cleanup. Internal buffers and dependency objects have the individual ownership described below; borrowed parent methods must remain callable.

Definition at line 71 of file tif_lerc.c.

Field Documentation

◆ additional_compression

int LERCState::additional_compression

Secondary none/Deflate/ZSTD selection.

Definition at line 81 of file tif_lerc.c.

Referenced by LERCPreDecode(), and LERCVGetField().

◆ compressed_buffer

void* LERCState::compressed_buffer

Owned Ext LERC blob or secondary-decompressed staging.

Definition at line 124 of file tif_lerc.c.

Referenced by LERCCleanup(), and LERCPreDecode().

◆ compressed_size

unsigned int LERCState::compressed_size

Compressed/intermediate allocation capacity in bytes.

Definition at line 122 of file tif_lerc.c.

Referenced by LERCPreDecode().

◆ lerc_version

int LERCState::lerc_version

Cached encoded LERC version.

Definition at line 79 of file tif_lerc.c.

Referenced by LERCPreDecode(), and LERCVGetField().

◆ mask_buffer

uint8_t* LERCState::mask_buffer

Owned Ext pixel or per-band validity masks.

Definition at line 119 of file tif_lerc.c.

Referenced by LERCCleanup(), LERCPreDecode(), and SetupBuffers().

◆ mask_size

unsigned int LERCState::mask_size

Validity-mask allocation capacity in bytes.

Definition at line 117 of file tif_lerc.c.

Referenced by SetupBuffers().

◆ maxzerror

double LERCState::maxzerror

Cached maximum encoding error, zero for default lossless operation.

Definition at line 77 of file tif_lerc.c.

Referenced by LERCVGetField().

◆ segment_height

uint32_t LERCState::segment_height

Current tile or truncated-strip height in rows.

Definition at line 94 of file tif_lerc.c.

Referenced by LERCPreDecode(), and SetupBuffers().

◆ segment_width

uint32_t LERCState::segment_width

Current strile width in pixels.

Definition at line 92 of file tif_lerc.c.

Referenced by LERCPreDecode(), and SetupBuffers().

◆ state

int LERCState::state

Encode/decode mode flags.

Definition at line 89 of file tif_lerc.c.

Referenced by LERCPreDecode(), LERCSetupDecode(), and LERCSetupEncode().

◆ uncompressed_alloc

unsigned int LERCState::uncompressed_alloc

Allocated main staging capacity in bytes, including compression margin.

Definition at line 102 of file tif_lerc.c.

Referenced by LERCPreDecode(), and SetupBuffers().

◆ uncompressed_buffer

uint8_t* LERCState::uncompressed_buffer

Owned Ext row-interleaved staging reused as secondary-compression output.

Definition at line 107 of file tif_lerc.c.

Referenced by LERCCleanup(), LERCPreDecode(), and SetupBuffers().

◆ uncompressed_buffer_multiband

uint8_t* LERCState::uncompressed_buffer_multiband

Owned Ext planar multiband staging for per-band masks.

Definition at line 112 of file tif_lerc.c.

Referenced by LERCCleanup(), and LERCPreDecode().

◆ uncompressed_buffer_multiband_alloc

unsigned int LERCState::uncompressed_buffer_multiband_alloc

Multiband staging capacity in bytes.

Definition at line 114 of file tif_lerc.c.

Referenced by LERCPreDecode().

◆ uncompressed_offset

unsigned int LERCState::uncompressed_offset

Next staged input/output byte offset.

Definition at line 109 of file tif_lerc.c.

Referenced by SetupBuffers().

◆ uncompressed_size

unsigned int LERCState::uncompressed_size

Logical current-strile decoded extent in bytes.

Definition at line 97 of file tif_lerc.c.

Referenced by SetupBuffers().

◆ vgetparent

TIFFVGetMethod LERCState::vgetparent

Borrowed parent tag getter restored during cleanup.

Definition at line 140 of file tif_lerc.c.

Referenced by LERCCleanup(), and LERCVGetField().

◆ vsetparent

TIFFVSetMethod LERCState::vsetparent

Borrowed parent tag setter restored during cleanup.

Definition at line 142 of file tif_lerc.c.

Referenced by LERCCleanup(), and LERCVSetFieldBase().

◆ zipquality

int LERCState::zipquality

Cached Deflate quality, including rejected attempted assignments.

Definition at line 87 of file tif_lerc.c.

Referenced by LERCVGetField().

◆ zstd_compress_level

int LERCState::zstd_compress_level

Cached ZSTD level, including warned values.

Definition at line 83 of file tif_lerc.c.

Referenced by LERCVGetField().


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