Lines Matching refs:TIFF
28 * TIFF Library.
40 extern void TIFFCvtIEEEFloatToNative(TIFF*, uint32, float*);
41 extern void TIFFCvtIEEEDoubleToNative(TIFF*, uint32, double*);
44 static int EstimateStripByteCounts(TIFF*, TIFFDirEntry*, uint16);
45 static void MissingRequired(TIFF*, const char*);
46 static int CheckDirCount(TIFF*, TIFFDirEntry*, uint32);
47 static tsize_t TIFFFetchData(TIFF*, TIFFDirEntry*, char*);
48 static tsize_t TIFFFetchString(TIFF*, TIFFDirEntry*, char*);
49 static float TIFFFetchRational(TIFF*, TIFFDirEntry*);
50 static int TIFFFetchNormalTag(TIFF*, TIFFDirEntry*);
51 static int TIFFFetchPerSampleShorts(TIFF*, TIFFDirEntry*, int*);
52 static int TIFFFetchPerSampleAnys(TIFF*, TIFFDirEntry*, double*);
53 static int TIFFFetchShortArray(TIFF*, TIFFDirEntry*, uint16*);
54 static int TIFFFetchStripThing(TIFF*, TIFFDirEntry*, long, uint32**);
55 static int TIFFFetchExtraSamples(TIFF*, TIFFDirEntry*);
56 static int TIFFFetchRefBlackWhite(TIFF*, TIFFDirEntry*);
57 static float TIFFFetchFloat(TIFF*, TIFFDirEntry*);
58 static int TIFFFetchFloatArray(TIFF*, TIFFDirEntry*, float*);
59 static int TIFFFetchDoubleArray(TIFF*, TIFFDirEntry*, double*);
60 static int TIFFFetchAnyArray(TIFF*, TIFFDirEntry*, double*);
61 static int TIFFFetchShortPair(TIFF*, TIFFDirEntry*);
62 static void ChopUpSingleUncompressedStrip(TIFF*);
65 CheckMalloc(TIFF* tif, size_t nmemb, size_t elem_size, const char* what)
80 * Read the next TIFF directory from a file
85 TIFFReadDirectory(TIFF* tif)
109 * XXX: Trick to prevent IFD looping. The one can create TIFF file
138 "%.1000s: Seek error accessing TIFF directory",
144 "%.1000s: Can not read TIFF directory count",
151 dircount, sizeof (TIFFDirEntry), "to read TIFF directory");
156 "%.100s: Can not read TIFF directory",
169 "%.1000s: Can not read TIFF directory count",
178 dircount, sizeof (TIFFDirEntry), "to read TIFF directory");
183 "%.1000s: Can not read TIFF directory",
211 * Electronic Arts writes gray-scale TIFF files
214 * the TIFF spec says there is no default value.
226 * tag value because older TIFF specs permited Compression
271 "%.1000s: invalid TIFF directory; tags are not sorted in ascending order",
559 "%.1000s: TIFF directory is missing required "
641 EstimateStripByteCounts(TIFF* tif, TIFFDirEntry* dir, uint16 dircount)
706 MissingRequired(TIFF* tif, const char* tagname)
711 "%.1000s: TIFF directory is missing required \"%s\" field",
722 CheckDirCount(TIFF* tif, TIFFDirEntry* dir, uint32 count)
738 TIFFFetchData(TIFF* tif, TIFFDirEntry* dir, char* cp)
784 TIFFFetchString(TIFF* tif, TIFFDirEntry* dir, char* cp)
800 cvtRational(TIFF* tif, TIFFDirEntry* dir, uint32 num, uint32 denom, float* rv)
822 TIFFFetchRational(TIFF* tif, TIFFDirEntry* dir)
837 TIFFFetchFloat(TIFF* tif, TIFFDirEntry* dir)
849 TIFFFetchByteArray(TIFF* tif, TIFFDirEntry* dir, uint16* v)
895 TIFFFetchShortArray(TIFF* tif, TIFFDirEntry* dir, uint16* v)
918 TIFFFetchShortPair(TIFF* tif, TIFFDirEntry* dir)
942 TIFFFetchLongArray(TIFF* tif, TIFFDirEntry* dir, uint32* v)
955 TIFFFetchRationalArray(TIFF* tif, TIFFDirEntry* dir, float* v)
982 TIFFFetchFloatArray(TIFF* tif, TIFFDirEntry* dir, float* v)
1000 TIFFFetchDoubleArray(TIFF* tif, TIFFDirEntry* dir, double* v)
1021 TIFFFetchAnyArray(TIFF* tif, TIFFDirEntry* dir, double* v)
1103 TIFFFetchNormalTag(TIFF* tif, TIFFDirEntry* dp)
1246 TIFFFetchPerSampleShorts(TIFF* tif, TIFFDirEntry* dir, int* pl)
1283 TIFFFetchPerSampleAnys(TIFF* tif, TIFFDirEntry* dir, double* pl)
1321 TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, long nstrips, uint32** lpp)
1386 TIFFFetchExtraSamples(TIFF* tif, TIFFDirEntry* dir)
1415 TIFFFetchRefBlackWhite(TIFF* tif, TIFFDirEntry* dir)
1452 ChopUpSingleUncompressedStrip(TIFF* tif)