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

Own old-style JPEG reconstruction tables buffers and dependency sessions. More...

Collaboration diagram for OJPEGState:
[legend]

Data Fields

TIFF * tif
 Borrowed owning TIFF handle.
 
int decoder_ok
 Latched nonzero by the first successful predecode; never cleared.
 
int error_in_raw_data_decoding
 Latched raw decode error until reset.
 
JMP_BUF exit_jmpbuf
 Active synchronous dependency error frame.
 
TIFFVGetMethod vgetparent
 Borrowed saved parent getter.
 
TIFFVSetMethod vsetparent
 Borrowed saved parent setter.
 
TIFFPrintMethod printdir
 Borrowed saved parent printer.
 
uint64_t file_size
 Cached client file extent.
 
uint32_t image_width
 Cached image width in samples.
 
uint32_t image_length
 Cached image height in rows.
 
uint32_t strile_width
 Cached strile width.
 
uint32_t strile_length
 Cached strile height.
 
uint32_t strile_length_total
 Height of reconstructed strile stream.
 
uint8_t samples_per_pixel
 Cached component count, at most three.
 
uint8_t plane_sample_offset
 First component of the selected scan/plane.
 
uint8_t samples_per_pixel_per_plane
 Components in the current scan.
 
uint64_t jpeg_interchange_format
 Cached interchange stream offset.
 
uint64_t jpeg_interchange_format_length
 Normalized interchange byte extent.
 
uint8_t jpeg_proc
 Cached JPEG process tag.
 
uint8_t subsamplingcorrect
 Nonzero during sampling-only header probing.
 
uint8_t subsamplingcorrect_done
 Nonzero after the one-shot correction attempt.
 
uint8_t subsampling_tag
 Nonzero when sampling was explicitly tagged.
 
uint8_t subsampling_hor
 Cached horizontal Y sampling factor.
 
uint8_t subsampling_ver
 Cached vertical Y sampling factor.
 
uint8_t subsampling_force_desubsampling_inside_decompression
 Nonzero requests ordinary dependency upsampling.
 
uint8_t qtable_offset_count
 Number of stored quantisation offsets.
 
uint8_t dctable_offset_count
 Number of stored DC Huffman offsets.
 
uint8_t actable_offset_count
 Number of stored AC Huffman offsets.
 
uint64_t qtable_offset [3]
 Embedded quantisation offsets, borrowed by tag getters.
 
uint64_t dctable_offset [3]
 Embedded DC Huffman offsets, borrowed by getters.
 
uint64_t actable_offset [3]
 Embedded AC Huffman offsets, borrowed by getters.
 
uint8_t * qtable [4]
 Owned Ext length-prefixed quantisation marker blobs.
 
uint8_t * dctable [4]
 Owned Ext length-prefixed DC Huffman marker blobs.
 
uint8_t * actable [4]
 Owned Ext length-prefixed AC Huffman marker blobs.
 
uint16_t restart_interval
 Cached restart MCU interval.
 
uint8_t restart_index
 Next cyclic restart marker index.
 
uint8_t sof_log
 Nonzero when frame details are cached.
 
uint8_t sof_marker_id
 Cached SOF marker type.
 
uint32_t sof_x
 Cached frame width.
 
uint32_t sof_y
 Cached frame height.
 
uint8_t sof_c [3]
 Frame component identifiers.
 
uint8_t sof_hv [3]
 Packed per-component sampling factors.
 
uint8_t sof_tq [3]
 Frame quantisation selectors.
 
uint8_t sos_cs [3]
 Scan component selectors.
 
uint8_t sos_tda [3]
 Packed scan DC/AC table selectors.
 
struct { 
 
   uint8_t   log 
 Nonzero when this scan snapshot is valid. More...
 
   OJPEGStateInBufferSource   in_buffer_source 
 Current/snapshotted interchange or strile input source. More...
 
   uint32_t   in_buffer_next_strile 
 Next/snapshotted strile input index. More...
 
   uint64_t   in_buffer_file_pos 
 Current/snapshotted next refill offset. More...
 
   uint64_t   in_buffer_file_togo 
 Current/snapshotted remaining bounded extent. More...
 
} sos_end [3] 
 Save the input position following one plane scan header.
 
uint8_t readheader_done
 Nonzero after initial header caching.
 
uint8_t writeheader_done
 Nonzero after reconstructed decoder session setup.
 
uint16_t write_cursample
 Current reconstructed separate-plane sample.
 
uint32_t write_curstrile
 Current reconstructed strile counter.
 
uint8_t libjpeg_session_active
 Nonzero while dependency context needs destruction.
 
uint8_t libjpeg_jpeg_query_style
 Zero for raw planes, one for scanlines.
 
tiff_ojpeg_error_mgr libjpeg_jpeg_error_mgr
 Embedded dependency diagnostic callbacks.
 
tiff_ojpeg_decompress_struct libjpeg_jpeg_decompress_struct
 Embedded context owning dependency session resources.
 
tiff_ojpeg_source_mgr libjpeg_jpeg_source_mgr
 Embedded source manager borrowing reconstruction chunks.
 
uint8_t subsampling_convert_log
 Nonzero after conversion geometry/storage setup.
 
uint32_t subsampling_convert_ylinelen
 Allocated Y-plane bytes per padded row.
 
uint32_t subsampling_convert_ylines
 Y rows per raw MCU group.
 
uint32_t subsampling_convert_clinelen
 Allocated chroma-plane bytes per row.
 
uint32_t subsampling_convert_clines
 Chroma rows per raw MCU group.
 
uint32_t subsampling_convert_ybuflen
 Y-plane byte capacity.
 
uint32_t subsampling_convert_cbuflen
 Each chroma-plane byte capacity.
 
uint32_t subsampling_convert_ycbcrbuflen
 Combined sample allocation byte capacity.
 
uint8_t * subsampling_convert_ycbcrbuf
 Owned Ext combined Y/Cb/Cr sample allocation.
 
uint8_t * subsampling_convert_ybuf
 Borrowed Y view into the combined allocation.
 
uint8_t * subsampling_convert_cbbuf
 Borrowed Cb view into the combined allocation.
 
uint8_t * subsampling_convert_crbuf
 Borrowed Cr view into the combined allocation.
 
uint32_t subsampling_convert_ycbcrimagelen
 Owned pointer-array entry count.
 
uint8_t ** subsampling_convert_ycbcrimage
 Owned Ext dependency plane/row pointer allocation, borrowing sample storage.
 
uint32_t subsampling_convert_clinelenout
 Output chroma samples per clump row.
 
uint32_t subsampling_convert_state
 Next chroma row in the current MCU group.
 
uint32_t bytes_per_line
 Output bytes per ordinary row or subsampling_ver-row clump unit.
 
uint32_t lines_per_strile
 Output ordinary rows or clump units per strile.
 
uint32_t in_buffer_strile_count
 Total input strile count.
 
uint8_t in_buffer_file_pos_log
 Nonzero when client position matches refill offset.
 
uint16_t in_buffer_togo
 Unread bytes in the embedded input window.
 
uint8_t * in_buffer_cur
 Borrowed cursor into in_buffer.
 
uint8_t in_buffer [OJPEG_BUFFER]
 Embedded client input window.
 
OJPEGStateOutState out_state
 Next synthetic output state.
 
uint8_t out_buffer [OJPEG_BUFFER]
 Embedded synthetic marker storage, borrowed by source manager.
 
uint8_t * skip_buffer
 Owned Ext discarded-scanline scratch allocation.
 

Detailed Description

Own old-style JPEG reconstruction tables buffers and dependency sessions.

Allocated by TIFFInitOJPEG and freed by cleanup. All parent methods/handle references and interior buffer views are borrowed; table blobs, combined samples, row pointers and skip storage use Ext allocation. Serialize access; failures can retain partial state.

Definition at line 510 of file tif_ojpeg.c.

Field Documentation

◆ actable

uint8_t* OJPEGState::actable[4]

Owned Ext length-prefixed AC Huffman marker blobs.

Definition at line 583 of file tif_ojpeg.c.

Referenced by OJPEGCleanup(), and OJPEGWriteStreamAcTable().

◆ actable_offset

uint64_t OJPEGState::actable_offset[3]

Embedded AC Huffman offsets, borrowed by getters.

Definition at line 577 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), and OJPEGVGetField().

◆ actable_offset_count

uint8_t OJPEGState::actable_offset_count

Number of stored AC Huffman offsets.

Definition at line 571 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), and OJPEGVGetField().

◆ bytes_per_line

uint32_t OJPEGState::bytes_per_line

Output bytes per ordinary row or subsampling_ver-row clump unit.

Definition at line 677 of file tif_ojpeg.c.

◆ dctable

uint8_t* OJPEGState::dctable[4]

Owned Ext length-prefixed DC Huffman marker blobs.

Definition at line 581 of file tif_ojpeg.c.

Referenced by OJPEGCleanup(), and OJPEGWriteStreamDcTable().

◆ dctable_offset

uint64_t OJPEGState::dctable_offset[3]

Embedded DC Huffman offsets, borrowed by getters.

Definition at line 575 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), and OJPEGVGetField().

◆ dctable_offset_count

uint8_t OJPEGState::dctable_offset_count

Number of stored DC Huffman offsets.

Definition at line 569 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), and OJPEGVGetField().

◆ decoder_ok

int OJPEGState::decoder_ok

Latched nonzero by the first successful predecode; never cleared.

Definition at line 517 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode().

◆ error_in_raw_data_decoding

int OJPEGState::error_in_raw_data_decoding

Latched raw decode error until reset.

Definition at line 519 of file tif_ojpeg.c.

Referenced by OJPEGPreDecodeSkipRaw().

◆ exit_jmpbuf

JMP_BUF OJPEGState::exit_jmpbuf

◆ file_size

uint64_t OJPEGState::file_size

Cached client file extent.

Definition at line 531 of file tif_ojpeg.c.

Referenced by OJPEGReadBufferFill().

◆ image_length

uint32_t OJPEGState::image_length

Cached image height in rows.

Definition at line 535 of file tif_ojpeg.c.

◆ image_width

uint32_t OJPEGState::image_width

Cached image width in samples.

Definition at line 533 of file tif_ojpeg.c.

◆ in_buffer

uint8_t OJPEGState::in_buffer[OJPEG_BUFFER]

Embedded client input window.

Definition at line 697 of file tif_ojpeg.c.

Referenced by OJPEGReadBufferFill().

◆ in_buffer_cur

uint8_t* OJPEGState::in_buffer_cur

◆ in_buffer_file_pos

uint64_t OJPEGState::in_buffer_file_pos

Current/snapshotted next refill offset.

Definition at line 616 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), OJPEGReadBufferFill(), OJPEGReadSecondarySos(), and OJPEGReadSkip().

◆ in_buffer_file_pos_log

uint8_t OJPEGState::in_buffer_file_pos_log

Nonzero when client position matches refill offset.

Definition at line 689 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), OJPEGReadBufferFill(), OJPEGReadSecondarySos(), and OJPEGReadSkip().

◆ in_buffer_file_togo

uint64_t OJPEGState::in_buffer_file_togo

Current/snapshotted remaining bounded extent.

Definition at line 618 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), OJPEGReadBufferFill(), OJPEGReadSecondarySos(), OJPEGReadSkip(), and OJPEGWriteStreamCompressed().

◆ in_buffer_next_strile

uint32_t OJPEGState::in_buffer_next_strile

Next/snapshotted strile input index.

Definition at line 614 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), OJPEGReadBufferFill(), OJPEGReadSecondarySos(), and OJPEGWriteStreamCompressed().

◆ in_buffer_source

OJPEGStateInBufferSource OJPEGState::in_buffer_source

Current/snapshotted interchange or strile input source.

Definition at line 612 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), OJPEGReadBufferFill(), OJPEGReadSecondarySos(), and OJPEGWriteStreamCompressed().

◆ in_buffer_strile_count

uint32_t OJPEGState::in_buffer_strile_count

Total input strile count.

Definition at line 685 of file tif_ojpeg.c.

Referenced by OJPEGReadBufferFill(), and OJPEGWriteStreamCompressed().

◆ in_buffer_togo

uint16_t OJPEGState::in_buffer_togo

◆ jpeg_interchange_format

uint64_t OJPEGState::jpeg_interchange_format

Cached interchange stream offset.

Definition at line 549 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), OJPEGReadBufferFill(), and OJPEGVGetField().

◆ jpeg_interchange_format_length

uint64_t OJPEGState::jpeg_interchange_format_length

Normalized interchange byte extent.

Definition at line 551 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), OJPEGReadBufferFill(), and OJPEGVGetField().

◆ jpeg_proc

uint8_t OJPEGState::jpeg_proc

Cached JPEG process tag.

Definition at line 553 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), and OJPEGVGetField().

◆ libjpeg_jpeg_decompress_struct

tiff_ojpeg_decompress_struct OJPEGState::libjpeg_jpeg_decompress_struct

Embedded context owning dependency session resources.

Definition at line 636 of file tif_ojpeg.c.

Referenced by OJPEGLibjpegSessionAbort(), and OJPEGPreDecodeSkipRaw().

◆ libjpeg_jpeg_error_mgr

tiff_ojpeg_error_mgr OJPEGState::libjpeg_jpeg_error_mgr

Embedded dependency diagnostic callbacks.

Definition at line 634 of file tif_ojpeg.c.

◆ libjpeg_jpeg_query_style

uint8_t OJPEGState::libjpeg_jpeg_query_style

Zero for raw planes, one for scanlines.

Definition at line 632 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode().

◆ libjpeg_jpeg_source_mgr

tiff_ojpeg_source_mgr OJPEGState::libjpeg_jpeg_source_mgr

Embedded source manager borrowing reconstruction chunks.

Definition at line 638 of file tif_ojpeg.c.

Referenced by OJPEGLibjpegJpegSourceMgrFillInputBuffer().

◆ libjpeg_session_active

uint8_t OJPEGState::libjpeg_session_active

Nonzero while dependency context needs destruction.

Definition at line 630 of file tif_ojpeg.c.

Referenced by OJPEGCleanup(), OJPEGLibjpegSessionAbort(), OJPEGPostDecode(), and OJPEGPreDecode().

◆ lines_per_strile

uint32_t OJPEGState::lines_per_strile

Output ordinary rows or clump units per strile.

Definition at line 679 of file tif_ojpeg.c.

Referenced by OJPEGPreDecodeSkipRaw().

◆ log

uint8_t OJPEGState::log

Nonzero when this scan snapshot is valid.

Definition at line 610 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), and OJPEGReadSecondarySos().

◆ out_buffer

uint8_t OJPEGState::out_buffer[OJPEG_BUFFER]

Embedded synthetic marker storage, borrowed by source manager.

Definition at line 701 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamDri(), OJPEGWriteStreamEoi(), OJPEGWriteStreamRst(), OJPEGWriteStreamSof(), OJPEGWriteStreamSoi(), and OJPEGWriteStreamSos().

◆ out_state

OJPEGStateOutState OJPEGState::out_state

◆ plane_sample_offset

uint8_t OJPEGState::plane_sample_offset

First component of the selected scan/plane.

Definition at line 545 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), OJPEGReadSecondarySos(), OJPEGWriteStreamSof(), and OJPEGWriteStreamSos().

◆ printdir

TIFFPrintMethod OJPEGState::printdir

Borrowed saved parent printer.

Definition at line 529 of file tif_ojpeg.c.

Referenced by OJPEGCleanup(), and OJPEGPrintDir().

◆ qtable

uint8_t* OJPEGState::qtable[4]

Owned Ext length-prefixed quantisation marker blobs.

Definition at line 579 of file tif_ojpeg.c.

Referenced by OJPEGCleanup(), and OJPEGWriteStreamQTable().

◆ qtable_offset

uint64_t OJPEGState::qtable_offset[3]

Embedded quantisation offsets, borrowed by tag getters.

Definition at line 573 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), and OJPEGVGetField().

◆ qtable_offset_count

uint8_t OJPEGState::qtable_offset_count

Number of stored quantisation offsets.

Definition at line 567 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), and OJPEGVGetField().

◆ readheader_done

uint8_t OJPEGState::readheader_done

Nonzero after initial header caching.

Definition at line 622 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode().

◆ restart_index

uint8_t OJPEGState::restart_index

Next cyclic restart marker index.

Definition at line 587 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamRst().

◆ restart_interval

uint16_t OJPEGState::restart_interval

Cached restart MCU interval.

Definition at line 585 of file tif_ojpeg.c.

Referenced by OJPEGPrintDir(), OJPEGVGetField(), and OJPEGWriteStreamDri().

◆ samples_per_pixel

uint8_t OJPEGState::samples_per_pixel

Cached component count, at most three.

Definition at line 543 of file tif_ojpeg.c.

◆ samples_per_pixel_per_plane

uint8_t OJPEGState::samples_per_pixel_per_plane

Components in the current scan.

Definition at line 547 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSof(), and OJPEGWriteStreamSos().

◆ skip_buffer

uint8_t* OJPEGState::skip_buffer

Owned Ext discarded-scanline scratch allocation.

Definition at line 703 of file tif_ojpeg.c.

Referenced by OJPEGCleanup().

◆ sof_c

uint8_t OJPEGState::sof_c[3]

Frame component identifiers.

Definition at line 597 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSof().

◆ sof_hv

uint8_t OJPEGState::sof_hv[3]

Packed per-component sampling factors.

Definition at line 599 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSof().

◆ sof_log

uint8_t OJPEGState::sof_log

Nonzero when frame details are cached.

Definition at line 589 of file tif_ojpeg.c.

◆ sof_marker_id

uint8_t OJPEGState::sof_marker_id

Cached SOF marker type.

Definition at line 591 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSof().

◆ sof_tq

uint8_t OJPEGState::sof_tq[3]

Frame quantisation selectors.

Definition at line 601 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSof().

◆ sof_x

uint32_t OJPEGState::sof_x

Cached frame width.

Definition at line 593 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSof().

◆ sof_y

uint32_t OJPEGState::sof_y

Cached frame height.

Definition at line 595 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSof().

◆ sos_cs

uint8_t OJPEGState::sos_cs[3]

Scan component selectors.

Definition at line 603 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSos().

◆ [struct]

struct { ... } OJPEGState::sos_end[3]

Save the input position following one plane scan header.

Embedded per-plane snapshots of input state after SOS.

Referenced by OJPEGPreDecode(), and OJPEGReadSecondarySos().

◆ sos_tda

uint8_t OJPEGState::sos_tda[3]

Packed scan DC/AC table selectors.

Definition at line 605 of file tif_ojpeg.c.

Referenced by OJPEGWriteStreamSos().

◆ strile_length

uint32_t OJPEGState::strile_length

Cached strile height.

Definition at line 539 of file tif_ojpeg.c.

◆ strile_length_total

uint32_t OJPEGState::strile_length_total

Height of reconstructed strile stream.

Definition at line 541 of file tif_ojpeg.c.

◆ strile_width

uint32_t OJPEGState::strile_width

Cached strile width.

Definition at line 537 of file tif_ojpeg.c.

◆ subsampling_convert_cbbuf

uint8_t* OJPEGState::subsampling_convert_cbbuf

Borrowed Cb view into the combined allocation.

Definition at line 660 of file tif_ojpeg.c.

◆ subsampling_convert_cbuflen

uint32_t OJPEGState::subsampling_convert_cbuflen

Each chroma-plane byte capacity.

Definition at line 652 of file tif_ojpeg.c.

◆ subsampling_convert_clinelen

uint32_t OJPEGState::subsampling_convert_clinelen

Allocated chroma-plane bytes per row.

Definition at line 646 of file tif_ojpeg.c.

◆ subsampling_convert_clinelenout

uint32_t OJPEGState::subsampling_convert_clinelenout

Output chroma samples per clump row.

Definition at line 671 of file tif_ojpeg.c.

◆ subsampling_convert_clines

uint32_t OJPEGState::subsampling_convert_clines

Chroma rows per raw MCU group.

Definition at line 648 of file tif_ojpeg.c.

Referenced by OJPEGPreDecodeSkipRaw().

◆ subsampling_convert_crbuf

uint8_t* OJPEGState::subsampling_convert_crbuf

Borrowed Cr view into the combined allocation.

Definition at line 662 of file tif_ojpeg.c.

◆ subsampling_convert_log

uint8_t OJPEGState::subsampling_convert_log

Nonzero after conversion geometry/storage setup.

Definition at line 640 of file tif_ojpeg.c.

◆ subsampling_convert_state

uint32_t OJPEGState::subsampling_convert_state

Next chroma row in the current MCU group.

Definition at line 673 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), and OJPEGPreDecodeSkipRaw().

◆ subsampling_convert_ybuf

uint8_t* OJPEGState::subsampling_convert_ybuf

Borrowed Y view into the combined allocation.

Definition at line 658 of file tif_ojpeg.c.

◆ subsampling_convert_ybuflen

uint32_t OJPEGState::subsampling_convert_ybuflen

Y-plane byte capacity.

Definition at line 650 of file tif_ojpeg.c.

◆ subsampling_convert_ycbcrbuf

uint8_t* OJPEGState::subsampling_convert_ycbcrbuf

Owned Ext combined Y/Cb/Cr sample allocation.

Definition at line 656 of file tif_ojpeg.c.

Referenced by OJPEGCleanup().

◆ subsampling_convert_ycbcrbuflen

uint32_t OJPEGState::subsampling_convert_ycbcrbuflen

Combined sample allocation byte capacity.

Definition at line 654 of file tif_ojpeg.c.

◆ subsampling_convert_ycbcrimage

uint8_t** OJPEGState::subsampling_convert_ycbcrimage

Owned Ext dependency plane/row pointer allocation, borrowing sample storage.

Definition at line 669 of file tif_ojpeg.c.

Referenced by OJPEGCleanup(), and OJPEGPreDecodeSkipRaw().

◆ subsampling_convert_ycbcrimagelen

uint32_t OJPEGState::subsampling_convert_ycbcrimagelen

Owned pointer-array entry count.

Definition at line 664 of file tif_ojpeg.c.

◆ subsampling_convert_ylinelen

uint32_t OJPEGState::subsampling_convert_ylinelen

Allocated Y-plane bytes per padded row.

Definition at line 642 of file tif_ojpeg.c.

◆ subsampling_convert_ylines

uint32_t OJPEGState::subsampling_convert_ylines

Y rows per raw MCU group.

Definition at line 644 of file tif_ojpeg.c.

◆ subsampling_force_desubsampling_inside_decompression

uint8_t OJPEGState::subsampling_force_desubsampling_inside_decompression

Nonzero requests ordinary dependency upsampling.

Definition at line 565 of file tif_ojpeg.c.

◆ subsampling_hor

uint8_t OJPEGState::subsampling_hor

Cached horizontal Y sampling factor.

Definition at line 561 of file tif_ojpeg.c.

Referenced by OJPEGVGetField().

◆ subsampling_tag

uint8_t OJPEGState::subsampling_tag

Nonzero when sampling was explicitly tagged.

Definition at line 559 of file tif_ojpeg.c.

◆ subsampling_ver

uint8_t OJPEGState::subsampling_ver

Cached vertical Y sampling factor.

Definition at line 563 of file tif_ojpeg.c.

Referenced by OJPEGPreDecodeSkipRaw(), and OJPEGVGetField().

◆ subsamplingcorrect

uint8_t OJPEGState::subsamplingcorrect

Nonzero during sampling-only header probing.

Definition at line 555 of file tif_ojpeg.c.

◆ subsamplingcorrect_done

uint8_t OJPEGState::subsamplingcorrect_done

Nonzero after the one-shot correction attempt.

Definition at line 557 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode(), and OJPEGVGetField().

◆ tif

TIFF* OJPEGState::tif

Borrowed owning TIFF handle.

Definition at line 513 of file tif_ojpeg.c.

Referenced by OJPEGReadBufferFill().

◆ vgetparent

TIFFVGetMethod OJPEGState::vgetparent

Borrowed saved parent getter.

Definition at line 525 of file tif_ojpeg.c.

Referenced by OJPEGCleanup(), and OJPEGVGetField().

◆ vsetparent

TIFFVSetMethod OJPEGState::vsetparent

Borrowed saved parent setter.

Definition at line 527 of file tif_ojpeg.c.

Referenced by OJPEGCleanup().

◆ write_cursample

uint16_t OJPEGState::write_cursample

Current reconstructed separate-plane sample.

Definition at line 626 of file tif_ojpeg.c.

Referenced by OJPEGPreDecode().

◆ write_curstrile

uint32_t OJPEGState::write_curstrile

Current reconstructed strile counter.

Definition at line 628 of file tif_ojpeg.c.

Referenced by OJPEGPostDecode(), and OJPEGPreDecode().

◆ writeheader_done

uint8_t OJPEGState::writeheader_done

Nonzero after reconstructed decoder session setup.

Definition at line 624 of file tif_ojpeg.c.

Referenced by OJPEGPostDecode(), and OJPEGPreDecode().


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