/external/opencv3/3rdparty/libtiff/ |
H A D | tif_flush.c | 33 TIFFFlush(TIFF* tif) argument 35 if( tif->tif_mode == O_RDONLY ) 38 if (!TIFFFlushData(tif)) 46 if( (tif->tif_flags & TIFF_DIRTYSTRIP) 47 && !(tif->tif_flags & TIFF_DIRTYDIRECT) 48 && tif->tif_mode == O_RDWR ) 52 if( TIFFIsTiled(tif) ) 54 if( TIFFGetField( tif, TIFFTAG_TILEOFFSETS, &offsets ) 55 && TIFFGetField( tif, TIFFTAG_TILEBYTECOUNTS, &sizes ) 56 && _TIFFRewriteField( tif, TIFFTAG_TILEOFFSET 99 TIFFFlushData(TIFF* tif) argument [all...] |
H A D | tif_jpeg_12.c | 12 int TIFFReInitJPEG_12( TIFF *tif, int scheme, int is_encode ) argument 19 sp = JState(tif); 20 sp->tif = tif; /* back link */ 25 tif->tif_tagmethods.vgetfield = JPEGVGetField; /* hook for codec tags */ 26 tif->tif_tagmethods.vsetfield = JPEGVSetField; /* hook for codec tags */ 27 tif->tif_tagmethods.printdir = JPEGPrintDir; /* hook for codec tags */ 32 tif->tif_fixuptags = JPEGFixupTags; 33 tif->tif_setupdecode = JPEGSetupDecode; 34 tif [all...] |
H A D | tif_close.c | 43 * @param tif A TIFF pointer. 47 TIFFCleanup(TIFF* tif) argument 52 if (tif->tif_mode != O_RDONLY) 53 TIFFFlush(tif); 54 (*tif->tif_cleanup)(tif); 55 TIFFFreeDirectory(tif); 57 if (tif->tif_dirlist) 58 _TIFFfree(tif->tif_dirlist); 63 while( tif 123 TIFFClose(TIFF* tif) argument [all...] |
H A D | tif_extension.c | 36 int TIFFGetTagListCount( TIFF *tif ) 39 TIFFDirectory* td = &tif->tif_dir; 44 uint32 TIFFGetTagListEntry( TIFF *tif, int tag_index ) argument 47 TIFFDirectory* td = &tif->tif_dir; 60 TIFFTagMethods *TIFFAccessTagMethods( TIFF *tif ) 63 return &(tif->tif_tagmethods); 66 void *TIFFGetClientInfo( TIFF *tif, const char *name ) argument 69 TIFFClientInfoLink *link = tif->tif_clientinfo; 80 void TIFFSetClientInfo( TIFF *tif, void *data, const char *name ) argument 83 TIFFClientInfoLink *link = tif [all...] |
H A D | tif_dumpmode.c | 35 DumpFixupTags(TIFF* tif) argument 37 (void) tif; 45 DumpModeEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) argument 52 if (tif->tif_rawcc + n > tif->tif_rawdatasize) 53 n = tif->tif_rawdatasize - tif->tif_rawcc; 61 if (tif->tif_rawcp != pp) 62 _TIFFmemcpy(tif->tif_rawcp, pp, n); 63 tif 78 DumpModeDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) argument 113 DumpModeSeek(TIFF* tif, uint32 nrows) argument 124 TIFFInitDumpMode(TIFF* tif, int scheme) argument [all...] |
H A D | tif_codec.c | 106 _notConfigured(TIFF* tif) argument 108 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); 111 sprintf( compression_code, "%d", tif->tif_dir.td_compression ); 112 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 119 NotConfigured(TIFF* tif, int scheme) argument 123 tif->tif_fixuptags = _notConfigured; 124 tif->tif_decodestatus = FALSE; 125 tif->tif_setupdecode = _notConfigured; 126 tif [all...] |
H A D | tif_jbig.c | 40 static int JBIGSetupDecode(TIFF* tif) argument 42 if (TIFFNumberOfStrips(tif) != 1) 44 TIFFErrorExt(tif->tif_clientdata, "JBIG", "Multistrip images not supported in decoder"); 51 static int JBIGDecode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) argument 58 if (isFillOrder(tif, tif->tif_dir.td_fillorder)) 60 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawdatasize); 66 jbg_newlen(tif->tif_rawdata, (size_t)tif 106 JBIGSetupEncode(TIFF* tif) argument 117 JBIGCopyEncodedData(TIFF* tif, unsigned char* pp, size_t cc, uint16 s) argument 147 TIFF* tif = (TIFF*)userData; local 157 JBIGEncode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) argument 181 TIFFInitJBIG(TIFF* tif, int scheme) argument [all...] |
H A D | tif_next.c | 49 NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument 66 bp = (unsigned char *)tif->tif_rawcp; 67 cc = tif->tif_rawcc; 68 scanline = tif->tif_scanlinesize; 71 TIFFErrorExt(tif->tif_clientdata, module, "Fractional scanlines cannot be read"); 104 uint32 imagewidth = tif->tif_dir.td_imagewidth; 133 tif->tif_rawcp = (uint8*) bp; 134 tif->tif_rawcc = cc; 137 TIFFErrorExt(tif->tif_clientdata, module, "Not enough data for scanline %ld", 138 (long) tif 143 TIFFInitNeXT(TIFF* tif, int scheme) argument [all...] |
H A D | tif_packbits.c | 37 PackBitsPreEncode(TIFF* tif, uint16 s) argument 41 if (!(tif->tif_data = (uint8*)_TIFFmalloc(sizeof(tmsize_t)))) 46 if (isTiled(tif)) 47 *(tmsize_t*)tif->tif_data = TIFFTileRowSize(tif); 49 *(tmsize_t*)tif->tif_data = TIFFScanlineSize(tif); 54 PackBitsPostEncode(TIFF* tif) argument 56 if (tif->tif_data) 57 _TIFFfree(tif 65 PackBitsEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) argument 194 PackBitsEncodeChunk(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) argument 213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument 272 TIFFInitPackBits(TIFF* tif, int scheme) argument [all...] |
H A D | tif_aux.c | 37 _TIFFMultiply32(TIFF* tif, uint32 first, uint32 second, const char* where) argument 42 TIFFErrorExt(tif->tif_clientdata, where, "Integer overflow in %s", where); 50 _TIFFMultiply64(TIFF* tif, uint64 first, uint64 second, const char* where) argument 55 TIFFErrorExt(tif->tif_clientdata, where, "Integer overflow in %s", where); 63 _TIFFCheckRealloc(TIFF* tif, void* buffer, argument 76 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 86 _TIFFCheckMalloc(TIFF* tif, tmsize_t nmemb, tmsize_t elem_size, const char* what) argument 88 return _TIFFCheckRealloc(tif, NULL, nmemb, elem_size, what); 170 TIFFVGetFieldDefaulted(TIFF* tif, uint3 argument 299 TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...) argument [all...] |
H A D | tif_compress.c | 35 TIFFNoEncode(TIFF* tif, const char* method) argument 37 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); 40 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 44 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 46 tif->tif_dir.td_compression, method); 52 _TIFFNoRowEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) argument 55 return (TIFFNoEncode(tif, "scanline")); 59 _TIFFNoStripEncode(TIFF* tif, uint argument 66 _TIFFNoTileEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) argument 73 TIFFNoDecode(TIFF* tif, const char* method) argument 89 _TIFFNoFixupTags(TIFF* tif) argument 96 _TIFFNoRowDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) argument 103 _TIFFNoStripDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) argument 110 _TIFFNoTileDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) argument 117 _TIFFNoSeek(TIFF* tif, uint32 off) argument 126 _TIFFNoPreCode(TIFF* tif, uint16 s) argument 132 _TIFFtrue(TIFF* tif) argument 133 _TIFFvoid(TIFF* tif) argument 136 _TIFFSetDefaultCompressionState(TIFF* tif) argument 161 TIFFSetCompressionScheme(TIFF* tif, int scheme) argument [all...] |
H A D | tif_print.c | 141 _TIFFPrettyPrintField(TIFF* tif, const TIFFField *fip, FILE* fd, uint32 tag, argument 144 (void) tif; 234 TIFFPrintDirectory(TIFF* tif, FILE* fd, long flags) argument 236 TIFFDirectory *td = &tif->tif_dir; 243 (unsigned __int64) tif->tif_diroff, 244 (unsigned __int64) tif->tif_diroff); 247 (unsigned long long) tif->tif_diroff, 248 (unsigned long long) tif->tif_diroff); 250 if (TIFFFieldSet(tif,FIELD_SUBFILETYPE)) { 266 if (TIFFFieldSet(tif,FIELD_IMAGEDIMENSION [all...] |
H A D | tif_stream.cxx | 358 TIFF* tif; local 366 tif = TIFFClientOpen(name, mode, 380 tif = TIFFClientOpen(name, mode, 391 return (tif);
|
H A D | tif_strip.c | 38 TIFFComputeStrip(TIFF* tif, uint32 row, uint16 sample) argument 41 TIFFDirectory *td = &tif->tif_dir; 47 TIFFErrorExt(tif->tif_clientdata, module, 61 TIFFNumberOfStrips(TIFF* tif) argument 63 TIFFDirectory *td = &tif->tif_dir; 69 nstrips = _TIFFMultiply32(tif, nstrips, (uint32)td->td_samplesperpixel, 78 TIFFVStripSize64(TIFF* tif, uint32 nrows) argument 81 TIFFDirectory *td = &tif->tif_dir; 86 (!isUpSampled(tif))) 104 TIFFErrorExt(tif 130 TIFFVStripSize(TIFF* tif, uint32 nrows) argument 149 TIFFRawStripSize64(TIFF* tif, uint32 strip) argument 174 TIFFRawStripSize(TIFF* tif, uint32 strip) argument 203 TIFFStripSize64(TIFF* tif) argument 212 TIFFStripSize(TIFF* tif) argument 234 TIFFDefaultStripSize(TIFF* tif, uint32 request) argument 240 _TIFFDefaultStripSize(TIFF* tif, uint32 s) argument 274 TIFFScanlineSize64(TIFF* tif) argument 324 TIFFScanlineSize(TIFF* tif) argument 346 TIFFRasterScanlineSize64(TIFF* tif) argument 361 TIFFRasterScanlineSize(TIFF* tif) argument [all...] |
H A D | tif_thunder.c | 71 ThunderSetupDecode(TIFF* tif) argument 75 if( tif->tif_dir.td_bitspersample != 4 ) 77 TIFFErrorExt(tif->tif_clientdata, module, 79 (int) tif->tif_dir.td_bitspersample ); 88 ThunderDecode(TIFF* tif, uint8* op, tmsize_t maxpixels) argument 96 bp = (unsigned char *)tif->tif_rawcp; 97 cc = tif->tif_rawcc; 143 tif->tif_rawcp = (uint8*) bp; 144 tif->tif_rawcc = cc; 147 TIFFErrorExt(tif 168 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument 189 TIFFInitThunderScan(TIFF* tif, int scheme) argument [all...] |
H A D | tif_tile.c | 38 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) argument 40 TIFFDirectory *td = &tif->tif_dir; 75 TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) argument 77 TIFFDirectory *td = &tif->tif_dir; 80 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 87 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 94 TIFFErrorExt(tif->tif_clientdata, tif 115 TIFFNumberOfTiles(TIFF* tif) argument 144 TIFFTileRowSize64(TIFF* tif) argument 159 TIFFTileRowSize(TIFF* tif) argument 178 TIFFVTileSize64(TIFF* tif, uint32 nrows) argument 226 TIFFVTileSize(TIFF* tif, uint32 nrows) argument 245 TIFFTileSize64(TIFF* tif) argument 250 TIFFTileSize(TIFF* tif) argument 272 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument 278 _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument [all...] |
H A D | tif_zip.c | 80 #define ZState(tif) ((ZIPState*) (tif)->tif_data) 81 #define DecoderState(tif) ZState(tif) 82 #define EncoderState(tif) ZState(tif) 84 static int ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); 85 static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); 88 ZIPFixupTags(TIFF* tif) argument 90 (void) tif; 95 ZIPSetupDecode(TIFF* tif) argument 121 ZIPPreDecode(TIFF* tif, uint16 s) argument 147 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument 202 ZIPSetupEncode(TIFF* tif) argument 226 ZIPPreEncode(TIFF* tif, uint16 s) argument 254 ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) argument 295 ZIPPostEncode(TIFF* tif) argument 325 ZIPCleanup(TIFF* tif) argument 350 ZIPVSetField(TIFF* tif, uint32 tag, va_list ap) argument 374 ZIPVGetField(TIFF* tif, uint32 tag, va_list ap) argument 393 TIFFInitZIP(TIFF* tif, int scheme) argument [all...] |
/external/pdfium/third_party/libtiff/ |
H A D | tif_flush.c | 33 TIFFFlush(TIFF* tif) argument 35 if( tif->tif_mode == O_RDONLY ) 38 if (!TIFFFlushData(tif)) 46 if( (tif->tif_flags & TIFF_DIRTYSTRIP) 47 && !(tif->tif_flags & TIFF_DIRTYDIRECT) 48 && tif->tif_mode == O_RDWR ) 52 if( TIFFIsTiled(tif) ) 54 if( TIFFGetField( tif, TIFFTAG_TILEOFFSETS, &offsets ) 55 && TIFFGetField( tif, TIFFTAG_TILEBYTECOUNTS, &sizes ) 56 && _TIFFRewriteField( tif, TIFFTAG_TILEOFFSET 99 TIFFFlushData(TIFF* tif) argument [all...] |
H A D | tif_close.c | 43 * @param tif A TIFF pointer. 47 TIFFCleanup(TIFF* tif) argument 52 if (tif->tif_mode != O_RDONLY) 53 TIFFFlush(tif); 54 (*tif->tif_cleanup)(tif); 55 TIFFFreeDirectory(tif); 57 if (tif->tif_dirlist) 58 _TIFFfree(tif->tif_dirlist); 63 while( tif 123 TIFFClose(TIFF* tif) argument [all...] |
H A D | tif_extension.c | 36 int TIFFGetTagListCount( TIFF *tif ) 39 TIFFDirectory* td = &tif->tif_dir; 44 uint32 TIFFGetTagListEntry( TIFF *tif, int tag_index ) argument 47 TIFFDirectory* td = &tif->tif_dir; 60 TIFFTagMethods *TIFFAccessTagMethods( TIFF *tif ) 63 return &(tif->tif_tagmethods); 66 void *TIFFGetClientInfo( TIFF *tif, const char *name ) argument 69 TIFFClientInfoLink *link = tif->tif_clientinfo; 80 void TIFFSetClientInfo( TIFF *tif, void *data, const char *name ) argument 83 TIFFClientInfoLink *link = tif [all...] |
H A D | tif_dumpmode.c | 35 DumpFixupTags(TIFF* tif) argument 37 (void) tif; 45 DumpModeEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s) argument 52 if (tif->tif_rawcc + n > tif->tif_rawdatasize) 53 n = tif->tif_rawdatasize - tif->tif_rawcc; 61 if (tif->tif_rawcp != pp) 62 _TIFFmemcpy(tif->tif_rawcp, pp, n); 63 tif 78 DumpModeDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) argument 113 DumpModeSeek(TIFF* tif, uint32 nrows) argument 124 TIFFInitDumpMode(TIFF* tif, int scheme) argument [all...] |
H A D | tif_codec.c | 106 _notConfigured(TIFF* tif) argument 108 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); 111 sprintf(compression_code, "%d",tif->tif_dir.td_compression ); 112 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 119 NotConfigured(TIFF* tif, int scheme) argument 123 tif->tif_fixuptags = _notConfigured; 124 tif->tif_decodestatus = FALSE; 125 tif->tif_setupdecode = _notConfigured; 126 tif [all...] |
H A D | tif_next.c | 49 NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument 66 bp = (unsigned char *)tif->tif_rawcp; 67 cc = tif->tif_rawcc; 68 scanline = tif->tif_scanlinesize; 71 TIFFErrorExt(tif->tif_clientdata, module, "Fractional scanlines cannot be read"); 106 uint32 imagewidth = tif->tif_dir.td_imagewidth; 107 if( isTiled(tif) ) 108 imagewidth = tif->tif_dir.td_tilewidth; 137 tif->tif_rawcp = (uint8*) bp; 138 tif 147 NeXTPreDecode(TIFF* tif, uint16 s) argument 163 TIFFInitNeXT(TIFF* tif, int scheme) argument [all...] |
H A D | tif_packbits.c | 37 PackBitsPreEncode(TIFF* tif, uint16 s) argument 41 if (!(tif->tif_data = (uint8*)_TIFFmalloc(sizeof(tmsize_t)))) 46 if (isTiled(tif)) 47 *(tmsize_t*)tif->tif_data = TIFFTileRowSize(tif); 49 *(tmsize_t*)tif->tif_data = TIFFScanlineSize(tif); 54 PackBitsPostEncode(TIFF* tif) argument 56 if (tif->tif_data) 57 _TIFFfree(tif 65 PackBitsEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) argument 194 PackBitsEncodeChunk(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) argument 213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument 278 TIFFInitPackBits(TIFF* tif, int scheme) argument [all...] |
H A D | tif_aux.c | 37 _TIFFMultiply32(TIFF* tif, uint32 first, uint32 second, const char* where) argument 42 TIFFErrorExt(tif->tif_clientdata, where, "Integer overflow in %s", where); 50 _TIFFMultiply64(TIFF* tif, uint64 first, uint64 second, const char* where) argument 55 TIFFErrorExt(tif->tif_clientdata, where, "Integer overflow in %s", where); 63 _TIFFCheckRealloc(TIFF* tif, void* buffer, argument 76 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 86 _TIFFCheckMalloc(TIFF* tif, tmsize_t nmemb, tmsize_t elem_size, const char* what) argument 88 return _TIFFCheckRealloc(tif, NULL, nmemb, elem_size, what); 170 TIFFVGetFieldDefaulted(TIFF* tif, uint3 argument 299 TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...) argument [all...] |