Lines Matching refs:TIFFDirEntry
44 static int EstimateStripByteCounts(TIFF*, TIFFDirEntry*, uint16);
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*);
89 register TIFFDirEntry* dp;
92 TIFFDirEntry* dir;
150 dir = (TIFFDirEntry *)CheckMalloc(tif,
151 dircount, sizeof (TIFFDirEntry), "to read TIFF directory");
154 if (!ReadOK(tif, dir, dircount*sizeof (TIFFDirEntry))) {
177 dir = (TIFFDirEntry *)CheckMalloc(tif,
178 dircount, sizeof (TIFFDirEntry), "to read TIFF directory");
181 if (off + dircount*sizeof (TIFFDirEntry) > tif->tif_size) {
188 dircount*sizeof (TIFFDirEntry));
190 off += dircount* sizeof (TIFFDirEntry);
641 EstimateStripByteCounts(TIFF* tif, TIFFDirEntry* dir, uint16 dircount)
645 register TIFFDirEntry *dp;
657 + (dircount * sizeof (TIFFDirEntry))
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)