37 #define FIELD_SETLONGS 4 98 #define FIELD_IGNORE 0 101 #define FIELD_IMAGEDIMENSIONS 1 102 #define FIELD_TILEDIMENSIONS 2 103 #define FIELD_RESOLUTION 3 104 #define FIELD_POSITION 4 107 #define FIELD_SUBFILETYPE 5 108 #define FIELD_BITSPERSAMPLE 6 109 #define FIELD_COMPRESSION 7 110 #define FIELD_PHOTOMETRIC 8 111 #define FIELD_THRESHHOLDING 9 112 #define FIELD_FILLORDER 10 113 #define FIELD_ORIENTATION 15 114 #define FIELD_SAMPLESPERPIXEL 16 115 #define FIELD_ROWSPERSTRIP 17 116 #define FIELD_MINSAMPLEVALUE 18 117 #define FIELD_MAXSAMPLEVALUE 19 118 #define FIELD_PLANARCONFIG 20 119 #define FIELD_RESOLUTIONUNIT 22 120 #define FIELD_PAGENUMBER 23 121 #define FIELD_STRIPBYTECOUNTS 24 122 #define FIELD_STRIPOFFSETS 25 123 #define FIELD_COLORMAP 26 124 #define FIELD_EXTRASAMPLES 31 125 #define FIELD_SAMPLEFORMAT 32 126 #define FIELD_SMINSAMPLEVALUE 33 127 #define FIELD_SMAXSAMPLEVALUE 34 128 #define FIELD_IMAGEDEPTH 35 129 #define FIELD_TILEDEPTH 36 130 #define FIELD_HALFTONEHINTS 37 131 #define FIELD_YCBCRSUBSAMPLING 39 132 #define FIELD_YCBCRPOSITIONING 40 133 #define FIELD_TRANSFERFUNCTION 44 134 #define FIELD_INKNAMES 46 135 #define FIELD_SUBIFD 49 138 #define FIELD_CODEC 66 151 #define FIELD_PSEUDO 0 153 #define FIELD_LAST (32*FIELD_SETLONGS-1) 155 #define TIFFExtractData(tif, type, v) \ 156 ((uint32) ((tif)->tif_header.tiff_magic == TIFF_BIGENDIAN ? \ 157 ((v) >> (tif)->tif_typeshift[type]) & (tif)->tif_typemask[type] : \ 158 (v) & (tif)->tif_typemask[type])) 159 #define TIFFInsertData(tif, type, v) \ 160 ((uint32) ((tif)->tif_header.tiff_magic == TIFF_BIGENDIAN ? \ 161 ((v) & (tif)->tif_typemask[type]) << (tif)->tif_typeshift[type] : \ 162 (v) & (tif)->tif_typemask[type])) 165 #define BITn(n) (((unsigned long)1L)<<((n)&0x1f)) 166 #define BITFIELDn(tif, n) ((tif)->tif_dir.td_fieldsset[(n)/32]) 167 #define TIFFFieldSet(tif, field) (BITFIELDn(tif, field) & BITn(field)) 168 #define TIFFSetFieldBit(tif, field) (BITFIELDn(tif, field) |= BITn(field)) 169 #define TIFFClrFieldBit(tif, field) (BITFIELDn(tif, field) &= ~BITn(field)) 171 #define FieldSet(fields, f) (fields[(f)/32] & BITn(f)) 172 #define ResetFieldBit(fields, f) (fields[(f)/32] &= ~BITn(f)) 174 #if defined(__cplusplus) 188 #define _TIFFMergeFieldInfo TIFFMergeFieldInfo 189 #define _TIFFFindFieldInfo TIFFFindFieldInfo 190 #define _TIFFFindFieldInfoByName TIFFFindFieldInfoByName 191 #define _TIFFFieldWithTag TIFFFieldWithTag 192 #define _TIFFFieldWithName TIFFFieldWithName 194 #if defined(__cplusplus)
const TIFFFieldInfo * _TIFFGetExifFieldInfo(size_t *)
void _TIFFPrintFieldInfo(TIFF *, FILE *)
TIFFTagValue * td_customValues
const TIFFFieldInfo * _TIFFGetFieldInfo(size_t *)
const TIFFFieldInfo * _TIFFFindOrRegisterFieldInfo(TIFF *tif, ttag_t tag, TIFFDataType dt)
TIFFDataType _TIFFSampleToTagType(TIFF *)
int td_stripbytecountsorted
uint16 td_samplesperpixel
double td_sminsamplevalue
uint16 td_ycbcrpositioning
tstrip_t td_stripsperimage
TIFFFieldInfo * _TIFFCreateAnonFieldInfo(TIFF *tif, ttag_t tag, TIFFDataType dt)
void _TIFFSetupFieldInfo(TIFF *, const TIFFFieldInfo[], size_t)
uint32 * td_stripbytecount