/external/pdfium/third_party/libtiff/ |
D | tiffio.h | 40 typedef struct tiff TIFF; typedef 200 TIFF* tif; /* image handle */ 251 typedef int (*TIFFInitMethod)(TIFF*, int); 281 typedef void (*TIFFExtendProc)(TIFF*); 307 extern int TIFFGetTagListCount( TIFF * ); 308 extern uint32 TIFFGetTagListEntry( TIFF *, int tag_index ); 320 extern const TIFFField* TIFFFindField(TIFF *, uint32, TIFFDataType); 321 extern const TIFFField* TIFFFieldWithTag(TIFF*, uint32); 322 extern const TIFFField* TIFFFieldWithName(TIFF*, const char *); 331 typedef int (*TIFFVSetMethod)(TIFF*, uint32, va_list); [all …]
|
D | tiffiop.h | 93 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*); 321 extern int _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s); 322 extern int _TIFFNoStripEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s); [all …]
|
D | tif_open.c | 72 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 …]
|
D | tif_dirwrite.c | 39 extern void TIFFCvtNativeToIEEEFloat(TIFF* tif, uint32 n, float* fp); 40 extern void TIFFCvtNativeToIEEEDouble(TIFF* tif, uint32 n, double* dp); 43 static int TIFFWriteDirectorySec(TIFF* tif, int isimage, int imagedone, uint64* pdiroff); 45 static int TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1… 47 static int TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u… 50 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… 51 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t… 53 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 … 55 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u… 57 static int TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta… [all …]
|
D | tif_predict.c | 37 static int horAcc8(TIFF* tif, uint8* cp0, tmsize_t cc); 38 static int horAcc16(TIFF* tif, uint8* cp0, tmsize_t cc); 39 static int horAcc32(TIFF* tif, uint8* cp0, tmsize_t cc); 40 static int swabHorAcc16(TIFF* tif, uint8* cp0, tmsize_t cc); 41 static int swabHorAcc32(TIFF* tif, uint8* cp0, tmsize_t cc); 42 static int horDiff8(TIFF* tif, uint8* cp0, tmsize_t cc); 43 static int horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc); 44 static int horDiff32(TIFF* tif, uint8* cp0, tmsize_t cc); 45 static int swabHorDiff16(TIFF* tif, uint8* cp0, tmsize_t cc); 46 static int swabHorDiff32(TIFF* tif, uint8* cp0, tmsize_t cc); [all …]
|
D | tif_compress.c | 35 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 …]
|
D | tif_ojpeg.c | 255 TIFF* tif; 349 static int OJPEGVGetField(TIFF* tif, uint32 tag, va_list ap); 350 static int OJPEGVSetField(TIFF* tif, uint32 tag, va_list ap); 351 static void OJPEGPrintDir(TIFF* tif, FILE* fd, long flags); 353 static int OJPEGFixupTags(TIFF* tif); 354 static int OJPEGSetupDecode(TIFF* tif); 355 static int OJPEGPreDecode(TIFF* tif, uint16 s); 356 static int OJPEGPreDecodeSkipRaw(TIFF* tif); 357 static int OJPEGPreDecodeSkipScanlines(TIFF* tif); 358 static int OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); [all …]
|
D | tif_strip.c | 38 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 …]
|
D | tif_zip.c | 86 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() 127 ZIPPreDecode(TIFF* tif, uint16 s) in ZIPPreDecode() 153 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in ZIPDecode() 208 ZIPSetupEncode(TIFF* tif) in ZIPSetupEncode() 232 ZIPPreEncode(TIFF* tif, uint16 s) in ZIPPreEncode() 260 ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in ZIPEncode() 302 ZIPPostEncode(TIFF* tif) in ZIPPostEncode() [all …]
|
D | tif_tile.c | 38 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 …]
|
D | tif_read.c | 37 int TIFFFillStrip(TIFF* tif, uint32 strip); 38 int TIFFFillTile(TIFF* tif, uint32 tile); 39 static int TIFFStartStrip(TIFF* tif, uint32 strip); 40 static int TIFFStartTile(TIFF* tif, uint32 tile); 41 static int TIFFCheckRead(TIFF*, int); 43 TIFFReadRawStrip1(TIFF* tif, uint32 strip, void* buf, tmsize_t size,const char* module); 45 TIFFReadRawTile1(TIFF* tif, uint32 tile, void* buf, tmsize_t size, const char* module); 56 static int TIFFReadAndRealloc( TIFF* tif, tmsize_t size, in TIFFReadAndRealloc() 166 TIFFFillStripPartial( TIFF *tif, int strip, tmsize_t read_ahead, int restart ) in TIFFFillStripPartial() 295 TIFFSeek(TIFF* tif, uint32 row, uint16 sample ) in TIFFSeek() [all …]
|
D | tif_extension.c | 36 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()
|
D | tif_dirread.c | 53 extern void TIFFCvtIEEEFloatToNative(TIFF*, uint32, float*); 54 extern void TIFFCvtIEEEDoubleToNative(TIFF*, uint32, double*); 68 static enum TIFFReadDirEntryErr TIFFReadDirEntryByte(TIFF* tif, TIFFDirEntry* direntry, uint8* valu… 69 static enum TIFFReadDirEntryErr TIFFReadDirEntryShort(TIFF* tif, TIFFDirEntry* direntry, uint16* va… 70 static enum TIFFReadDirEntryErr TIFFReadDirEntryLong(TIFF* tif, TIFFDirEntry* direntry, uint32* val… 71 static enum TIFFReadDirEntryErr TIFFReadDirEntryLong8(TIFF* tif, TIFFDirEntry* direntry, uint64* va… 72 static enum TIFFReadDirEntryErr TIFFReadDirEntryFloat(TIFF* tif, TIFFDirEntry* direntry, float* val… 73 static enum TIFFReadDirEntryErr TIFFReadDirEntryDouble(TIFF* tif, TIFFDirEntry* direntry, double* v… 74 static enum TIFFReadDirEntryErr TIFFReadDirEntryIfd8(TIFF* tif, TIFFDirEntry* direntry, uint64* val… 76 static enum TIFFReadDirEntryErr TIFFReadDirEntryArray(TIFF* tif, TIFFDirEntry* direntry, uint32* co… [all …]
|
D | tif_dumpmode.c | 35 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()
|
D | tif_jpeg.c | 47 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 …]
|
D | 0025-upstream-OOM-gtTileContig.patch | 169 TIFF* tif = img->tif; 239 @@ -442,18 +442,17 @@ TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample) 250 -TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 251 +static tmsize_t TIFFReadEncodedStripGetStripSize(TIFF* tif, uint32 strip, uint16* pplane) 262 @@ -465,23 +464,37 @@ TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 293 +TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 306 @@ -510,6 +523,50 @@ TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size) 317 +_TIFFReadEncodedStripAndAllocBuffer(TIFF* tif, uint32 strip, 355 TIFFReadRawStrip1(TIFF* tif, uint32 strip, void* buf, tmsize_t size, 357 @@ -939,6 +996,78 @@ TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size) [all …]
|
D | tif_fax3.c | 147 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() 489 Fax3FixupTags(TIFF* tif) in Fax3FixupTags() 503 Fax3SetupState(TIFF* tif) in Fax3SetupState() 633 Fax3PutBits(TIFF* tif, unsigned int bits, unsigned int length) in Fax3PutBits() [all …]
|
D | tif_dir.h | 258 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);
|
D | tif_write.c | 45 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() 306 TIFFWriteRawStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc) in TIFFWriteRawStrip() 354 TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s) in TIFFWriteTile() 381 TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) in TIFFWriteEncodedTile() 507 TIFFWriteRawTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) in TIFFWriteRawTile() 527 TIFFSetupStrips(TIFF* tif) in TIFFSetupStrips() 567 TIFFWriteCheck(TIFF* tif, int tiles, const char* module) in TIFFWriteCheck() [all …]
|
D | tif_predict.h | 33 typedef int (*TIFFEncodeDecodeMethod)(TIFF* tif, uint8* buf, tmsize_t size); 65 extern int TIFFPredictorInit(TIFF*); 66 extern int TIFFPredictorCleanup(TIFF*);
|
D | tif_packbits.c | 37 PackBitsPreEncode(TIFF* tif, uint16 s) in PackBitsPreEncode() 55 PackBitsPostEncode(TIFF* tif) in PackBitsPostEncode() 66 PackBitsEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) in PackBitsEncode() 197 PackBitsEncodeChunk(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in PackBitsEncodeChunk() 216 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in PackBitsDecode() 289 TIFFInitPackBits(TIFF* tif, int scheme) in TIFFInitPackBits()
|
D | tif_thunder.c | 71 ThunderSetupDecode(TIFF* tif) in ThunderSetupDecode() 88 ThunderDecode(TIFF* tif, uint8* op, tmsize_t maxpixels) in ThunderDecode() 169 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in ThunderDecodeRow() 190 TIFFInitThunderScan(TIFF* tif, int scheme) in TIFFInitThunderScan()
|
D | tif_aux.c | 37 _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() 174 TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap) in TIFFVGetFieldDefaulted() 310 TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...) in TIFFGetFieldDefaulted()
|
D | tif_lzw.c | 128 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() 597 LZWDecodeCompat(TIFF* tif, uint8* op0, tmsize_t occ0, uint16 s) in LZWDecodeCompat() 797 LZWSetupEncode(TIFF* tif) in LZWSetupEncode() [all …]
|
D | tif_codec.c | 34 static int NotConfigured(TIFF*, int); 106 _notConfigured(TIFF* tif) in _notConfigured() 119 NotConfigured(TIFF* tif, int scheme) in NotConfigured()
|