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

Own ZSTD streams predictor prefix and output cursor. More...

Collaboration diagram for ZSTDState:
[legend]

Data Fields

TIFFPredictorState predict
 Predictor prefix, first in the codec state.
 
ZSTD_DStream * dstream
 Owned dependency decompression stream; released by ZSTD_freeDStream.
 
ZSTD_CStream * cstream
 Owned dependency compression stream; released by ZSTD_freeCStream.
 
int compression_level
 Cached level applied on the next compression-stream initialisation.
 
ZSTD_outBuffer out_buffer
 Dependency output descriptor borrowing the handle raw buffer.
 
int state
 Decode/encode initialisation flags; switching modes releases the old stream.
 
TIFFVGetMethod vgetparent
 Borrowed parent tag getter restored during cleanup.
 
TIFFVSetMethod vsetparent
 Borrowed parent tag setter restored during cleanup.
 

Detailed Description

Own ZSTD streams predictor prefix and output cursor.

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 55 of file tif_zstd.c.

Field Documentation

◆ compression_level

int ZSTDState::compression_level

Cached level applied on the next compression-stream initialisation.

Definition at line 72 of file tif_zstd.c.

Referenced by ZSTDVGetField().

◆ cstream

ZSTD_CStream* ZSTDState::cstream

Owned dependency compression stream; released by ZSTD_freeCStream.

Definition at line 67 of file tif_zstd.c.

Referenced by ZSTDCleanup(), and ZSTDSetupDecode().

◆ dstream

ZSTD_DStream* ZSTDState::dstream

Owned dependency decompression stream; released by ZSTD_freeDStream.

Definition at line 63 of file tif_zstd.c.

Referenced by ZSTDCleanup(), and ZSTDSetupEncode().

◆ out_buffer

ZSTD_outBuffer ZSTDState::out_buffer

Dependency output descriptor borrowing the handle raw buffer.

Definition at line 74 of file tif_zstd.c.

◆ predict

TIFFPredictorState ZSTDState::predict

Predictor prefix, first in the codec state.

Definition at line 58 of file tif_zstd.c.

◆ state

int ZSTDState::state

Decode/encode initialisation flags; switching modes releases the old stream.

Definition at line 79 of file tif_zstd.c.

Referenced by ZSTDSetupDecode(), and ZSTDSetupEncode().

◆ vgetparent

TIFFVGetMethod ZSTDState::vgetparent

Borrowed parent tag getter restored during cleanup.

Definition at line 84 of file tif_zstd.c.

Referenced by ZSTDCleanup(), and ZSTDVGetField().

◆ vsetparent

TIFFVSetMethod ZSTDState::vsetparent

Borrowed parent tag setter restored during cleanup.

Definition at line 86 of file tif_zstd.c.

Referenced by ZSTDCleanup().


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