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

Own Deflate dependency streams predictor prefix and backend selection. More...

Collaboration diagram for ZIPState:
[legend]

Data Fields

TIFFPredictorState predict
 Predictor prefix, first in the codec state.
 
z_stream stream
 Zlib stream with internal allocations owned until inflateEnd/deflateEnd.
 
int read_error
 Same-strile decode error latch reset by successful predecode.
 
int zipquality
 Stored quality, including rejected attempted assignments; zlib uses a cap of nine.
 
int state
 Active zlib mode flags.
 
int subcodec
 Requested zlib or libdeflate backend, validated by the setter after assignment.
 
TIFFVGetMethod vgetparent
 Borrowed parent getter restored on cleanup.
 
TIFFVSetMethod vsetparent
 Borrowed parent setter restored on cleanup.
 

Detailed Description

Own Deflate dependency streams predictor prefix and backend selection.

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 79 of file tif_zip.c.

Field Documentation

◆ predict

TIFFPredictorState ZIPState::predict

Predictor prefix, first in the codec state.

Definition at line 82 of file tif_zip.c.

◆ read_error

int ZIPState::read_error

Same-strile decode error latch reset by successful predecode.

Definition at line 89 of file tif_zip.c.

Referenced by ZIPPreDecode().

◆ state

int ZIPState::state

Active zlib mode flags.

Definition at line 96 of file tif_zip.c.

Referenced by ZIPCleanup(), ZIPPreDecode(), and ZIPPreEncode().

◆ stream

z_stream ZIPState::stream

Zlib stream with internal allocations owned until inflateEnd/deflateEnd.

Definition at line 87 of file tif_zip.c.

Referenced by ZIPCleanup(), ZIPPreDecode(), and ZIPPreEncode().

◆ subcodec

int ZIPState::subcodec

Requested zlib or libdeflate backend, validated by the setter after assignment.

Definition at line 101 of file tif_zip.c.

Referenced by ZIPVGetField().

◆ vgetparent

TIFFVGetMethod ZIPState::vgetparent

Borrowed parent getter restored on cleanup.

Definition at line 123 of file tif_zip.c.

Referenced by ZIPCleanup(), and ZIPVGetField().

◆ vsetparent

TIFFVSetMethod ZIPState::vsetparent

Borrowed parent setter restored on cleanup.

Definition at line 125 of file tif_zip.c.

Referenced by ZIPCleanup().

◆ zipquality

int ZIPState::zipquality

Stored quality, including rejected attempted assignments; zlib uses a cap of nine.

Definition at line 94 of file tif_zip.c.

Referenced by ZIPVGetField().


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