Home
last modified time | relevance | path

Searched refs:TIFF (Results 1 – 25 of 89) sorted by relevance

1234

/external/pdfium/third_party/libtiff/
Dtiffio.h40 typedef struct tiff TIFF; typedef
200 TIFF* tif; /* image handle */
251 typedef int (*TIFFInitMethod)(TIFF*, int);
281 typedef void (*TIFFExtendProc)(TIFF*);
305 extern int TIFFGetTagListCount( TIFF * );
306 extern uint32 TIFFGetTagListEntry( TIFF *, int tag_index );
318 extern const TIFFField* TIFFFindField(TIFF *, uint32, TIFFDataType);
319 extern const TIFFField* TIFFFieldWithTag(TIFF*, uint32);
320 extern const TIFFField* TIFFFieldWithName(TIFF*, const char *);
329 typedef int (*TIFFVSetMethod)(TIFF*, uint32, va_list);
[all …]
Dtiffiop.h93 typedef void (*TIFFVoidMethod)(TIFF*);
94 typedef int (*TIFFBoolMethod)(TIFF*);
95 typedef int (*TIFFPreMethod)(TIFF*, uint16);
96 typedef int (*TIFFCodeMethod)(TIFF* tif, uint8* buf, tmsize_t size, uint16 sample);
97 typedef int (*TIFFSeekMethod)(TIFF*, uint32);
98 typedef void (*TIFFPostMethod)(TIFF* tif, uint8* buf, tmsize_t size);
99 typedef uint32 (*TIFFStripMethod)(TIFF*, uint32);
100 typedef void (*TIFFTileMethod)(TIFF*, uint32*, uint32*);
317 extern int _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s);
318 extern int _TIFFNoStripEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s);
[all …]
Dtif_open.c72 TIFF*
86 TIFF *tif;
119 tif = (TIFF *)_TIFFmalloc((tmsize_t)(sizeof (TIFF) + strlen(name) + 1));
125 tif->tif_name = (char *)tif + sizeof (TIFF);
486 return ((TIFF*)0);
497 TIFFFileName(TIFF* tif)
506 TIFFSetFileName(TIFF* tif, const char *name)
517 TIFFFileno(TIFF* tif)
526 TIFFSetFileno(TIFF* tif, int fd)
537 TIFFClientdata(TIFF* tif)
[all …]
Dtif_dirwrite.c38 extern void TIFFCvtNativeToIEEEFloat(TIFF* tif, uint32 n, float* fp);
39 extern void TIFFCvtNativeToIEEEDouble(TIFF* tif, uint32 n, double* dp);
42 static int TIFFWriteDirectorySec(TIFF* tif, int isimage, int imagedone, uint64* pdiroff);
44 static int TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
46 static int TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
49 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3…
50 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
52 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 …
54 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
56 static int TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
[all …]
Dtif_predict.c37 static void horAcc8(TIFF* tif, uint8* cp0, tmsize_t cc);
38 static void horAcc16(TIFF* tif, uint8* cp0, tmsize_t cc);
39 static void horAcc32(TIFF* tif, uint8* cp0, tmsize_t cc);
40 static void swabHorAcc16(TIFF* tif, uint8* cp0, tmsize_t cc);
41 static void swabHorAcc32(TIFF* tif, uint8* cp0, tmsize_t cc);
42 static void horDiff8(TIFF* tif, uint8* cp0, tmsize_t cc);
43 static void horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc);
44 static void horDiff32(TIFF* tif, uint8* cp0, tmsize_t cc);
45 static void swabHorDiff16(TIFF* tif, uint8* cp0, tmsize_t cc);
46 static void swabHorDiff32(TIFF* tif, uint8* cp0, tmsize_t cc);
[all …]
Dtif_ojpeg.c255 TIFF* tif;
348 static int OJPEGVGetField(TIFF* tif, uint32 tag, va_list ap);
349 static int OJPEGVSetField(TIFF* tif, uint32 tag, va_list ap);
350 static void OJPEGPrintDir(TIFF* tif, FILE* fd, long flags);
352 static int OJPEGFixupTags(TIFF* tif);
353 static int OJPEGSetupDecode(TIFF* tif);
354 static int OJPEGPreDecode(TIFF* tif, uint16 s);
355 static int OJPEGPreDecodeSkipRaw(TIFF* tif);
356 static int OJPEGPreDecodeSkipScanlines(TIFF* tif);
357 static int OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s);
[all …]
Dtif_compress.c35 TIFFNoEncode(TIFF* tif, const char* method) in TIFFNoEncode()
52 _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) in _TIFFNoRowEncode()
59 _TIFFNoStripEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) in _TIFFNoStripEncode()
66 _TIFFNoTileEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) in _TIFFNoTileEncode()
73 TIFFNoDecode(TIFF* tif, const char* method) in TIFFNoDecode()
89 _TIFFNoFixupTags(TIFF* tif) in _TIFFNoFixupTags()
96 _TIFFNoRowDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) in _TIFFNoRowDecode()
103 _TIFFNoStripDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) in _TIFFNoStripDecode()
110 _TIFFNoTileDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) in _TIFFNoTileDecode()
117 _TIFFNoSeek(TIFF* tif, uint32 off) in _TIFFNoSeek()
[all …]
Dtif_strip.c38 TIFFComputeStrip(TIFF* tif, uint32 row, uint16 sample) in TIFFComputeStrip()
61 TIFFNumberOfStrips(TIFF* tif) in TIFFNumberOfStrips()
78 TIFFVStripSize64(TIFF* tif, uint32 nrows) in TIFFVStripSize64()
130 TIFFVStripSize(TIFF* tif, uint32 nrows) in TIFFVStripSize()
149 TIFFRawStripSize64(TIFF* tif, uint32 strip) in TIFFRawStripSize64()
174 TIFFRawStripSize(TIFF* tif, uint32 strip) in TIFFRawStripSize()
203 TIFFStripSize64(TIFF* tif) in TIFFStripSize64()
212 TIFFStripSize(TIFF* tif) in TIFFStripSize()
234 TIFFDefaultStripSize(TIFF* tif, uint32 request) in TIFFDefaultStripSize()
240 _TIFFDefaultStripSize(TIFF* tif, uint32 s) in _TIFFDefaultStripSize()
[all …]
Dtif_tile.c38 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) in TIFFComputeTile()
75 TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) in TIFFCheckTile()
115 TIFFNumberOfTiles(TIFF* tif) in TIFFNumberOfTiles()
144 TIFFTileRowSize64(TIFF* tif) in TIFFTileRowSize64()
182 TIFFTileRowSize(TIFF* tif) in TIFFTileRowSize()
201 TIFFVTileSize64(TIFF* tif, uint32 nrows) in TIFFVTileSize64()
249 TIFFVTileSize(TIFF* tif, uint32 nrows) in TIFFVTileSize()
268 TIFFTileSize64(TIFF* tif) in TIFFTileSize64()
273 TIFFTileSize(TIFF* tif) in TIFFTileSize()
295 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) in TIFFDefaultTileSize()
[all …]
Dtif_zip.c86 static int ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
87 static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
90 ZIPFixupTags(TIFF* tif) in ZIPFixupTags()
97 ZIPSetupDecode(TIFF* tif) in ZIPSetupDecode()
123 ZIPPreDecode(TIFF* tif, uint16 s) in ZIPPreDecode()
149 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in ZIPDecode()
204 ZIPSetupEncode(TIFF* tif) in ZIPSetupEncode()
228 ZIPPreEncode(TIFF* tif, uint16 s) in ZIPPreEncode()
256 ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in ZIPEncode()
298 ZIPPostEncode(TIFF* tif) in ZIPPostEncode()
[all …]
Dtif_read.c34 int TIFFFillStrip(TIFF* tif, uint32 strip);
35 int TIFFFillTile(TIFF* tif, uint32 tile);
36 static int TIFFStartStrip(TIFF* tif, uint32 strip);
37 static int TIFFStartTile(TIFF* tif, uint32 tile);
38 static int TIFFCheckRead(TIFF*, int);
40 TIFFReadRawStrip1(TIFF* tif, uint32 strip, void* buf, tmsize_t size,const char* module);
46 TIFFFillStripPartial( TIFF *tif, int strip, tmsize_t read_ahead, int restart ) in TIFFFillStripPartial()
174 TIFFSeek(TIFF* tif, uint32 row, uint16 sample ) in TIFFSeek()
289 TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample) in TIFFReadScanline()
317 TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) in TIFFReadEncodedStrip()
[all …]
Dtif_extension.c36 int TIFFGetTagListCount( TIFF *tif ) in TIFFGetTagListCount()
44 uint32 TIFFGetTagListEntry( TIFF *tif, int tag_index ) in TIFFGetTagListEntry()
60 TIFFTagMethods *TIFFAccessTagMethods( TIFF *tif ) in TIFFAccessTagMethods()
66 void *TIFFGetClientInfo( TIFF *tif, const char *name ) in TIFFGetClientInfo()
80 void TIFFSetClientInfo( TIFF *tif, void *data, const char *name ) in TIFFSetClientInfo()
Dtif_dumpmode.c35 DumpFixupTags(TIFF* tif) in DumpFixupTags()
45 DumpModeEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) in DumpModeEncode()
78 DumpModeDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) in DumpModeDecode()
113 DumpModeSeek(TIFF* tif, uint32 nrows) in DumpModeSeek()
124 TIFFInitDumpMode(TIFF* tif, int scheme) in TIFFInitDumpMode()
Dtif_fax3.c147 Fax3PreDecode(TIFF* tif, uint16 s) in Fax3PreDecode()
180 Fax3Unexpected(const char* module, TIFF* tif, uint32 line, uint32 a0) in Fax3Unexpected()
190 Fax3Extension(const char* module, TIFF* tif, uint32 line, uint32 a0) in Fax3Extension()
201 Fax3BadLength(const char* module, TIFF* tif, uint32 line, uint32 a0, uint32 lastx) in Fax3BadLength()
212 Fax3PrematureEOF(const char* module, TIFF* tif, uint32 line, uint32 a0) in Fax3PrematureEOF()
227 Fax3Decode1D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax3Decode1D()
270 Fax3Decode2D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax3Decode2D()
459 Fax3FixupTags(TIFF* tif) in Fax3FixupTags()
473 Fax3SetupState(TIFF* tif) in Fax3SetupState()
603 Fax3PutBits(TIFF* tif, unsigned int bits, unsigned int length) in Fax3PutBits()
[all …]
Dtif_dirread.c51 extern void TIFFCvtIEEEFloatToNative(TIFF*, uint32, float*);
52 extern void TIFFCvtIEEEDoubleToNative(TIFF*, uint32, double*);
66 static enum TIFFReadDirEntryErr TIFFReadDirEntryByte(TIFF* tif, TIFFDirEntry* direntry, uint8* valu…
67 static enum TIFFReadDirEntryErr TIFFReadDirEntryShort(TIFF* tif, TIFFDirEntry* direntry, uint16* va…
68 static enum TIFFReadDirEntryErr TIFFReadDirEntryLong(TIFF* tif, TIFFDirEntry* direntry, uint32* val…
69 static enum TIFFReadDirEntryErr TIFFReadDirEntryLong8(TIFF* tif, TIFFDirEntry* direntry, uint64* va…
70 static enum TIFFReadDirEntryErr TIFFReadDirEntryFloat(TIFF* tif, TIFFDirEntry* direntry, float* val…
71 static enum TIFFReadDirEntryErr TIFFReadDirEntryDouble(TIFF* tif, TIFFDirEntry* direntry, double* v…
72 static enum TIFFReadDirEntryErr TIFFReadDirEntryIfd8(TIFF* tif, TIFFDirEntry* direntry, uint64* val…
74 static enum TIFFReadDirEntryErr TIFFReadDirEntryArray(TIFF* tif, TIFFDirEntry* direntry, uint32* co…
[all …]
Dtif_dir.h258 extern void _TIFFSetupFields(TIFF* tif, const TIFFFieldArray* infoarray);
259 extern void _TIFFPrintFieldInfo(TIFF*, FILE*);
261 extern int _TIFFFillStriles(TIFF*);
291 extern int _TIFFMergeFields(TIFF*, const TIFFField[], uint32);
292 extern const TIFFField* _TIFFFindOrRegisterField(TIFF *, uint32, TIFFDataType);
293 extern TIFFField* _TIFFCreateAnonField(TIFF *, uint32, TIFFDataType);
Dtif_write.c45 static int TIFFGrowStrips(TIFF* tif, uint32 delta, const char* module);
46 static int TIFFAppendToStrip(TIFF* tif, uint32 strip, uint8* data, tmsize_t cc);
49 TIFFWriteScanline(TIFF* tif, void* buf, uint32 row, uint16 sample) in TIFFWriteScanline()
188 TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc) in TIFFWriteEncodedStrip()
289 TIFFWriteRawStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc) in TIFFWriteRawStrip()
337 TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s) in TIFFWriteTile()
364 TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) in TIFFWriteEncodedTile()
473 TIFFWriteRawTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) in TIFFWriteRawTile()
493 TIFFSetupStrips(TIFF* tif) in TIFFSetupStrips()
533 TIFFWriteCheck(TIFF* tif, int tiles, const char* module) in TIFFWriteCheck()
[all …]
Dtif_jpeg.c47 int TIFFFillStrip(TIFF* tif, uint32 strip);
48 int TIFFFillTile(TIFF* tif, uint32 tile);
49 int TIFFReInitJPEG_12( TIFF *tif, int scheme, int is_encode );
163 TIFF* tif; /* back link needed by some code */
190 static int JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s);
191 static int JPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s);
192 static int JPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s);
193 static int JPEGEncodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s);
194 static int JPEGInitializeLibJPEG(TIFF * tif, int decode );
195 static int DecodeRowError(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s);
[all …]
Dtif_packbits.c37 PackBitsPreEncode(TIFF* tif, uint16 s) in PackBitsPreEncode()
54 PackBitsPostEncode(TIFF* tif) in PackBitsPostEncode()
65 PackBitsEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) in PackBitsEncode()
194 PackBitsEncodeChunk(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in PackBitsEncodeChunk()
213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in PackBitsDecode()
278 TIFFInitPackBits(TIFF* tif, int scheme) in TIFFInitPackBits()
Dtif_thunder.c71 ThunderSetupDecode(TIFF* tif) in ThunderSetupDecode()
88 ThunderDecode(TIFF* tif, uint8* op, tmsize_t maxpixels) in ThunderDecode()
168 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in ThunderDecodeRow()
189 TIFFInitThunderScan(TIFF* tif, int scheme) in TIFFInitThunderScan()
Dtif_lzw.c128 typedef int (*decodeFunc)(TIFF*, uint8*, tmsize_t, uint16);
161 static int LZWDecode(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s);
163 static int LZWDecodeCompat(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s);
192 LZWFixupTags(TIFF* tif) in LZWFixupTags()
199 LZWSetupDecode(TIFF* tif) in LZWSetupDecode()
261 LZWPreDecode(TIFF* tif, uint16 s) in LZWPreDecode()
352 codeLoop(TIFF* tif, const char* module) in codeLoop()
360 LZWDecode(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s) in LZWDecode()
588 LZWDecodeCompat(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s) in LZWDecodeCompat()
783 LZWSetupEncode(TIFF* tif) in LZWSetupEncode()
[all …]
Dtif_aux.c37 _TIFFMultiply32(TIFF* tif, uint32 first, uint32 second, const char* where) in _TIFFMultiply32()
50 _TIFFMultiply64(TIFF* tif, uint64 first, uint64 second, const char* where) in _TIFFMultiply64()
63 _TIFFCheckRealloc(TIFF* tif, void* buffer, in _TIFFCheckRealloc()
86 _TIFFCheckMalloc(TIFF* tif, tmsize_t nmemb, tmsize_t elem_size, const char* what) in _TIFFCheckMalloc()
170 TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap) in TIFFVGetFieldDefaulted()
299 TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...) in TIFFGetFieldDefaulted()
Dtif_codec.c34 static int NotConfigured(TIFF*, int);
106 _notConfigured(TIFF* tif) in _notConfigured()
119 NotConfigured(TIFF* tif, int scheme) in NotConfigured()
Dtif_dir.c130 checkInkNamesString(TIFF* tif, uint32 slen, const char* s) in checkInkNamesString()
156 _TIFFVSetField(TIFF* tif, uint32 tag, va_list ap) in _TIFFVSetField()
726 OkToChangeTag(TIFF* tif, uint32 tag) in OkToChangeTag()
758 TIFFSetField(TIFF* tif, uint32 tag, ...) in TIFFSetField()
773 TIFFUnsetField(TIFF* tif, uint32 tag) in TIFFUnsetField()
817 TIFFVSetField(TIFF* tif, uint32 tag, va_list ap) in TIFFVSetField()
824 _TIFFVGetField(TIFF* tif, uint32 tag, va_list ap) in _TIFFVGetField()
1152 TIFFGetField(TIFF* tif, uint32 tag, ...) in TIFFGetField()
1170 TIFFVGetField(TIFF* tif, uint32 tag, va_list ap) in TIFFVGetField()
1188 TIFFFreeDirectory(TIFF* tif) in TIFFFreeDirectory()
[all …]
Dtif_predict.h63 extern int TIFFPredictorInit(TIFF*);
64 extern int TIFFPredictorCleanup(TIFF*);

1234