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

Hold private state for one open TIFF library instance. More...

#include <tiffiop.h>

Collaboration diagram for tiff:
[legend]

Data Fields

char * tif_name
 Current filename pointer; may refer to inline or client-supplied storage.
 
int tif_fd
 File-descriptor metadata; client I/O still uses tif_clientdata.
 
int tif_mode
 Current access mode using the O_* constants.
 
uint32_t tif_flags
 Bitmask combining the TIFF_* handle-state flags declared below.
 
uint64_t tif_diroff
 Current directory byte offset, or zero for an unlinked in-memory IFD.
 
uint64_t tif_nextdiroff
 Next directory byte offset from the current chain link.
 
uint64_t tif_lastdiroff
 Byte offset of the last directory written so far.
 
TIFFHashSet * tif_map_dir_offset_to_number
 Handle-managed directory-offset-to-index lookup map.
 
TIFFHashSet * tif_map_dir_number_to_offset
 Handle-managed directory-index-to-offset lookup map.
 
int tif_setdirectory_force_absolute
 Nonzero to force absolute rather than relative directory stepping.
 
TIFFDirectory tif_dir
 Inline representation of the current image directory.
 
TIFFDirectory tif_customdir
 Unused legacy member; custom directories are read into tif_dir.
 
TIFFHeaderUnion tif_header
 Inline decoded classic TIFF or BigTIFF file header.
 
uint16_t tif_header_size
 File-header length in bytes for the selected format.
 
tdir_t tif_curdir
 Track the current or last-written directory index.
 
tdir_t tif_curdircount
 Cache the number of main IFDs in the file.
 
uint64_t tif_curoff
 Tracked current file byte offset for read/write operations.
 
uint64_t tif_lastvalidoff
 Last byte-offset boundary permitted for rewriting strip data in place.
 
uint64_t tif_dataoff
 Byte offset used when placing directory data in the file.
 
uint16_t tif_nsubifd
 Number of remaining SubIFD links to write.
 
uint64_t tif_subifdoff
 File byte offset at which the next SubIFD link is patched.
 
int tif_decodestatus
 Nonzero unless the selected scheme is a known but unconfigured codec; not a setup result.
 
TIFFBoolMethod tif_fixuptags
 Codec callback for directory-dependent tag corrections.
 
TIFFBoolMethod tif_setupdecode
 Codec setup callback run before predecode.
 
TIFFPreMethod tif_predecode
 Codec callback preparing a row, strip, or tile decode.
 
TIFFBoolMethod tif_setupencode
 Codec setup callback run before preencode.
 
int tif_encodestatus
 Nonzero unless the selected scheme is a known but unconfigured codec; never read.
 
TIFFPreMethod tif_preencode
 Codec callback preparing a row, strip, or tile encode.
 
TIFFBoolMethod tif_postencode
 Codec callback completing buffered encoding.
 
TIFFCodeMethod tif_decoderow
 Codec callback decoding a scanline.
 
TIFFCodeMethod tif_encoderow
 Codec callback encoding a scanline.
 
TIFFCodeMethod tif_decodestrip
 Codec callback decoding strip data.
 
TIFFCodeMethod tif_encodestrip
 Codec callback encoding strip data.
 
TIFFCodeMethod tif_decodetile
 Codec callback decoding tile data.
 
TIFFCodeMethod tif_encodetile
 Codec callback encoding tile data.
 
TIFFVoidMethod tif_close
 Codec close callback; distinct from the client I/O close callback.
 
TIFFSeekMethod tif_seek
 Codec callback advancing within a strip.
 
TIFFVoidMethod tif_cleanup
 Codec callback releasing codec-private state.
 
TIFFStripMethod tif_defstripsize
 Codec callback computing or constraining a default strip size.
 
TIFFTileMethod tif_deftilesize
 Codec callback computing or constraining default tile dimensions.
 
TIFFGetMaxCompressionRatioMethod tif_getmaxcompressionratio
 Codec callback returning its maximum compression ratio.
 
uint8_t * tif_data
 Codec-private storage; allocation and cleanup follow the selected codec.
 
uint8_t * tif_rawdata
 Raw buffer; ownership/mapping follow TIFF_MYBUFFER and TIFF_BUFFERMMAP.
 
tmsize_t tif_rawdatasize
 Raw-buffer capacity in bytes; kept in step with tif_rawdata, including zero whenever tif_rawdata is NULL.
 
tmsize_t tif_rawdataoff
 Byte offset of the raw-buffer window within the strip.
 
tmsize_t tif_rawdataloaded
 Number of bytes loaded into the raw-buffer window.
 
uint8_t * tif_rawcp
 Borrowed current-position pointer into the raw buffer.
 
tmsize_t tif_rawcc
 Raw-buffer byte count interpreted according to read/write state.
 
uint8_t * tif_base
 Mapped-file base provided by tif_mapproc; released through tif_unmapproc by TIFFCleanup() only while TIFF_MAPPED is set, so clearing that flag (as TIFFInitJBIG() does) leaves the view unreleased.
 
tmsize_t tif_size
 Mapped-file region length in bytes.
 
TIFFMapFileProc tif_mapproc
 Client callback providing a mapped-file view.
 
TIFFUnmapFileProc tif_unmapproc
 Client callback releasing a mapped-file view.
 
thandle_t tif_clientdata
 Client I/O context passed unchanged to the I/O callbacks.
 
TIFFReadWriteProc tif_readproc
 Client read callback.
 
TIFFReadWriteProc tif_writeproc
 Client write callback.
 
TIFFSeekProc tif_seekproc
 Client seek callback.
 
TIFFCloseProc tif_closeproc
 Client I/O close callback.
 
TIFFSizeProc tif_sizeproc
 Client file-size callback.
 
TIFFPostMethod tif_postdecode
 Callback transforming decoded data, for example by byte swapping.
 
TIFFField ** tif_fields
 Owned sorted array of field pointers; descriptors have mixed ownership.
 
size_t tif_nfields
 Number of entries in tif_fields.
 
const TIFFField * tif_foundfield
 Borrowed cached field descriptor; valid only while that descriptor lives.
 
TIFFTagMethods tif_tagmethods
 Inline table of directory field and print callbacks.
 
TIFFClientInfoLink * tif_clientinfo
 Head of the owned named-association list; payloads remain borrowed.
 
TIFFFieldArray * tif_fieldscompat
 Owned array of legacy field-registration batches.
 
size_t tif_nfieldscompat
 Number of entries in tif_fieldscompat.
 
TIFFErrorHandlerExtR tif_errorhandler
 Per-handle error callback, or NULL for the default handling path.
 
void * tif_errorhandler_user_data
 Borrowed context passed to tif_errorhandler.
 
TIFFErrorHandlerExtR tif_warnhandler
 Per-handle warning callback, or NULL for the default handling path.
 
void * tif_warnhandler_user_data
 Borrowed context passed to tif_warnhandler.
 
tmsize_t tif_max_single_mem_alloc
 Single-allocation byte limit; zero means unlimited.
 
tmsize_t tif_max_cumulated_mem_alloc
 Cumulative tracked-allocation byte limit; zero means unlimited.
 
tmsize_t tif_cur_cumulated_mem_alloc
 Current tracked allocation total in bytes.
 
int tif_warn_about_unknown_tags
 Nonzero to emit warnings for unknown tags.
 

Detailed Description

Hold private state for one open TIFF library instance.

Applications see only the opaque TIFF typedef. This layout is private and must not be used as an external ABI. Mutable state belongs to the handle; simultaneous operations on the same handle require external coordination.

TIFFCleanup() releases handle-managed directory data, field tables, client-info nodes, owned raw buffers, and the mapped-file view while TIFF_MAPPED is still set, then invalidates the handle. TIFFClose() also invokes the client close callback. Client payloads and callback contexts remain client-owned. Codec state and callbacks follow the codec module's lifecycle; ownership cannot be inferred from pointer type alone.

Pointers into raw buffers, field tables, and directory storage may be invalidated by operations that replace that storage, not only by close.

Definition at line 388 of file tiffiop.h.

Field Documentation

◆ tif_base

uint8_t* tiff::tif_base

Mapped-file base provided by tif_mapproc; released through tif_unmapproc by TIFFCleanup() only while TIFF_MAPPED is set, so clearing that flag (as TIFFInitJBIG() does) leaves the view unreleased.

Definition at line 703 of file tiffiop.h.

Referenced by TIFFAdvanceDirectory(), TIFFCleanup(), TIFFFetchDirectory(), TIFFFillStrip(), TIFFFillTile(), TIFFReadDirEntryData(), TIFFReadRawStrip1(), and TIFFReadRawTile1().

◆ tif_cleanup

TIFFVoidMethod tiff::tif_cleanup

◆ tif_clientdata

thandle_t tiff::tif_clientdata

Client I/O context passed unchanged to the I/O callbacks.

Definition at line 712 of file tiffiop.h.

Referenced by TIFFClientdata(), TIFFClose(), TIFFErrorExtR(), TIFFSetClientdata(), and TIFFWarningExtR().

◆ tif_clientinfo

TIFFClientInfoLink* tiff::tif_clientinfo

Head of the owned named-association list; payloads remain borrowed.

Definition at line 747 of file tiffiop.h.

Referenced by TIFFCleanup(), TIFFGetClientInfo(), and TIFFSetClientInfo().

◆ tif_close

TIFFVoidMethod tiff::tif_close

Codec close callback; distinct from the client I/O close callback.

Definition at line 657 of file tiffiop.h.

Referenced by _TIFFSetDefaultCompressionState(), TIFFInitPixarLog(), TIFFInitSGILog(), and TIFFWriteDirectorySec().

◆ tif_closeproc

TIFFCloseProc tiff::tif_closeproc

Client I/O close callback.

Definition at line 720 of file tiffiop.h.

Referenced by TIFFClose(), and TIFFGetCloseProc().

◆ tif_cur_cumulated_mem_alloc

tmsize_t tiff::tif_cur_cumulated_mem_alloc

Current tracked allocation total in bytes.

Definition at line 775 of file tiffiop.h.

Referenced by _TIFFcallocExt(), _TIFFEmitErrorAboveMaxCumulatedMemAlloc(), _TIFFfreeExt(), _TIFFmallocExt(), _TIFFreallocExt(), and TIFFCleanup().

◆ tif_curdir

tdir_t tiff::tif_curdir

Track the current or last-written directory index.

There are IFDs in the file and an "active" IFD in memory, from which fields are "set" and "get". tif_curdir is set to: a) TIFF_NON_EXISTENT_DIR_NUMBER if there is no IFD in the file or the state is unknown, or the last read (i.e. TIFFFetchDirectory()) failed, or a custom directory was written. b) IFD index of last IFD written in the file. In this case the active IFD is a new (empty) one and tif_diroff is zero. If writing fails, tif_curdir is not changed. c) IFD index of IFD read from file into memory (=active IFD), even if IFD is corrupt and TIFFReadDirectory() returns 0. Then tif_diroff contains the offset of the IFD in the file. d) IFD index 0, whenever a custom directory or an unchained SubIFD was read.

Definition at line 599 of file tiffiop.h.

Referenced by TIFFCreateCustomDirectory(), TIFFCurrentDirectory(), TIFFReadDirectory(), TIFFSetDirectory(), TIFFSetSubDirectory(), TIFFUnlinkDirectory(), and TIFFWriteDirectorySec().

◆ tif_curdircount

tdir_t tiff::tif_curdircount

Cache the number of main IFDs in the file.

  • TIFF_NON_EXISTENT_DIR_NUMBER means 'dont know number of IFDs'.
  • 0 means 'empty file opened for writing, but no IFD written yet'

Definition at line 604 of file tiffiop.h.

Referenced by TIFFLinkDirectory(), TIFFNumberOfDirectories(), TIFFUnlinkDirectory(), and TIFFWriteDirectorySec().

◆ tif_curoff

uint64_t tiff::tif_curoff

◆ tif_customdir

TIFFDirectory tiff::tif_customdir

Unused legacy member; custom directories are read into tif_dir.

Definition at line 576 of file tiffiop.h.

◆ tif_data

uint8_t* tiff::tif_data

Codec-private storage; allocation and cleanup follow the selected codec.

Definition at line 675 of file tiffiop.h.

Referenced by jpeg_encap_unwind(), JPEGCleanup(), LERCCleanup(), LogLuvCleanup(), LogLuvClose(), LogLuvVGetField(), LZMACleanup(), LZWCleanup(), LZWSetupDecode(), OJPEGCleanup(), OJPEGDecode(), OJPEGDecodeRaw(), OJPEGDecodeScanlines(), OJPEGLibjpegJpegSourceMgrFillInputBuffer(), OJPEGLibjpegSessionAbort(), OJPEGPostDecode(), OJPEGPreDecode(), OJPEGPreDecodeSkipRaw(), OJPEGPreDecodeSkipScanlines(), OJPEGPrintDir(), OJPEGReadHeaderInfo(), OJPEGReadHeaderInfoSec(), OJPEGReadHeaderInfoSecStreamDht(), OJPEGReadHeaderInfoSecStreamDqt(), OJPEGReadHeaderInfoSecStreamDri(), OJPEGReadHeaderInfoSecStreamSof(), OJPEGReadHeaderInfoSecStreamSos(), OJPEGReadHeaderInfoSecTablesAcTable(), OJPEGReadHeaderInfoSecTablesDcTable(), OJPEGReadHeaderInfoSecTablesQTable(), OJPEGReadSecondarySos(), OJPEGSubsamplingCorrect(), OJPEGVGetField(), OJPEGVSetField(), OJPEGWriteHeaderInfo(), OJPEGWriteStream(), OJPEGWriteStreamAcTable(), OJPEGWriteStreamCompressed(), OJPEGWriteStreamDcTable(), OJPEGWriteStreamDri(), OJPEGWriteStreamEoi(), OJPEGWriteStreamQTable(), OJPEGWriteStreamRst(), OJPEGWriteStreamSof(), OJPEGWriteStreamSoi(), OJPEGWriteStreamSos(), PackBitsEncodeChunk(), PackBitsPostEncode(), PackBitsPreEncode(), PixarLogCleanup(), PixarLogClose(), PixarLogVGetField(), PixarLogVSetField(), TIFFInitJPEG(), TIFFInitLERC(), TIFFInitLZMA(), TIFFInitLZW(), TIFFInitOJPEG(), TIFFInitPixarLog(), TIFFInitSGILog(), TIFFInitWebP(), TIFFInitZIP(), TIFFInitZSTD(), TIFFVGetFieldDefaulted(), TWebPCleanup(), ZIPCleanup(), and ZSTDCleanup().

◆ tif_dataoff

uint64_t tiff::tif_dataoff

Byte offset used when placing directory data in the file.

Definition at line 613 of file tiffiop.h.

Referenced by TIFFWriteDirectorySec(), TIFFWriteDirectoryTagData(), and TIFFWriteDirectoryTagSubifd().

◆ tif_decoderow

TIFFCodeMethod tiff::tif_decoderow

◆ tif_decodestatus

int tiff::tif_decodestatus

Nonzero unless the selected scheme is a known but unconfigured codec; not a setup result.

Definition at line 624 of file tiffiop.h.

Referenced by _TIFFSetDefaultCompressionState(), NotConfigured(), and TIFFRGBAImageOK().

◆ tif_decodestrip

TIFFCodeMethod tiff::tif_decodestrip

◆ tif_decodetile

TIFFCodeMethod tiff::tif_decodetile

◆ tif_defstripsize

TIFFStripMethod tiff::tif_defstripsize

Codec callback computing or constraining a default strip size.

Definition at line 663 of file tiffiop.h.

Referenced by _TIFFSetDefaultCompressionState(), TIFFDefaultStripSize(), TIFFInitJPEG(), and TIFFInitJPEGCommon().

◆ tif_deftilesize

TIFFTileMethod tiff::tif_deftilesize

Codec callback computing or constraining default tile dimensions.

Definition at line 667 of file tiffiop.h.

Referenced by _TIFFSetDefaultCompressionState(), TIFFDefaultTileSize(), TIFFInitJPEG(), and TIFFInitJPEGCommon().

◆ tif_dir

TIFFDirectory tiff::tif_dir

Inline representation of the current image directory.

Definition at line 572 of file tiffiop.h.

Referenced by _notConfigured(), _TIFFCheckFieldIsValidForCodec(), _TIFFComputeTileExt(), _TIFFFetchStrileValue(), _TIFFFillStrilesInternal(), _TIFFGetStrileOffsetOrByteCountValue(), _TIFFPartialReadStripArray(), _TIFFReadEncodedTileAndAllocBuffer(), _TIFFReserveLargeEnoughWriteBuffer(), _TIFFRewriteField(), _TIFFStrileSize64(), _TIFFVGetField(), _TIFFVSetField(), _WriteAsType(), allocChoppedUpStripArrays(), ByteCountLooksBad(), CalcFinalIFDdatasizeReading(), cancelColorMap(), cancelTransferFunction(), checkcmap(), ChopUpSingleUncompressedStrip(), cvtcmap(), DumpModeDecode(), DumpModeSeek(), EstimateStripByteCounts(), EvaluateIFDdatasizeReading(), EvaluateIFDdatasizeWrite(), fpAcc(), fpDiff(), GetLercDataType(), JBIGDecode(), JBIGEncode(), JBIGOutputBie(), JPEGComputeStrileWidthHeightBytesPerLine(), JPEGDecode(), JPEGDecodeRaw(), JPEGDefaultStripSize(), JPEGDefaultTileSize(), JPEGEncode(), JPEGEncodeRaw(), JPEGFixupTags(), JPEGFixupTagsSubsamplingSec(), JPEGGetMaxCompressionRatio(), JPEGPreDecode(), JPEGPreEncode(), JPEGResetUpsampled(), JPEGSetupDecode(), JPEGSetupEncode(), LERCPostEncode(), LERCPreDecode(), LogL16Decode(), LogL16InitState(), LogLuvClose(), LogLuvDecode24(), LogLuvDecode32(), LogLuvInitState(), LogLuvSetupDecode(), LogLuvSetupEncode(), LogLuvVSetField(), LZMADecode(), LZMAEncode(), LZWDecode(), LZWDecodeCompat(), NeXTDecode(), NeXTPreDecode(), OJPEGPostDecode(), OJPEGPreDecode(), OJPEGReadHeaderInfo(), OJPEGReadHeaderInfoSec(), OJPEGSubsamplingCorrect(), OJPEGVSetField(), PackBitsDecode(), PixarLogClose(), PixarLogDecode(), PixarLogEncode(), PixarLogSetupDecode(), PixarLogSetupEncode(), PixarLogVSetField(), PredictorSetup(), PredictorSetupDecode(), PredictorSetupEncode(), setColorMap(), setExtraSamples(), setTransferFunction(), SetupBuffers(), ThunderDecode(), ThunderDecodeRow(), ThunderSetupDecode(), TIFFAppendToStrip(), TIFFCheckpointDirectory(), TIFFCheckRead(), TIFFCheckTile(), TIFFComputeStrip(), TIFFCreateDirectory(), TIFFCurrentRow(), TIFFCurrentStrip(), TIFFCurrentTile(), TIFFDefaultDirectory(), TIFFDeferStrileArrayWriting(), TIFFFillStrip(), TIFFFillStripPartial(), TIFFFillTile(), TIFFFlushData1(), TIFFForceStrileArrayWriting(), TIFFFreeDirectory(), TIFFGetStrileByteCountWithErr(), TIFFGetStrileOffsetWithErr(), TIFFGetTagListCount(), TIFFGetTagListEntry(), TIFFGrowStrips(), TIFFInitLZMA(), TIFFJPEGIsFullStripRequired(), TIFFLinkDirectory(), TIFFNoDecode(), TIFFNoEncode(), TIFFNumberOfStrips(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFRasterScanlineSize64(), TIFFReadAndRealloc(), TIFFReadBufferSetup(), TIFFReadCustomDirectory(), TIFFReadDirectory(), TIFFReadDirEntryPersampleShort(), TIFFReadEncodedStrip(), TIFFReadEncodedStripGetStripSize(), TIFFReadEncodedTile(), TIFFReadFromUserBuffer(), TIFFReadRawStrip(), TIFFReadRawStrip1(), TIFFReadRawStripOrTile2(), TIFFReadRawTile(), TIFFReadRawTile1(), TIFFReadScanline(), TIFFRGBAImageBegin(), TIFFRGBAImageOK(), TIFFScanlineSize64(), TIFFSeek(), TIFFSetSubDirectory(), TIFFSetupStrips(), TIFFStartStrip(), TIFFStartTile(), TIFFStripSize64(), TIFFTileRowSize64(), TIFFTileSize64(), TIFFUnsetField(), TIFFVGetFieldDefaulted(), TIFFWriteBufferSetup(), TIFFWriteCheck(), TIFFWriteDirectorySec(), TIFFWriteDirectoryTagCheckedRational(), TIFFWriteDirectoryTagColormap(), TIFFWriteDirectoryTagLongLong8Array(), TIFFWriteDirectoryTagSampleformatArray(), TIFFWriteDirectoryTagShortPerSample(), TIFFWriteDirectoryTagSubifd(), TIFFWriteDirectoryTagTransferfunction(), TIFFWriteEncodedStrip(), TIFFWriteEncodedTile(), TIFFWriteRawStrip(), TIFFWriteRawTile(), TIFFWriteScanline(), TryChopUpUncompressedBigTiff(), TWebPDecode(), TWebPFixupTags(), TWebPGetMaxCompressionRatio(), TWebPGetStrileDimensions(), TWebPSetupDecode(), TWebPSetupEncode(), ZIPDecode(), ZIPEncode(), and ZSTDDecode().

◆ tif_diroff

uint64_t tiff::tif_diroff

◆ tif_encoderow

TIFFCodeMethod tiff::tif_encoderow

◆ tif_encodestatus

int tiff::tif_encodestatus

Nonzero unless the selected scheme is a known but unconfigured codec; never read.

Definition at line 637 of file tiffiop.h.

Referenced by _TIFFSetDefaultCompressionState(), and NotConfigured().

◆ tif_encodestrip

TIFFCodeMethod tiff::tif_encodestrip

◆ tif_encodetile

TIFFCodeMethod tiff::tif_encodetile

◆ tif_errorhandler

TIFFErrorHandlerExtR tiff::tif_errorhandler

Per-handle error callback, or NULL for the default handling path.

Definition at line 758 of file tiffiop.h.

Referenced by TIFFErrorExtR().

◆ tif_errorhandler_user_data

void* tiff::tif_errorhandler_user_data

Borrowed context passed to tif_errorhandler.

Definition at line 760 of file tiffiop.h.

Referenced by TIFFErrorExtR().

◆ tif_fd

int tiff::tif_fd

File-descriptor metadata; client I/O still uses tif_clientdata.

Definition at line 398 of file tiffiop.h.

Referenced by TIFFFdOpenExt(), TIFFFdOpenExt(), TIFFFileno(), and TIFFSetFileno().

◆ tif_fields

TIFFField** tiff::tif_fields

◆ tif_fieldscompat

TIFFFieldArray* tiff::tif_fieldscompat

Owned array of legacy field-registration batches.

Definition at line 751 of file tiffiop.h.

Referenced by TIFFCleanup(), TIFFDefaultDirectory(), and TIFFMergeFieldInfo().

◆ tif_fixuptags

TIFFBoolMethod tiff::tif_fixuptags

◆ tif_flags

uint32_t tiff::tif_flags

Bitmask combining the TIFF_* handle-state flags declared below.

Definition at line 404 of file tiffiop.h.

Referenced by _TIFFFillStrilesInternal(), _TIFFGetStrileOffsetOrByteCountValue(), _TIFFPartialReadStripArray(), _TIFFReadDirEntryCheckedRational(), _TIFFRewriteField(), _TIFFSetDefaultCompressionState(), _TIFFVGetField(), _TIFFVSetField(), allocChoppedUpStripArrays(), CalcFinalIFDdatasizeReading(), EstimateStripByteCounts(), EvaluateIFDdatasizeReading(), EvaluateIFDdatasizeWrite(), JPEGResetUpsampled(), JPEGSetupEncode(), JPEGVSetField(), LogLuvVSetField(), OJPEGVSetField(), OkToChangeTag(), PixarLogDecode(), PredictorSetupDecode(), PredictorSetupEncode(), PredictorVSetField(), TIFFAdvanceDirectory(), TIFFAppendToStrip(), TIFFCheckRead(), TIFFCleanup(), TIFFDefaultDirectory(), TIFFFetchDirectory(), TIFFFetchNormalTag(), TIFFFetchSubjectDistance(), TIFFFillStrip(), TIFFFillStripPartial(), TIFFFillTile(), TIFFFlush(), TIFFFlushData(), TIFFFlushData1(), TIFFForceStrileArrayWriting(), TIFFGrowStrips(), TIFFInitJBIG(), TIFFInitJPEGCommon(), TIFFInitOJPEG(), TIFFIsBigTIFF(), TIFFIsByteSwapped(), TIFFLinkDirectory(), TIFFNumberOfDirectories(), TIFFPrintDirectory(), TIFFReadAndRealloc(), TIFFReadBufferSetup(), TIFFReadDirectory(), TIFFReadDirEntryArrayWithLimit(), TIFFReadDirEntryByteArray(), TIFFReadDirEntryCheckedDouble(), TIFFReadDirEntryCheckedFloat(), TIFFReadDirEntryCheckedLong(), TIFFReadDirEntryCheckedLong8(), TIFFReadDirEntryCheckedShort(), TIFFReadDirEntryCheckedSlong(), TIFFReadDirEntryCheckedSlong8(), TIFFReadDirEntryCheckedSrational(), TIFFReadDirEntryCheckedSshort(), TIFFReadDirEntryDoubleArray(), TIFFReadDirEntryFloatArray(), TIFFReadDirEntryIfd8Array(), TIFFReadDirEntryLong8ArrayWithLimit(), TIFFReadDirEntryLongArray(), TIFFReadDirEntrySbyteArray(), TIFFReadDirEntryShortArray(), TIFFReadDirEntrySlong8Array(), TIFFReadDirEntrySlongArray(), TIFFReadDirEntrySshortArray(), TIFFReadEncodedStrip(), TIFFReadEncodedTile(), TIFFReadFromUserBuffer(), TIFFReadRawStrip(), TIFFReadRawStrip1(), TIFFReadRawStripOrTile2(), TIFFReadRawTile(), TIFFReadRawTile1(), TIFFRewriteDirectorySec(), TIFFSetDirectory(), TIFFSetupStrips(), TIFFStartStrip(), TIFFStartTile(), TIFFUnlinkDirectory(), TIFFUnsetField(), TIFFWriteBufferSetup(), TIFFWriteCheck(), TIFFWriteDirectorySec(), TIFFWriteDirectoryTagCheckedDoubleArray(), TIFFWriteDirectoryTagCheckedFloatArray(), TIFFWriteDirectoryTagCheckedIfd8Array(), TIFFWriteDirectoryTagCheckedIfdArray(), TIFFWriteDirectoryTagCheckedLong(), TIFFWriteDirectoryTagCheckedLong8Array(), TIFFWriteDirectoryTagCheckedLongArray(), TIFFWriteDirectoryTagCheckedRational(), TIFFWriteDirectoryTagCheckedRationalArray(), TIFFWriteDirectoryTagCheckedRationalDoubleArray(), TIFFWriteDirectoryTagCheckedShort(), TIFFWriteDirectoryTagCheckedShortArray(), TIFFWriteDirectoryTagCheckedSlong8Array(), TIFFWriteDirectoryTagCheckedSlongArray(), TIFFWriteDirectoryTagCheckedSrationalArray(), TIFFWriteDirectoryTagCheckedSrationalDoubleArray(), TIFFWriteDirectoryTagCheckedSshortArray(), TIFFWriteDirectoryTagData(), TIFFWriteDirectoryTagIfdIfd8Array(), TIFFWriteDirectoryTagLong8Array(), TIFFWriteDirectoryTagLongLong8Array(), TIFFWriteDirectoryTagSlong8Array(), TIFFWriteDirectoryTagSubifd(), TIFFWriteEncodedStrip(), TIFFWriteEncodedTile(), TIFFWriteScanline(), and TryChopUpUncompressedBigTiff().

◆ tif_foundfield

const TIFFField* tiff::tif_foundfield

Borrowed cached field descriptor; valid only while that descriptor lives.

Definition at line 740 of file tiffiop.h.

Referenced by _TIFFFindFieldByName(), _TIFFMergeFields(), TIFFDefaultDirectory(), and TIFFFindField().

◆ tif_getmaxcompressionratio

TIFFGetMaxCompressionRatioMethod tiff::tif_getmaxcompressionratio

◆ tif_header

TIFFHeaderUnion tiff::tif_header

Inline decoded classic TIFF or BigTIFF file header.

Definition at line 578 of file tiffiop.h.

Referenced by TIFFIsBigEndian(), TIFFLinkDirectory(), TIFFNumberOfDirectories(), TIFFRewriteDirectorySec(), TIFFSetDirectory(), and TIFFUnlinkDirectory().

◆ tif_header_size

uint16_t tiff::tif_header_size

File-header length in bytes for the selected format.

Definition at line 580 of file tiffiop.h.

◆ tif_lastdiroff

uint64_t tiff::tif_lastdiroff

Byte offset of the last directory written so far.

Definition at line 562 of file tiffiop.h.

Referenced by TIFFLinkDirectory(), TIFFRewriteDirectorySec(), and TIFFUnlinkDirectory().

◆ tif_lastvalidoff

uint64_t tiff::tif_lastvalidoff

Last byte-offset boundary permitted for rewriting strip data in place.

Definition at line 611 of file tiffiop.h.

Referenced by TIFFAppendToStrip(), and TIFFSetWriteOffset().

◆ tif_map_dir_number_to_offset

TIFFHashSet* tiff::tif_map_dir_number_to_offset

◆ tif_map_dir_offset_to_number

TIFFHashSet* tiff::tif_map_dir_offset_to_number

◆ tif_mapproc

TIFFMapFileProc tiff::tif_mapproc

Client callback providing a mapped-file view.

Definition at line 707 of file tiffiop.h.

Referenced by TIFFGetMapFileProc().

◆ tif_max_cumulated_mem_alloc

tmsize_t tiff::tif_max_cumulated_mem_alloc

Cumulative tracked-allocation byte limit; zero means unlimited.

Definition at line 773 of file tiffiop.h.

Referenced by _TIFFcallocExt(), _TIFFEmitErrorAboveMaxCumulatedMemAlloc(), _TIFFfreeExt(), _TIFFmallocExt(), and _TIFFreallocExt().

◆ tif_max_single_mem_alloc

tmsize_t tiff::tif_max_single_mem_alloc

Single-allocation byte limit; zero means unlimited.

Definition at line 769 of file tiffiop.h.

Referenced by _TIFFcallocExt(), _TIFFEmitErrorAboveMaxSingleMemAlloc(), _TIFFmallocExt(), and _TIFFreallocExt().

◆ tif_mode

int tiff::tif_mode

◆ tif_name

char* tiff::tif_name

◆ tif_nextdiroff

uint64_t tiff::tif_nextdiroff

◆ tif_nfields

size_t tiff::tif_nfields

◆ tif_nfieldscompat

size_t tiff::tif_nfieldscompat

Number of entries in tif_fieldscompat.

Definition at line 753 of file tiffiop.h.

Referenced by TIFFCleanup(), TIFFDefaultDirectory(), and TIFFMergeFieldInfo().

◆ tif_nsubifd

uint16_t tiff::tif_nsubifd

Number of remaining SubIFD links to write.

Definition at line 616 of file tiffiop.h.

Referenced by TIFFLinkDirectory(), TIFFWriteDirectorySec(), and TIFFWriteDirectoryTagSubifd().

◆ tif_postdecode

TIFFPostMethod tiff::tif_postdecode

◆ tif_postencode

TIFFBoolMethod tiff::tif_postencode

◆ tif_predecode

TIFFPreMethod tiff::tif_predecode

◆ tif_preencode

TIFFPreMethod tiff::tif_preencode

◆ tif_rawcc

tmsize_t tiff::tif_rawcc

◆ tif_rawcp

uint8_t* tiff::tif_rawcp

◆ tif_rawdata

uint8_t* tiff::tif_rawdata

◆ tif_rawdataloaded

tmsize_t tiff::tif_rawdataloaded

◆ tif_rawdataoff

tmsize_t tiff::tif_rawdataoff

Byte offset of the raw-buffer window within the strip.

Definition at line 688 of file tiffiop.h.

Referenced by TIFFFillStrip(), TIFFFillStripPartial(), TIFFFillTile(), TIFFReadBufferSetup(), TIFFReadFromUserBuffer(), TIFFSeek(), TIFFUnlinkDirectory(), and TIFFWriteDirectorySec().

◆ tif_rawdatasize

tmsize_t tiff::tif_rawdatasize

◆ tif_readproc

TIFFReadWriteProc tiff::tif_readproc

Client read callback.

Definition at line 714 of file tiffiop.h.

Referenced by TIFFGetReadProc().

◆ tif_seek

TIFFSeekMethod tiff::tif_seek

Codec callback advancing within a strip.

Definition at line 659 of file tiffiop.h.

Referenced by _TIFFSetDefaultCompressionState(), TIFFInitDumpMode(), TIFFSeek(), and TIFFWriteScanline().

◆ tif_seekproc

TIFFSeekProc tiff::tif_seekproc

Client seek callback.

Definition at line 718 of file tiffiop.h.

Referenced by TIFFGetSeekProc().

◆ tif_setdirectory_force_absolute

int tiff::tif_setdirectory_force_absolute

Nonzero to force absolute rather than relative directory stepping.

Definition at line 570 of file tiffiop.h.

Referenced by TIFFCreateCustomDirectory(), TIFFReadCustomDirectory(), TIFFSetDirectory(), and TIFFSetSubDirectory().

◆ tif_setupdecode

TIFFBoolMethod tiff::tif_setupdecode

◆ tif_setupencode

TIFFBoolMethod tiff::tif_setupencode

◆ tif_size

tmsize_t tiff::tif_size

◆ tif_sizeproc

TIFFSizeProc tiff::tif_sizeproc

Client file-size callback.

Definition at line 722 of file tiffiop.h.

Referenced by TIFFGetSizeProc().

◆ tif_subifdoff

uint64_t tiff::tif_subifdoff

File byte offset at which the next SubIFD link is patched.

Definition at line 618 of file tiffiop.h.

Referenced by TIFFLinkDirectory(), TIFFWriteDirectorySec(), and TIFFWriteDirectoryTagSubifd().

◆ tif_tagmethods

TIFFTagMethods tiff::tif_tagmethods

◆ tif_unmapproc

TIFFUnmapFileProc tiff::tif_unmapproc

Client callback releasing a mapped-file view.

Definition at line 709 of file tiffiop.h.

Referenced by TIFFGetUnmapFileProc().

◆ tif_warn_about_unknown_tags

int tiff::tif_warn_about_unknown_tags

Nonzero to emit warnings for unknown tags.

Definition at line 777 of file tiffiop.h.

Referenced by TIFFFieldWithName(), TIFFFieldWithTag(), TIFFReadCustomDirectory(), and TIFFReadDirectory().

◆ tif_warnhandler

TIFFErrorHandlerExtR tiff::tif_warnhandler

Per-handle warning callback, or NULL for the default handling path.

Definition at line 765 of file tiffiop.h.

Referenced by TIFFWarningExtR().

◆ tif_warnhandler_user_data

void* tiff::tif_warnhandler_user_data

Borrowed context passed to tif_warnhandler.

Definition at line 767 of file tiffiop.h.

Referenced by TIFFWarningExtR().

◆ tif_writeproc

TIFFReadWriteProc tiff::tif_writeproc

Client write callback.

Definition at line 716 of file tiffiop.h.

Referenced by TIFFGetWriteProc().


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