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

Track a bounded first-strile window for JPEG sampling inspection. More...

Collaboration diagram for JPEGFixupTagsSubsamplingData:
[legend]

Data Fields

TIFF * tif
 Borrowed handle used by marker reads and sampling correction.
 
void * buffer
 Temporary owned Ext window, freed by the outer probe.
 
uint32_t buffersize
 Allocated window bytes, normally 2048.
 
uint8_t * buffercurrentbyte
 Borrowed next-byte cursor within buffer.
 
uint32_t bufferbytesleft
 Unread buffered bytes.
 
uint64_t fileoffset
 Next unread window offset in the first strile.
 
uint64_t filebytesleft
 Remaining bounded file extent.
 
uint8_t filepositioned
 Nonzero when client position matches the refill offset.
 

Detailed Description

Track a bounded first-strile window for JPEG sampling inspection.

Temporary probe-owned buffer is freed on ordinary probe exit; all cursors borrow it and the handle must remain live. Client file position and corrected directory sampling are not rolled back.

Definition at line 1918 of file tif_jpeg.c.

Field Documentation

◆ buffer

void* JPEGFixupTagsSubsamplingData::buffer

Temporary owned Ext window, freed by the outer probe.

Definition at line 1923 of file tif_jpeg.c.

Referenced by JPEGFixupTagsSubsampling(), and JPEGFixupTagsSubsamplingReadByte().

◆ bufferbytesleft

uint32_t JPEGFixupTagsSubsamplingData::bufferbytesleft

Unread buffered bytes.

Definition at line 1929 of file tif_jpeg.c.

Referenced by JPEGFixupTagsSubsampling(), JPEGFixupTagsSubsamplingReadByte(), and JPEGFixupTagsSubsamplingSkip().

◆ buffercurrentbyte

uint8_t* JPEGFixupTagsSubsamplingData::buffercurrentbyte

Borrowed next-byte cursor within buffer.

Definition at line 1927 of file tif_jpeg.c.

Referenced by JPEGFixupTagsSubsampling(), JPEGFixupTagsSubsamplingReadByte(), and JPEGFixupTagsSubsamplingSkip().

◆ buffersize

uint32_t JPEGFixupTagsSubsamplingData::buffersize

Allocated window bytes, normally 2048.

Definition at line 1925 of file tif_jpeg.c.

Referenced by JPEGFixupTagsSubsampling(), and JPEGFixupTagsSubsamplingReadByte().

◆ filebytesleft

uint64_t JPEGFixupTagsSubsamplingData::filebytesleft

Remaining bounded file extent.

Definition at line 1933 of file tif_jpeg.c.

Referenced by JPEGFixupTagsSubsampling(), JPEGFixupTagsSubsamplingReadByte(), and JPEGFixupTagsSubsamplingSkip().

◆ fileoffset

uint64_t JPEGFixupTagsSubsamplingData::fileoffset

Next unread window offset in the first strile.

Definition at line 1931 of file tif_jpeg.c.

Referenced by JPEGFixupTagsSubsampling(), JPEGFixupTagsSubsamplingReadByte(), and JPEGFixupTagsSubsamplingSkip().

◆ filepositioned

uint8_t JPEGFixupTagsSubsamplingData::filepositioned

Nonzero when client position matches the refill offset.

Definition at line 1935 of file tif_jpeg.c.

Referenced by JPEGFixupTagsSubsampling(), JPEGFixupTagsSubsamplingReadByte(), and JPEGFixupTagsSubsamplingSkip().

◆ tif

TIFF* JPEGFixupTagsSubsamplingData::tif

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