|
LibTIFF 4.7.2
TIFF library public API and implementation reference
|
Store the current directory values and image traversal state. More...
#include <tif_dir.h>
Data Fields | |
| uint32_t | td_fieldsset [FIELDSET_ITEMS] |
| Presence bitmap indexed by FIELD_* bit numbers. | |
| uint32_t | td_imagewidth |
| Image width in pixels. | |
| uint32_t | td_imagelength |
| Image length in rows. | |
| uint32_t | td_imagedepth |
| Image depth in slices. | |
| uint32_t | td_tilewidth |
| Tile width in pixels. | |
| uint32_t | td_tilelength |
| Tile length in rows. | |
| uint32_t | td_tiledepth |
| Tile depth in slices. | |
| uint32_t | td_subfiletype |
| NewSubfileType flag mask. | |
| uint16_t | td_bitspersample |
| Bits in each sample. | |
| uint16_t | td_sampleformat |
| SAMPLEFORMAT_* interpretation of samples. | |
| uint16_t | td_compression |
| COMPRESSION_* codec identifier. | |
| uint16_t | td_photometric |
| PHOTOMETRIC_* interpretation. | |
| uint16_t | td_threshholding |
| THRESHHOLD_* bilevel rendering convention. | |
| uint16_t | td_fillorder |
| FILLORDER_* bit order within file bytes. | |
| uint16_t | td_orientation |
| ORIENTATION_* storage orientation. | |
| uint16_t | td_samplesperpixel |
| Samples per pixel, including extra samples. | |
| uint32_t | td_rowsperstrip |
| Rows per strip; UINT32_MAX represents one whole-image strip. | |
| uint16_t | td_minsamplevalue |
| Legacy unsigned minimum sample value. | |
| uint16_t | td_maxsamplevalue |
| Legacy unsigned maximum sample value. | |
| double * | td_sminsamplevalue |
| Owned SamplesPerPixel-length array of minimum values, or NULL. | |
| double * | td_smaxsamplevalue |
| Owned SamplesPerPixel-length array of maximum values, or NULL. | |
| float | td_xresolution |
| Horizontal pixels per resolution unit. | |
| float | td_yresolution |
| Vertical pixels per resolution unit. | |
| uint16_t | td_resolutionunit |
| RESUNIT_* unit for resolution and position values. | |
| uint16_t | td_planarconfig |
| PLANARCONFIG_* sample-plane arrangement. | |
| float | td_xposition |
| Horizontal image position in resolution units. | |
| float | td_yposition |
| Vertical image position in resolution units. | |
| uint16_t | td_pagenumber [2] |
| Page index and total-page count as two uint16_t values. | |
| uint16_t * | td_colormap [3] |
| Three owned palette planes of td_colormap_alloc entries each, or NULL slots; presence is FIELD_COLORMAP, not the count. | |
| uint32_t | td_colormap_count |
| Number of entries in each ColorMap plane that the directory uses, zero when none is installed. | |
| uint32_t | td_colormap_alloc |
| Number of entries allocated in each ColorMap plane, zero when none is installed. | |
| uint16_t | td_halftonehints [2] |
| Highlight and shadow grayscale breakpoints. | |
| uint16_t | td_extrasamples |
| Number of extra samples described by td_sampleinfo. | |
| uint16_t * | td_sampleinfo |
| Owned ExtraSamples interpretation array of td_extrasamples entries, or NULL. | |
| uint32_t | td_row |
| Current scanline index; UINT32_MAX before traversal starts. | |
| uint32_t | td_curstrip |
| Current strip index, or NOSTRIP. | |
| tmsize_t | td_scanlinesize |
| Cached decoded scanline size in bytes; zero when not computed. | |
| uint32_t | td_col |
| Current pixel column; UINT32_MAX before traversal starts. | |
| uint32_t | td_curtile |
| Current tile index, or NOTILE. | |
| tmsize_t | td_tilesize |
| Cached decoded tile size in bytes; minus one when invalidated. | |
| uint32_t | td_stripsperimage |
| Strips or tiles per sample plane, despite the historic name. | |
| uint32_t | td_nstrips |
| Total strile count across all planes; logical array length. | |
| uint64_t * | td_stripoffset_p |
| Owned offset array/cache, possibly NULL or partial; use TIFFGetStrileOffset(). | |
| uint64_t * | td_stripbytecount_p |
| Owned byte-count array/cache, possibly NULL or partial; use TIFFGetStrileByteCount(). | |
| uint32_t | td_stripoffsetbyteallocsize |
| Allocated element capacity of lazy strile offset/count caches, not byte size. | |
| TIFFDirEntry | td_stripoffset_entry |
| Deferred offset entry; tag/type/count are swapped but offset storage is raw. | |
| TIFFDirEntry | td_stripbytecount_entry |
| Deferred byte-count entry; offset storage still requires swapping. | |
| uint16_t | td_nsubifd |
| Number of child-directory offsets in td_subifd. | |
| uint64_t * | td_subifd |
| Owned array of td_nsubifd child-directory offsets, or NULL. | |
| uint16_t | td_ycbcrsubsampling [2] |
| Horizontal and vertical YCbCr subsampling factors. | |
| uint16_t | td_ycbcrpositioning |
| YCBCRPOSITION_* placement convention. | |
| uint16_t * | td_transferfunction [3] |
| Up to three owned gamma curves of td_transferfunction_count entries each. | |
| uint32_t | td_transferfunction_count |
| Number of entries in each installed TransferFunction curve, zero when none is installed; the only record of the curve length. | |
| float * | td_refblackwhite |
| Owned six-float reference black/white array, or NULL. | |
| int | td_inknameslen |
| Byte length of the concatenated ink-name strings, including terminators. | |
| char * | td_inknames |
| Owned concatenated null-terminated ink names, or NULL. | |
| uint16_t | td_numberofinks |
| Number of inks, kept consistent with accepted InkNames where possible. | |
| int | td_customValueCount |
| Number of live records in td_customValues, including partial setter entries. | |
| TIFFTagValue * | td_customValues |
| Owned array of custom-value records, each owning its value. | |
| unsigned char | td_deferstrilearraywriting |
| Nonzero to reserve strile entries for later explicit array writing. | |
| unsigned char | td_iswrittentofile |
| Nonzero when the current directory has an on-file representation. | |
| uint64_t | td_dirdatasize_write |
| Accumulated IFD write size in bytes, including entry space after counting. | |
| uint64_t | td_dirdatasize_read |
| Reusable IFD span including entry space and contiguous external data; UINT64_MAX permits extension at EOF. | |
| uint32_t | td_dirdatasize_Noffsets |
| Number of ranges collected in td_dirdatasize_offsets. | |
| TIFFEntryOffsetAndLength * | td_dirdatasize_offsets |
| Owned auxiliary array of external IFD-value ranges, or NULL. | |
Store the current directory values and image traversal state.
Embedded in a TIFF handle. Pointer arrays/strings and custom values are owned by the matching handle allocator unless explicitly noted; TIFFFreeDirectory() releases them. Field bits determine which values are present. Defaults can exist with their presence bits clear. Use strile accessors instead of directly dereferencing deferred offset/count arrays. Resetting the structure without first freeing live allocations loses ownership. See Directories for the current documentation boundary.
| uint16_t TIFFDirectory::td_bitspersample |
Bits in each sample.
Definition at line 168 of file tif_dir.h.
Referenced by _TIFFVGetField(), fpAcc(), fpDiff(), GetLercDataType(), JPEGGetMaxCompressionRatio(), JPEGPreDecode(), JPEGSetupDecode(), JPEGSetupEncode(), LERCPostEncode(), LERCPreDecode(), LogL16GuessDataFmt(), LogLuvClose(), LogLuvGuessDataFmt(), PixarLogClose(), PixarLogGuessDataFmt(), PredictorSetup(), PredictorSetupDecode(), PredictorSetupEncode(), SetupBuffers(), ThunderSetupDecode(), TIFFDefaultDirectory(), TIFFDefaultRefBlackWhite(), TIFFDefaultTransferFunction(), TIFFInitLZMA(), TIFFJPEGIsFullStripRequired(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFRGBAImageOK(), TIFFVGetFieldDefaulted(), TIFFWriteDirectorySec(), TIFFWriteDirectoryTagSampleformatArray(), TWebPSetupDecode(), and TWebPSetupEncode().
| uint32_t TIFFDirectory::td_col |
Current pixel column; UINT32_MAX before traversal starts.
Definition at line 253 of file tif_dir.h.
Referenced by _TIFFResetTifDirAndInitStrileCounters(), TIFFReadAndRealloc(), TIFFReadRawStripOrTile2(), TIFFReadRawTile1(), TIFFStartTile(), and TIFFWriteEncodedTile().
| uint16_t* TIFFDirectory::td_colormap[3] |
Three owned palette planes of td_colormap_alloc entries each, or NULL slots; presence is FIELD_COLORMAP, not the count.
The first td_colormap_count entries of each plane describe the directory and are written with it. The planes, count and capacity are installed together and the count and capacity are zero when no plane is allocated. Narrowing BitsPerSample shortens the count but keeps the planes, so that widening BitsPerSample again up to the capacity restores the entries.
Definition at line 218 of file tif_dir.h.
Referenced by _TIFFVGetField(), cancelColorMap(), LogLuvClose(), PixarLogClose(), setColorMap(), TIFFPrintDirectory(), and TIFFWriteDirectoryTagColormap().
| uint32_t TIFFDirectory::td_colormap_alloc |
Number of entries allocated in each ColorMap plane, zero when none is installed.
Definition at line 228 of file tif_dir.h.
Referenced by cancelColorMap(), LogLuvClose(), PixarLogClose(), setColorMap(), and TIFFFreeDirectory().
| uint32_t TIFFDirectory::td_colormap_count |
Number of entries in each ColorMap plane that the directory uses, zero when none is installed.
Definition at line 223 of file tif_dir.h.
Referenced by cancelColorMap(), checkcmap(), cvtcmap(), LogLuvClose(), PixarLogClose(), setColorMap(), TIFFFreeDirectory(), TIFFPrintDirectory(), TIFFRGBAImageBegin(), and TIFFWriteDirectoryTagColormap().
| uint16_t TIFFDirectory::td_compression |
COMPRESSION_* codec identifier.
Definition at line 172 of file tif_dir.h.
Referenced by _notConfigured(), _TIFFCheckFieldIsValidForCodec(), _TIFFVGetField(), _WriteAsType(), ByteCountLooksBad(), EstimateStripByteCounts(), LogLuvSetupDecode(), LogLuvSetupEncode(), TIFFDefaultDirectory(), TIFFFillStripPartial(), TIFFNoDecode(), TIFFNoEncode(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFRGBAImageOK(), TIFFSeek(), TIFFWriteDirectorySec(), and TryChopUpUncompressedBigTiff().
| uint32_t TIFFDirectory::td_curstrip |
Current strip index, or NOSTRIP.
Definition at line 242 of file tif_dir.h.
Referenced by _TIFFResetTifDirAndInitStrileCounters(), LogLuvVSetField(), LZWDecode(), OJPEGPreDecode(), TIFFCheckRead(), TIFFCurrentStrip(), TIFFFillStrip(), TIFFFillStripPartial(), TIFFFlushData1(), TIFFReadBufferSetup(), TIFFSeek(), TIFFStartStrip(), TIFFWriteEncodedStrip(), TIFFWriteRawStrip(), and TIFFWriteScanline().
| uint32_t TIFFDirectory::td_curtile |
Current tile index, or NOTILE.
Definition at line 256 of file tif_dir.h.
Referenced by _TIFFResetTifDirAndInitStrileCounters(), LogLuvVSetField(), OJPEGPreDecode(), TIFFCheckRead(), TIFFCurrentTile(), TIFFFillTile(), TIFFFlushData1(), TIFFReadBufferSetup(), TIFFStartTile(), and TIFFWriteEncodedTile().
| int TIFFDirectory::td_customValueCount |
Number of live records in td_customValues, including partial setter entries.
Definition at line 346 of file tif_dir.h.
Referenced by _TIFFVGetField(), removeCustomValue(), TIFFFreeDirectory(), TIFFGetTagListCount(), TIFFGetTagListEntry(), TIFFUnsetField(), and TIFFWriteDirectorySec().
| TIFFTagValue* TIFFDirectory::td_customValues |
Owned array of custom-value records, each owning its value.
Definition at line 348 of file tif_dir.h.
Referenced by _TIFFVGetField(), removeCustomValue(), TIFFFreeDirectory(), TIFFGetTagListEntry(), TIFFUnsetField(), and TIFFWriteDirectorySec().
| unsigned char TIFFDirectory::td_deferstrilearraywriting |
Nonzero to reserve strile entries for later explicit array writing.
Definition at line 354 of file tif_dir.h.
Referenced by TIFFDeferStrileArrayWriting(), and TIFFWriteDirectoryTagLongLong8Array().
| uint32_t TIFFDirectory::td_dirdatasize_Noffsets |
Number of ranges collected in td_dirdatasize_offsets.
Definition at line 377 of file tif_dir.h.
Referenced by CalcFinalIFDdatasizeReading(), EvaluateIFDdatasizeReading(), and TIFFFreeDirectory().
| TIFFEntryOffsetAndLength* TIFFDirectory::td_dirdatasize_offsets |
Owned auxiliary array of external IFD-value ranges, or NULL.
Definition at line 380 of file tif_dir.h.
Referenced by CalcFinalIFDdatasizeReading(), EvaluateIFDdatasizeReading(), TIFFFreeDirectory(), TIFFReadCustomDirectory(), and TIFFReadDirectory().
| uint64_t TIFFDirectory::td_dirdatasize_read |
Reusable IFD span including entry space and contiguous external data; UINT64_MAX permits extension at EOF.
Definition at line 375 of file tif_dir.h.
Referenced by CalcFinalIFDdatasizeReading(), EvaluateIFDdatasizeReading(), TIFFFreeDirectory(), and TIFFWriteDirectorySec().
| uint64_t TIFFDirectory::td_dirdatasize_write |
Accumulated IFD write size in bytes, including entry space after counting.
Definition at line 369 of file tif_dir.h.
Referenced by EvaluateIFDdatasizeWrite(), TIFFFreeDirectory(), TIFFWriteDirectorySec(), and TIFFWriteDirectoryTagCheckedRational().
| uint16_t TIFFDirectory::td_extrasamples |
Number of extra samples described by td_sampleinfo.
Definition at line 232 of file tif_dir.h.
Referenced by _TIFFVGetField(), LERCPostEncode(), LERCPreDecode(), setExtraSamples(), setTransferFunction(), SetupBuffers(), TIFFDefaultDirectory(), TIFFDefaultTransferFunction(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFRGBAImageOK(), TIFFVGetFieldDefaulted(), TIFFWriteDirectorySec(), and TIFFWriteDirectoryTagTransferfunction().
| uint32_t TIFFDirectory::td_fieldsset[FIELDSET_ITEMS] |
Presence bitmap indexed by FIELD_* bit numbers.
Definition at line 151 of file tif_dir.h.
Referenced by TIFFFreeDirectory().
| uint16_t TIFFDirectory::td_fillorder |
FILLORDER_* bit order within file bytes.
Definition at line 178 of file tif_dir.h.
Referenced by _TIFFVGetField(), JBIGDecode(), JBIGOutputBie(), TIFFDefaultDirectory(), TIFFFlushData1(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_halftonehints[2] |
Highlight and shadow grayscale breakpoints.
Definition at line 230 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| uint32_t TIFFDirectory::td_imagedepth |
Image depth in slices.
Definition at line 158 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFCheckTile(), TIFFDefaultDirectory(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint32_t TIFFDirectory::td_imagelength |
Image length in rows.
Definition at line 156 of file tif_dir.h.
Referenced by _TIFFStrileSize64(), _TIFFVGetField(), ByteCountLooksBad(), ChopUpSingleUncompressedStrip(), EstimateStripByteCounts(), JPEGComputeStrileWidthHeightBytesPerLine(), JPEGDecodeRaw(), JPEGEncode(), JPEGPreDecode(), JPEGSetupEncode(), OJPEGReadHeaderInfo(), SetupBuffers(), TIFFCheckTile(), TIFFNumberOfStrips(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFSeek(), TIFFStripSize64(), TIFFWriteDirectorySec(), TryChopUpUncompressedBigTiff(), TWebPGetStrileDimensions(), ZIPDecode(), and ZIPEncode().
| uint32_t TIFFDirectory::td_imagewidth |
Image width in pixels.
Definition at line 154 of file tif_dir.h.
Referenced by _TIFFVGetField(), JPEGComputeStrileWidthHeightBytesPerLine(), NeXTDecode(), OJPEGReadHeaderInfo(), SetupBuffers(), ThunderDecodeRow(), TIFFCheckTile(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFWriteDirectorySec(), and TWebPGetStrileDimensions().
| char* TIFFDirectory::td_inknames |
Owned concatenated null-terminated ink names, or NULL.
Definition at line 335 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| int TIFFDirectory::td_inknameslen |
Byte length of the concatenated ink-name strings, including terminators.
Definition at line 333 of file tif_dir.h.
Referenced by TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| unsigned char TIFFDirectory::td_iswrittentofile |
Nonzero when the current directory has an on-file representation.
Definition at line 359 of file tif_dir.h.
Referenced by TIFFCreateDirectory(), TIFFFreeDirectory(), TIFFLinkDirectory(), TIFFReadDirectory(), TIFFSetSubDirectory(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_maxsamplevalue |
Legacy unsigned maximum sample value.
Definition at line 188 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFReadDirectory(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_minsamplevalue |
Legacy unsigned minimum sample value.
Definition at line 186 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint32_t TIFFDirectory::td_nstrips |
Total strile count across all planes; logical array length.
Definition at line 271 of file tif_dir.h.
Referenced by _TIFFFillStrilesInternal(), _TIFFGetStrileOffsetOrByteCountValue(), allocChoppedUpStripArrays(), EstimateStripByteCounts(), OJPEGReadHeaderInfoSec(), TIFFForceStrileArrayWriting(), TIFFGrowStrips(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFSetupStrips(), TIFFWriteCheck(), TIFFWriteDirectorySec(), TIFFWriteRawTile(), and TryChopUpUncompressedBigTiff().
| uint16_t TIFFDirectory::td_nsubifd |
Number of child-directory offsets in td_subifd.
Definition at line 307 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectoryTagSubifd().
| uint16_t TIFFDirectory::td_numberofinks |
Number of inks, kept consistent with accepted InkNames where possible.
Definition at line 340 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_orientation |
ORIENTATION_* storage orientation.
Definition at line 180 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_pagenumber[2] |
Page index and total-page count as two uint16_t values.
Definition at line 206 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_photometric |
PHOTOMETRIC_* interpretation.
Definition at line 174 of file tif_dir.h.
Referenced by _TIFFVGetField(), ChopUpSingleUncompressedStrip(), JPEGFixupTags(), JPEGGetMaxCompressionRatio(), JPEGResetUpsampled(), JPEGSetupDecode(), JPEGSetupEncode(), LogLuvClose(), LogLuvSetupDecode(), LogLuvSetupEncode(), LogLuvVSetField(), OJPEGSubsamplingCorrect(), TIFFDefaultRefBlackWhite(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFWriteDirectorySec(), and TryChopUpUncompressedBigTiff().
| uint16_t TIFFDirectory::td_planarconfig |
PLANARCONFIG_* sample-plane arrangement.
Definition at line 200 of file tif_dir.h.
Referenced by _TIFFVGetField(), ChopUpSingleUncompressedStrip(), EstimateStripByteCounts(), JPEGComputeStrileWidthHeightBytesPerLine(), JPEGFixupTags(), JPEGGetMaxCompressionRatio(), JPEGPreDecode(), JPEGPreEncode(), JPEGResetUpsampled(), JPEGSetupEncode(), LERCPostEncode(), LERCPreDecode(), OJPEGReadHeaderInfo(), PredictorSetup(), SetupBuffers(), ThunderSetupDecode(), TIFFCheckTile(), TIFFDefaultDirectory(), TIFFGrowStrips(), TIFFNumberOfStrips(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFRGBAImageOK(), TIFFSeek(), TIFFSetupStrips(), TIFFVGetFieldDefaulted(), TIFFWriteDirectorySec(), TryChopUpUncompressedBigTiff(), TWebPFixupTags(), and TWebPSetupEncode().
| float* TIFFDirectory::td_refblackwhite |
Owned six-float reference black/white array, or NULL.
Definition at line 327 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultRefBlackWhite(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_resolutionunit |
RESUNIT_* unit for resolution and position values.
Definition at line 198 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint32_t TIFFDirectory::td_row |
Current scanline index; UINT32_MAX before traversal starts.
Definition at line 240 of file tif_dir.h.
Referenced by _TIFFResetTifDirAndInitStrileCounters(), DumpModeDecode(), JPEGComputeStrileWidthHeightBytesPerLine(), JPEGDecode(), JPEGDecodeRaw(), JPEGEncode(), JPEGEncodeRaw(), JPEGPreDecode(), LERCPostEncode(), LERCPreDecode(), LogL16Decode(), LogLuvDecode24(), LogLuvDecode32(), LZMADecode(), LZMAEncode(), LZWDecode(), LZWDecodeCompat(), NeXTDecode(), PackBitsDecode(), PixarLogDecode(), SetupBuffers(), ThunderDecode(), TIFFAppendToStrip(), TIFFCurrentRow(), TIFFFillStripPartial(), TIFFReadAndRealloc(), TIFFReadBufferSetup(), TIFFReadRawStrip1(), TIFFReadRawStripOrTile2(), TIFFReadRawTile1(), TIFFReadScanline(), TIFFSeek(), TIFFStartStrip(), TIFFStartTile(), TIFFWriteEncodedStrip(), TIFFWriteEncodedTile(), TIFFWriteRawStrip(), TIFFWriteScanline(), TWebPDecode(), TWebPGetStrileDimensions(), ZIPDecode(), ZIPEncode(), and ZSTDDecode().
| uint32_t TIFFDirectory::td_rowsperstrip |
Rows per strip; UINT32_MAX represents one whole-image strip.
Definition at line 184 of file tif_dir.h.
Referenced by _TIFFVGetField(), ChopUpSingleUncompressedStrip(), EstimateStripByteCounts(), JPEGComputeStrileWidthHeightBytesPerLine(), JPEGSetupEncode(), OJPEGReadHeaderInfo(), SetupBuffers(), TIFFDefaultDirectory(), TIFFNumberOfStrips(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFSeek(), TIFFStripSize64(), TIFFVGetFieldDefaulted(), TIFFWriteDirectorySec(), TryChopUpUncompressedBigTiff(), TWebPGetStrileDimensions(), ZIPDecode(), and ZIPEncode().
| uint16_t TIFFDirectory::td_sampleformat |
SAMPLEFORMAT_* interpretation of samples.
Definition at line 170 of file tif_dir.h.
Referenced by _TIFFVGetField(), GetLercDataType(), LERCPostEncode(), LERCPreDecode(), LogL16GuessDataFmt(), LogLuvClose(), LogLuvGuessDataFmt(), PixarLogClose(), PixarLogGuessDataFmt(), PredictorSetup(), SetupBuffers(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFRGBAImageOK(), TIFFVGetFieldDefaulted(), TIFFWriteDirectorySec(), TIFFWriteDirectoryTagSampleformatArray(), TWebPSetupDecode(), and TWebPSetupEncode().
| uint16_t* TIFFDirectory::td_sampleinfo |
Owned ExtraSamples interpretation array of td_extrasamples entries, or NULL.
Definition at line 237 of file tif_dir.h.
Referenced by _TIFFVGetField(), LERCPostEncode(), LERCPreDecode(), setExtraSamples(), SetupBuffers(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFReadDirectory(), and TIFFVGetFieldDefaulted().
| uint16_t TIFFDirectory::td_samplesperpixel |
Samples per pixel, including extra samples.
Definition at line 182 of file tif_dir.h.
Referenced by _TIFFVGetField(), EstimateStripByteCounts(), JPEGFixupTags(), JPEGFixupTagsSubsamplingSec(), JPEGGetMaxCompressionRatio(), JPEGPreDecode(), JPEGPreEncode(), JPEGSetupEncode(), LERCPostEncode(), LERCPreDecode(), LogL16GuessDataFmt(), LogLuvClose(), LogLuvGuessDataFmt(), OJPEGReadHeaderInfo(), OJPEGSubsamplingCorrect(), PredictorSetup(), setExtraSamples(), setTransferFunction(), SetupBuffers(), ThunderSetupDecode(), TIFFCheckTile(), TIFFDefaultDirectory(), TIFFDefaultTransferFunction(), TIFFNumberOfStrips(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFReadCustomDirectory(), TIFFReadDirectory(), TIFFReadDirEntryPersampleShort(), TIFFRGBAImageOK(), TIFFSeek(), TIFFSetupStrips(), TIFFVGetFieldDefaulted(), TIFFWriteDirectorySec(), TIFFWriteDirectoryTagShortPerSample(), TIFFWriteDirectoryTagTransferfunction(), TWebPGetMaxCompressionRatio(), TWebPSetupDecode(), and TWebPSetupEncode().
| tmsize_t TIFFDirectory::td_scanlinesize |
Cached decoded scanline size in bytes; zero when not computed.
Definition at line 245 of file tif_dir.h.
Referenced by _TIFFResetTifDirAndInitStrileCounters(), DumpModeSeek(), JPEGResetUpsampled(), LogLuvVSetField(), NeXTDecode(), PixarLogVSetField(), ThunderDecodeRow(), TIFFReadDirectory(), TIFFReadScanline(), TIFFSeek(), TIFFWriteCheck(), and TIFFWriteScanline().
| double* TIFFDirectory::td_smaxsamplevalue |
Owned SamplesPerPixel-length array of maximum values, or NULL.
Definition at line 192 of file tif_dir.h.
Referenced by _TIFFVGetField(), LogLuvClose(), PixarLogClose(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| double* TIFFDirectory::td_sminsamplevalue |
Owned SamplesPerPixel-length array of minimum values, or NULL.
Definition at line 190 of file tif_dir.h.
Referenced by _TIFFVGetField(), LogLuvClose(), PixarLogClose(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| TIFFDirEntry TIFFDirectory::td_stripbytecount_entry |
Deferred byte-count entry; offset storage still requires swapping.
Definition at line 305 of file tif_dir.h.
Referenced by _TIFFFillStrilesInternal(), _TIFFGetStrileOffsetOrByteCountValue(), _TIFFRewriteField(), TIFFForceStrileArrayWriting(), TIFFFreeDirectory(), TIFFGetStrileByteCountWithErr(), TIFFReadDirectory(), and TIFFWriteCheck().
| uint64_t* TIFFDirectory::td_stripbytecount_p |
Owned byte-count array/cache, possibly NULL or partial; use TIFFGetStrileByteCount().
Definition at line 281 of file tif_dir.h.
Referenced by _TIFFFillStrilesInternal(), _TIFFVGetField(), allocChoppedUpStripArrays(), EstimateStripByteCounts(), TIFFForceStrileArrayWriting(), TIFFGetStrileByteCountWithErr(), TIFFGrowStrips(), TIFFReadDirectory(), TIFFSetupStrips(), and TIFFWriteDirectorySec().
| TIFFDirEntry TIFFDirectory::td_stripoffset_entry |
Deferred offset entry; tag/type/count are swapped but offset storage is raw.
Definition at line 301 of file tif_dir.h.
Referenced by _TIFFFillStrilesInternal(), _TIFFGetStrileOffsetOrByteCountValue(), _TIFFRewriteField(), TIFFForceStrileArrayWriting(), TIFFFreeDirectory(), TIFFGetStrileOffsetWithErr(), TIFFReadDirectory(), and TIFFWriteCheck().
| uint64_t* TIFFDirectory::td_stripoffset_p |
Owned offset array/cache, possibly NULL or partial; use TIFFGetStrileOffset().
Definition at line 276 of file tif_dir.h.
Referenced by _TIFFFillStrilesInternal(), _TIFFVGetField(), allocChoppedUpStripArrays(), EstimateStripByteCounts(), TIFFCheckpointDirectory(), TIFFForceStrileArrayWriting(), TIFFGetStrileOffsetWithErr(), TIFFGrowStrips(), TIFFReadDirectory(), TIFFSetupStrips(), TIFFWriteCheck(), and TIFFWriteDirectorySec().
| uint32_t TIFFDirectory::td_stripoffsetbyteallocsize |
Allocated element capacity of lazy strile offset/count caches, not byte size.
Definition at line 286 of file tif_dir.h.
Referenced by _TIFFFetchStrileValue(), _TIFFFillStrilesInternal(), _TIFFPartialReadStripArray(), and TIFFFreeDirectory().
| uint32_t TIFFDirectory::td_stripsperimage |
Strips or tiles per sample plane, despite the historic name.
Definition at line 269 of file tif_dir.h.
Referenced by allocChoppedUpStripArrays(), EstimateStripByteCounts(), OJPEGPostDecode(), OJPEGPreDecode(), TIFFReadDirectory(), TIFFSeek(), and TIFFSetupStrips().
| uint32_t TIFFDirectory::td_subfiletype |
NewSubfileType flag mask.
Definition at line 166 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint64_t* TIFFDirectory::td_subifd |
Owned array of td_nsubifd child-directory offsets, or NULL.
Definition at line 309 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectoryTagSubifd().
| uint16_t TIFFDirectory::td_threshholding |
THRESHHOLD_* bilevel rendering convention.
Definition at line 176 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint32_t TIFFDirectory::td_tiledepth |
Tile depth in slices.
Definition at line 164 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint32_t TIFFDirectory::td_tilelength |
Tile length in rows.
Definition at line 162 of file tif_dir.h.
Referenced by _TIFFVGetField(), JPEGComputeStrileWidthHeightBytesPerLine(), JPEGSetupEncode(), OJPEGReadHeaderInfo(), SetupBuffers(), TIFFDefaultDirectory(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFTileSize64(), TIFFWriteDirectorySec(), and TWebPGetStrileDimensions().
| tmsize_t TIFFDirectory::td_tilesize |
Cached decoded tile size in bytes; minus one when invalidated.
Definition at line 259 of file tif_dir.h.
Referenced by _TIFFReadEncodedTileAndAllocBuffer(), _TIFFResetTifDirAndInitStrileCounters(), JPEGResetUpsampled(), LogLuvVSetField(), PixarLogVSetField(), TIFFReadDirectory(), TIFFReadEncodedTile(), TIFFWriteBufferSetup(), TIFFWriteCheck(), and TIFFWriteEncodedTile().
| uint32_t TIFFDirectory::td_tilewidth |
Tile width in pixels.
Definition at line 160 of file tif_dir.h.
Referenced by _TIFFComputeTileExt(), _TIFFVGetField(), JPEGComputeStrileWidthHeightBytesPerLine(), JPEGSetupEncode(), NeXTDecode(), OJPEGReadHeaderInfo(), PredictorSetup(), SetupBuffers(), TIFFDefaultDirectory(), TIFFNumberOfTiles(), TIFFPrintDirectory(), TIFFReadDirectory(), TIFFWriteDirectorySec(), and TWebPGetStrileDimensions().
| uint16_t* TIFFDirectory::td_transferfunction[3] |
Up to three owned gamma curves of td_transferfunction_count entries each.
Definition at line 320 of file tif_dir.h.
Referenced by _TIFFVGetField(), cancelTransferFunction(), LogLuvClose(), PixarLogClose(), setExtraSamples(), setTransferFunction(), TIFFDefaultTransferFunction(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectoryTagTransferfunction().
| uint32_t TIFFDirectory::td_transferfunction_count |
Number of entries in each installed TransferFunction curve, zero when none is installed; the only record of the curve length.
Definition at line 325 of file tif_dir.h.
Referenced by cancelTransferFunction(), LogLuvClose(), PixarLogClose(), setTransferFunction(), TIFFDefaultTransferFunction(), TIFFFreeDirectory(), TIFFPrintDirectory(), and TIFFWriteDirectoryTagTransferfunction().
| float TIFFDirectory::td_xposition |
Horizontal image position in resolution units.
Definition at line 202 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| float TIFFDirectory::td_xresolution |
Horizontal pixels per resolution unit.
Definition at line 194 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_ycbcrpositioning |
YCBCRPOSITION_* placement convention.
Definition at line 314 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), and TIFFWriteDirectorySec().
| uint16_t TIFFDirectory::td_ycbcrsubsampling[2] |
Horizontal and vertical YCbCr subsampling factors.
Definition at line 312 of file tif_dir.h.
Referenced by _TIFFVGetField(), ChopUpSingleUncompressedStrip(), JPEGDefaultStripSize(), JPEGDefaultTileSize(), JPEGFixupTagsSubsamplingSec(), JPEGResetUpsampled(), JPEGSetupDecode(), JPEGSetupEncode(), OJPEGVSetField(), TIFFDefaultDirectory(), TIFFPrintDirectory(), TIFFVGetFieldDefaulted(), TIFFWriteDirectorySec(), and TryChopUpUncompressedBigTiff().
| float TIFFDirectory::td_yposition |
Vertical image position in resolution units.
Definition at line 204 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| float TIFFDirectory::td_yresolution |
Vertical pixels per resolution unit.
Definition at line 196 of file tif_dir.h.
Referenced by _TIFFVGetField(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().