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

Preserve ABI-independent JPEG options and saved parent hooks. More...

Collaboration diagram for JPEGOtherSettings:
[legend]

Data Fields

TIFFVGetMethod vgetparent
 Borrowed parent getter restored during cleanup.
 
TIFFVSetMethod vsetparent
 Borrowed parent setter restored during cleanup.
 
TIFFPrintMethod printdir
 Borrowed optional parent printer.
 
TIFFStripMethod defsparent
 Borrowed parent strip-size recommender.
 
TIFFTileMethod deftparent
 Borrowed parent tile-size recommender.
 
void * jpegtables
 Owned Ext JPEG tables or placeholder; replaced by table building/tag assignment and freed on cleanup.
 
uint32_t jpegtables_length
 Table byte extent, temporarily allocation capacity during generation.
 
int jpegquality
 Cached dependency compression quality, default 75.
 
int jpegcolormode
 Cached raw/RGB colour-conversion policy.
 
int jpegtablesmode
 Cached quantisation/Huffman table emission mask.
 
int ycbcrsampling_fetched
 Set when YCbCrSubsampling is assigned through the tag setter (even if the parent rejects it); suppresses the first-strile sampling probe.
 
int max_allowed_scan_number
 Progressive scan threshold set at decompression start.
 
int has_warned_about_progressive_mode
 Latch suppressing repeated progressive-mode warnings.
 

Detailed Description

Preserve ABI-independent JPEG options and saved parent hooks.

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 60 of file tif_jpeg.c.

Field Documentation

◆ defsparent

TIFFStripMethod JPEGOtherSettings::defsparent

Borrowed parent strip-size recommender.

Definition at line 69 of file tif_jpeg.c.

Referenced by JPEGDefaultStripSize(), and TIFFInitJPEG().

◆ deftparent

TIFFTileMethod JPEGOtherSettings::deftparent

Borrowed parent tile-size recommender.

Definition at line 71 of file tif_jpeg.c.

Referenced by JPEGDefaultTileSize(), and TIFFInitJPEG().

◆ has_warned_about_progressive_mode

int JPEGOtherSettings::has_warned_about_progressive_mode

Latch suppressing repeated progressive-mode warnings.

Definition at line 98 of file tif_jpeg.c.

Referenced by JPEGPreDecode().

◆ jpegcolormode

int JPEGOtherSettings::jpegcolormode

Cached raw/RGB colour-conversion policy.

Definition at line 86 of file tif_jpeg.c.

Referenced by JPEGPreDecode(), JPEGPreEncode(), JPEGResetUpsampled(), JPEGSetupEncode(), JPEGVGetField(), JPEGVSetField(), and TIFFInitJPEGCommon().

◆ jpegquality

int JPEGOtherSettings::jpegquality

Cached dependency compression quality, default 75.

Definition at line 84 of file tif_jpeg.c.

Referenced by JPEGPreEncode(), JPEGVGetField(), JPEGVSetField(), prepare_JPEGTables(), and TIFFInitJPEGCommon().

◆ jpegtables

void* JPEGOtherSettings::jpegtables

Owned Ext JPEG tables or placeholder; replaced by table building/tag assignment and freed on cleanup.

Definition at line 77 of file tif_jpeg.c.

Referenced by JPEGCleanup(), JPEGSetupEncode(), JPEGVGetField(), JPEGVSetField(), tables_empty_output_buffer(), tables_init_destination(), tables_init_source(), TIFFInitJPEG(), TIFFInitJPEGCommon(), and TIFFjpeg_tables_dest().

◆ jpegtables_length

uint32_t JPEGOtherSettings::jpegtables_length

◆ jpegtablesmode

int JPEGOtherSettings::jpegtablesmode

Cached quantisation/Huffman table emission mask.

Definition at line 88 of file tif_jpeg.c.

Referenced by JPEGPreEncode(), JPEGSetupEncode(), JPEGVGetField(), JPEGVSetField(), prepare_JPEGTables(), and TIFFInitJPEGCommon().

◆ max_allowed_scan_number

int JPEGOtherSettings::max_allowed_scan_number

Progressive scan threshold set at decompression start.

Definition at line 96 of file tif_jpeg.c.

Referenced by TIFFjpeg_progress_monitor(), and TIFFjpeg_start_decompress().

◆ printdir

TIFFPrintMethod JPEGOtherSettings::printdir

Borrowed optional parent printer.

Definition at line 67 of file tif_jpeg.c.

Referenced by JPEGCleanup(), JPEGPrintDir(), and TIFFInitJPEG().

◆ vgetparent

TIFFVGetMethod JPEGOtherSettings::vgetparent

Borrowed parent getter restored during cleanup.

Definition at line 63 of file tif_jpeg.c.

Referenced by JPEGCleanup(), JPEGVGetField(), and TIFFInitJPEG().

◆ vsetparent

TIFFVSetMethod JPEGOtherSettings::vsetparent

Borrowed parent setter restored during cleanup.

Definition at line 65 of file tif_jpeg.c.

Referenced by JPEGCleanup(), JPEGVSetField(), and TIFFInitJPEG().

◆ ycbcrsampling_fetched

int JPEGOtherSettings::ycbcrsampling_fetched

Set when YCbCrSubsampling is assigned through the tag setter (even if the parent rejects it); suppresses the first-strile sampling probe.

Definition at line 94 of file tif_jpeg.c.

Referenced by JPEGFixupTags(), JPEGVSetField(), and TIFFInitJPEGCommon().


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