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

Own SGILog translation pixels and selected format conversion. More...

Collaboration diagram for logLuvState:
[legend]

Data Fields

int encoder_state
 One after successful encoder setup, controlling close-time metadata changes.
 
int user_datafmt
 Cached application format, initially UNKNOWN; rejected assignments can remain cached.
 
int encode_meth
 Cached no-dither/random-dither mode; invalid attempts can remain after rejection.
 
int pixel_size
 Positive bytes per application-facing pixel after setup.
 
uint8_t * tbuf
 Owned Ext aligned translation storage, released during cleanup.
 
tmsize_t tbuflen
 Translation capacity in pixels, not bytes.
 
void(* tfunc )(LogLuvState *, uint8_t *, tmsize_t)
 Translate pixels between caller bytes and packed codec staging.
 
TIFFVSetMethod vgetparent
 Borrowed saved parent getter under the declared compatible method type.
 
TIFFVSetMethod vsetparent
 Borrowed saved parent setter restored during cleanup.
 

Detailed Description

Own SGILog translation pixels and selected format conversion.

Keep state and saved callback code live until cleanup. tbuf belongs to the codec; caller pixel buffers remain borrowed and are not retained.

Definition at line 176 of file tif_luv.c.

Field Documentation

◆ encode_meth

int logLuvState::encode_meth

Cached no-dither/random-dither mode; invalid attempts can remain after rejection.

Definition at line 192 of file tif_luv.c.

Referenced by L16fromY(), Luv24fromLuv48(), Luv24fromXYZ(), Luv32fromLuv48(), and Luv32fromXYZ().

◆ encoder_state

int logLuvState::encoder_state

One after successful encoder setup, controlling close-time metadata changes.

Definition at line 182 of file tif_luv.c.

Referenced by LogLuvClose().

◆ pixel_size

int logLuvState::pixel_size

Positive bytes per application-facing pixel after setup.

Definition at line 194 of file tif_luv.c.

Referenced by LogL16InitState(), and LogLuvInitState().

◆ tbuf

uint8_t* logLuvState::tbuf

◆ tbuflen

tmsize_t logLuvState::tbuflen

Translation capacity in pixels, not bytes.

Definition at line 201 of file tif_luv.c.

Referenced by LogL16InitState(), and LogLuvInitState().

◆ user_datafmt

int logLuvState::user_datafmt

Cached application format, initially UNKNOWN; rejected assignments can remain cached.

Definition at line 187 of file tif_luv.c.

Referenced by LogL16InitState(), LogLuvInitState(), and LogLuvVGetField().

◆ vgetparent

TIFFVSetMethod logLuvState::vgetparent

Borrowed saved parent getter under the declared compatible method type.

Definition at line 220 of file tif_luv.c.

Referenced by LogLuvCleanup(), and LogLuvVGetField().

◆ vsetparent

TIFFVSetMethod logLuvState::vsetparent

Borrowed saved parent setter restored during cleanup.

Definition at line 222 of file tif_luv.c.

Referenced by LogLuvCleanup().


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