/external/pdfium/third_party/libtiff/ |
tiffio.h | 31 * TIFF I/O Library Definitions. 33 #include "tiff.h" 37 * TIFF is defined as an incomplete type to hide the 40 typedef struct tiff TIFF; 46 * in tiff.h. Note also that the varargs interface used 48 * tiff.h directly. 200 TIFF* tif; /* image handle */ 251 typedef int (*TIFFInitMethod)(TIFF*, int); 281 typedef void (*TIFFExtendProc)(TIFF*); [all...] |
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*); 102 struct tiff { struct 317 extern int _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) [all...] |
tif_predict.h | 63 extern int TIFFPredictorInit(TIFF*); 64 extern int TIFFPredictorCleanup(TIFF*);
|
tif_extension.c | 28 * TIFF Library. 36 int TIFFGetTagListCount( TIFF *tif ) 44 uint32 TIFFGetTagListEntry( TIFF *tif, int tag_index ) 56 ** This provides read/write access to the TIFFTagMethods within the TIFF 58 ** TIFF structure. 60 TIFFTagMethods *TIFFAccessTagMethods( TIFF *tif ) 66 void *TIFFGetClientInfo( TIFF *tif, const char *name ) 80 void TIFFSetClientInfo( TIFF *tif, void *data, const char *name )
|
tif_open.c | 28 * TIFF Library. 72 TIFF* 86 TIFF *tif; 119 tif = (TIFF *)_TIFFmalloc((tmsize_t)(sizeof (TIFF) + strlen(name) + 1)); 121 TIFFErrorExt(clientdata, module, "%s: Out of memory (TIFF structure)", name); 125 tif->tif_name = (char *)tif + sizeof (TIFF); 171 * TIFF but only supports some braindead idea of what the 172 * vendor thinks TIFF is): 183 * 'h' read TIFF header only, do not load the first IF [all...] |
tif_dumpmode.c | 28 * TIFF Library. 35 DumpFixupTags(TIFF* tif) 45 DumpModeEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 78 DumpModeDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 113 DumpModeSeek(TIFF* tif, uint32 nrows) 124 TIFFInitDumpMode(TIFF* tif, int scheme)
|
tif_compress.c | 28 * TIFF Library 35 TIFFNoEncode(TIFF* tif, const char* method) 52 _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 59 _TIFFNoStripEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 66 _TIFFNoTileEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 73 TIFFNoDecode(TIFF* tif, const char* method) 89 _TIFFNoFixupTags(TIFF* tif) 96 _TIFFNoRowDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 103 _TIFFNoStripDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) 110 _TIFFNoTileDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s [all...] |
tif_tile.c | 28 * TIFF Library. 38 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) 75 TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) 115 TIFFNumberOfTiles(TIFF* tif) 144 TIFFTileRowSize64(TIFF* tif) 182 TIFFTileRowSize(TIFF* tif) 201 TIFFVTileSize64(TIFF* tif, uint32 nrows) 249 TIFFVTileSize(TIFF* tif, uint32 nrows) 268 TIFFTileSize64(TIFF* tif) 273 TIFFTileSize(TIFF* tif [all...] |
tif_strip.c | 28 * TIFF Library. 38 TIFFComputeStrip(TIFF* tif, uint32 row, uint16 sample) 61 TIFFNumberOfStrips(TIFF* tif) 78 TIFFVStripSize64(TIFF* tif, uint32 nrows) 130 TIFFVStripSize(TIFF* tif, uint32 nrows) 149 TIFFRawStripSize64(TIFF* tif, uint32 strip) 174 TIFFRawStripSize(TIFF* tif, uint32 strip) 203 TIFFStripSize64(TIFF* tif) 212 TIFFStripSize(TIFF* tif) 234 TIFFDefaultStripSize(TIFF* tif, uint32 request [all...] |
tif_predict.c | 28 * TIFF Library. 37 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) [all...] |
tif_dirwrite.c | 28 * TIFF Library. 38 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, uint16 tag, uint32 count, double* value); 46 static int TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double value); 49 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, char* value); 50 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, uint8* value); 52 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 value); 54 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, uint8* value) [all...] |
tif_ojpeg.c | 3 /* WARNING: The type of JPEG encapsulation defined by the TIFF Version 6.0 10 The code is carefully crafted to robustly read all gathered JPEG-in-TIFF 12 fail on some. If you encounter problems, please report them on the TIFF 15 Please read the file called "TIFF Technical Note #2" if you need to be 16 convinced this compression scheme is bad and breaks TIFF. That document 18 and from AWare Systems' TIFF section 19 <http://www.awaresystems.be/imaging/tiff.html>. It is also absorbed 21 supported by the TIFF community. 72 in new-style JPEG-in-TIFF, though, or even more so, actually, the YCbCrsubsampling 88 striles, as is also probably the most likely interpretation of the original TIFF 6. [all...] |
tif_dir.h | 40 * TIFF Image File Directories are comprised of a table of field 62 * Internal format of a TIFF directory entry. 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);
|
tif_codec.c | 28 * TIFF Library 34 static int NotConfigured(TIFF*, int); 106 _notConfigured(TIFF* tif) 119 NotConfigured(TIFF* tif, int scheme)
|
tif_close.c | 28 * TIFF Library. 38 * Auxiliary function to free the TIFF structure. Given structure will be 43 * @param tif A TIFF pointer. 47 TIFFCleanup(TIFF* tif) 113 * Close a previously opened TIFF file. 119 * @param tif A TIFF pointer. 123 TIFFClose(TIFF* tif)
|
tif_flush.c | 28 * TIFF Library. 33 TIFFFlush(TIFF* tif) 99 TIFFFlushData(TIFF* tif)
|
tif_zip.c | 30 * TIFF Library. 67 * State block for each open TIFF 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) 97 ZIPSetupDecode(TIFF* tif) 123 ZIPPreDecode(TIFF* tif, uint16 s) 149 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) 204 ZIPSetupEncode(TIFF* tif) 228 ZIPPreEncode(TIFF* tif, uint16 s [all...] |
tif_next.c | 30 * TIFF Library. 49 NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) 153 NeXTPreDecode(TIFF* tif, uint16 s) 169 TIFFInitNeXT(TIFF* tif, int scheme)
|
tif_read.c | 28 * TIFF Library. 34 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 ) 174 TIFFSeek(TIFF* tif, uint32 row, uint16 sample ) 289 TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample [all...] |
tif_thunder.c | 31 * TIFF Library. 71 ThunderSetupDecode(TIFF* tif) 88 ThunderDecode(TIFF* tif, uint8* op, tmsize_t maxpixels) 168 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) 189 TIFFInitThunderScan(TIFF* tif, int scheme)
|
tif_packbits.c | 30 * TIFF Library. 37 PackBitsPreEncode(TIFF* tif, uint16 s) 54 PackBitsPostEncode(TIFF* tif) 65 PackBitsEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 194 PackBitsEncodeChunk(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) 213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) 278 TIFFInitPackBits(TIFF* tif, int scheme)
|
tif_fax3.c | 30 * TIFF Library. 34 * This file contains support for decoding and encoding TIFF 100 * These macros glue the TIFF library state to 147 Fax3PreDecode(TIFF* tif, uint16 s) 180 Fax3Unexpected(const char* module, TIFF* tif, uint32 line, uint32 a0) 190 Fax3Extension(const char* module, TIFF* tif, uint32 line, uint32 a0) 201 Fax3BadLength(const char* module, TIFF* tif, uint32 line, uint32 a0, uint32 lastx) 212 Fax3PrematureEOF(const char* module, TIFF* tif, uint32 line, uint32 a0) 227 Fax3Decode1D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) 270 Fax3Decode2D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s [all...] |
tif_write.c | 28 * TIFF Library. 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) 188 TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc) 289 TIFFWriteRawStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc) 337 TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s) 364 TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) 473 TIFFWriteRawTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc) 493 TIFFSetupStrips(TIFF* tif [all...] |
tif_dirread.c | 28 * TIFF Library. 51 extern void TIFFCvtIEEEFloatToNative(TIFF*, uint32, float*); 52 extern void TIFFCvtIEEEDoubleToNative(TIFF*, uint32, double*); 66 static enum TIFFReadDirEntryErr TIFFReadDirEntryByte(TIFF* tif, TIFFDirEntry* direntry, uint8* value); 67 static enum TIFFReadDirEntryErr TIFFReadDirEntryShort(TIFF* tif, TIFFDirEntry* direntry, uint16* value); 68 static enum TIFFReadDirEntryErr TIFFReadDirEntryLong(TIFF* tif, TIFFDirEntry* direntry, uint32* value); 69 static enum TIFFReadDirEntryErr TIFFReadDirEntryLong8(TIFF* tif, TIFFDirEntry* direntry, uint64* value); 70 static enum TIFFReadDirEntryErr TIFFReadDirEntryFloat(TIFF* tif, TIFFDirEntry* direntry, float* value); 71 static enum TIFFReadDirEntryErr TIFFReadDirEntryDouble(TIFF* tif, TIFFDirEntry* direntry, double* value); 72 static enum TIFFReadDirEntryErr TIFFReadDirEntryIfd8(TIFF* tif, TIFFDirEntry* direntry, uint64* value) [all...] |
tif_aux.c | 28 * TIFF Library. 37 _TIFFMultiply32(TIFF* tif, uint32 first, uint32 second, const char* where) 50 _TIFFMultiply64(TIFF* tif, uint64 first, uint64 second, const char* where) 63 _TIFFCheckRealloc(TIFF* tif, void* buffer, 86 _TIFFCheckMalloc(TIFF* tif, tmsize_t nmemb, tmsize_t elem_size, const char* what) 170 TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap) 265 /* TIFF 6.0 specification tells that it is no default 266 value for the WhitePoint, but AdobePhotoshop TIFF 299 TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...)
|