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

Own PixarLog companding tables predictor prefix and zlib progress. More...

Collaboration diagram for PixarLogState:
[legend]

Data Fields

TIFFPredictorState predict
 Predictor prefix, first in codec allocation.
 
z_stream stream
 Zlib stream whose internal allocation ends during cleanup.
 
tmsize_t tbuf_size
 Byte capacity of tbuf; set by decode setup and grown on demand by the encoder.
 
uint16_t * tbuf
 Owned Ext aligned uint16_t code staging, released by cleanup.
 
uint16_t stride
 Samples per interleaved pixel or one for separate data.
 
int state
 PLSTATE_INIT after dependency setup.
 
int user_datafmt
 Cached application-facing format, initially UNKNOWN.
 
int quality
 Cached zlib quality, applied at setup or active parameter update.
 
TIFFVSetMethod vgetparent
 Borrowed parent getter stored under the declared compatible method typedef.
 
TIFFVSetMethod vsetparent
 Borrowed parent setter restored during cleanup.
 
float * ToLinearF
 Owned Ext float decode table, TSIZEP1 entries.
 
uint16_t * ToLinear16
 Owned Ext clipped sixteen-bit decode table.
 
unsigned char * ToLinear8
 Owned Ext clipped eight-bit decode table.
 
uint16_t * FromLT2
 Owned Ext low-range float-to-code mapping.
 
uint16_t * From14
 Owned Ext 16384-entry lookup for input shifted right two bits.
 
uint16_t * From8
 Owned Ext 256-entry byte-to-code lookup.
 

Detailed Description

Own PixarLog companding tables predictor prefix and zlib progress.

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 825 of file tif_pixarlog.c.

Field Documentation

◆ From14

uint16_t* PixarLogState::From14

Owned Ext 16384-entry lookup for input shifted right two bits.

Definition at line 867 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogEncode(), and PixarLogMakeTables().

◆ From8

uint16_t* PixarLogState::From8

Owned Ext 256-entry byte-to-code lookup.

Definition at line 869 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogEncode(), and PixarLogMakeTables().

◆ FromLT2

uint16_t* PixarLogState::FromLT2

Owned Ext low-range float-to-code mapping.

Definition at line 865 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogEncode(), and PixarLogMakeTables().

◆ predict

TIFFPredictorState PixarLogState::predict

Predictor prefix, first in codec allocation.

Definition at line 828 of file tif_pixarlog.c.

◆ quality

int PixarLogState::quality

Cached zlib quality, applied at setup or active parameter update.

Definition at line 847 of file tif_pixarlog.c.

Referenced by PixarLogSetupEncode(), and PixarLogVGetField().

◆ state

int PixarLogState::state

PLSTATE_INIT after dependency setup.

Definition at line 841 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogClose(), PixarLogSetupDecode(), and PixarLogSetupEncode().

◆ stream

z_stream PixarLogState::stream

Zlib stream whose internal allocation ends during cleanup.

Definition at line 830 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogDecode(), PixarLogEncode(), PixarLogSetupDecode(), and PixarLogSetupEncode().

◆ stride

uint16_t PixarLogState::stride

Samples per interleaved pixel or one for separate data.

Definition at line 839 of file tif_pixarlog.c.

Referenced by PixarLogDecode(), PixarLogEncode(), PixarLogSetupDecode(), and PixarLogSetupEncode().

◆ tbuf

uint16_t* PixarLogState::tbuf

Owned Ext aligned uint16_t code staging, released by cleanup.

Definition at line 837 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogDecode(), PixarLogEncode(), and PixarLogSetupDecode().

◆ tbuf_size

tmsize_t PixarLogState::tbuf_size

Byte capacity of tbuf; set by decode setup and grown on demand by the encoder.

Definition at line 835 of file tif_pixarlog.c.

Referenced by PixarLogDecode(), PixarLogEncode(), and PixarLogSetupDecode().

◆ ToLinear16

uint16_t* PixarLogState::ToLinear16

Owned Ext clipped sixteen-bit decode table.

Definition at line 861 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogDecode(), and PixarLogMakeTables().

◆ ToLinear8

unsigned char* PixarLogState::ToLinear8

Owned Ext clipped eight-bit decode table.

Definition at line 863 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogDecode(), and PixarLogMakeTables().

◆ ToLinearF

float* PixarLogState::ToLinearF

Owned Ext float decode table, TSIZEP1 entries.

Definition at line 859 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), PixarLogDecode(), and PixarLogMakeTables().

◆ user_datafmt

int PixarLogState::user_datafmt

Cached application-facing format, initially UNKNOWN.

Definition at line 843 of file tif_pixarlog.c.

Referenced by PixarLogDecode(), PixarLogEncode(), PixarLogSetupDecode(), PixarLogSetupEncode(), and PixarLogVGetField().

◆ vgetparent

TIFFVSetMethod PixarLogState::vgetparent

Borrowed parent getter stored under the declared compatible method typedef.

Definition at line 854 of file tif_pixarlog.c.

Referenced by PixarLogCleanup(), and PixarLogVGetField().

◆ vsetparent

TIFFVSetMethod PixarLogState::vsetparent

Borrowed parent setter restored during cleanup.

Definition at line 856 of file tif_pixarlog.c.

Referenced by PixarLogCleanup().


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