/haiku-fatelf/src/libs/tiff/ |
H A D | tif_tile.c | 35 summarize(TIFF* tif, size_t summand1, size_t summand2, const char* where) argument 44 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "Integer overflow in %s", where); 52 multiply(TIFF* tif, size_t nmemb, size_t elem_size, const char* where) argument 57 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "Integer overflow in %s", where); 68 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, tsample_t s) argument 70 TIFFDirectory *td = &tif->tif_dir; 105 TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, tsample_t s) argument 107 TIFFDirectory *td = &tif 145 TIFFNumberOfTiles(TIFF* tif) argument 174 TIFFTileRowSize(TIFF* tif) argument 193 TIFFVTileSize(TIFF* tif, uint32 nrows) argument 241 TIFFTileSize(TIFF* tif) argument 253 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument 259 _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument [all...] |
H A D | tif_next.c | 49 NeXTDecode(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 65 bp = (unsigned char *)tif->tif_rawcp; 66 cc = tif->tif_rawcc; 67 scanline = tif->tif_scanlinesize; 98 uint32 imagewidth = tif->tif_dir.td_imagewidth; 127 tif->tif_rawcp = (tidata_t) bp; 128 tif->tif_rawcc = cc; 131 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "NeXTDecode: Not enough data for scanline %ld", 132 (long) tif 137 TIFFInitNeXT(TIFF* tif, int scheme) argument [all...] |
H A D | tif_luv.c | 173 #define DecoderState(tif) ((LogLuvState*) (tif)->tif_data) 174 #define EncoderState(tif) ((LogLuvState*) (tif)->tif_data) 184 LogL16Decode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 186 LogLuvState* sp = DecoderState(tif); 206 bp = (unsigned char*) tif->tif_rawcp; 207 cc = tif->tif_rawcc; 223 TIFFErrorExt(tif->tif_clientdata, tif 241 LogLuvDecode24(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 283 LogLuvDecode32(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 343 LogLuvDecodeStrip(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 359 LogLuvDecodeTile(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 373 LogL16Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 461 LogLuvEncode24(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 506 LogLuvEncode32(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 596 LogLuvEncodeStrip(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 611 LogLuvEncodeTile(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1176 LogL16InitState(TIFF* tif) argument 1269 LogLuvInitState(TIFF* tif) argument 1318 LogLuvSetupDecode(TIFF* tif) argument 1379 LogLuvSetupEncode(TIFF* tif) argument 1447 LogLuvClose(TIFF* tif) argument 1465 LogLuvCleanup(TIFF* tif) argument 1483 LogLuvVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 1541 LogLuvVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 1562 TIFFInitSGILog(TIFF* tif, int scheme) argument [all...] |
H A D | tif_fax3.c | 68 #define Fax3State(tif) ((Fax3BaseState*) (tif)->tif_data) 92 #define DecoderState(tif) ((Fax3CodecState*) Fax3State(tif)) 93 #define EncoderState(tif) ((Fax3CodecState*) Fax3State(tif)) 107 #define DECLARE_STATE(tif, sp, mod) \ 109 Fax3CodecState* sp = DecoderState(tif); \ 122 #define DECLARE_STATE_2D(tif, sp, mod) \ 123 DECLARE_STATE(tif, s 151 Fax3PreDecode(TIFF* tif, tsample_t s) argument 184 Fax3Unexpected(const char* module, TIFF* tif, uint32 line, uint32 a0) argument 194 Fax3Extension(const char* module, TIFF* tif, uint32 line, uint32 a0) argument 205 Fax3BadLength(const char* module, TIFF* tif, uint32 line, uint32 a0, uint32 lastx) argument 217 Fax3PrematureEOF(const char* module, TIFF* tif, uint32 line, uint32 a0) argument 233 Fax3Decode1D(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 272 Fax3Decode2D(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 463 Fax3SetupState(TIFF* tif) argument 590 Fax3PutBits(TIFF* tif, unsigned int bits, unsigned int length) argument 625 putspan(TIFF* tif, int32 span, const tableentry* tab) argument 668 Fax3PutEOL(TIFF* tif) argument 705 Fax3PreEncode(TIFF* tif, tsample_t s) argument 934 Fax3Encode1DRow(TIFF* tif, unsigned char* bp, uint32 bits) argument 981 Fax3Encode2DRow(TIFF* tif, unsigned char* bp, unsigned char* rp, uint32 bits) argument 1026 Fax3Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1061 Fax3PostEncode(TIFF* tif) argument 1071 Fax3Close(TIFF* tif) argument 1088 Fax3Cleanup(TIFF* tif) argument 1159 Fax3VSetField(TIFF* tif, ttag_t tag, va_list ap) argument 1219 Fax3VGetField(TIFF* tif, ttag_t tag, va_list ap) argument 1264 Fax3PrintDir(TIFF* tif, FILE* fd, long flags) argument 1326 InitCCITTFax3(TIFF* tif) argument 1395 TIFFInitCCITTFax3(TIFF* tif, int scheme) argument 1426 Fax4Decode(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 1474 Fax4Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1490 Fax4PostEncode(TIFF* tif) argument 1503 TIFFInitCCITTFax4(TIFF* tif, int scheme) argument 1540 Fax3DecodeRLE(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 1585 TIFFInitCCITTRLE(TIFF* tif, int scheme) argument 1602 TIFFInitCCITTRLEW(TIFF* tif, int scheme) argument [all...] |
H A D | tif_thunder.c | 67 ThunderDecode(TIFF* tif, tidata_t op, tsize_t maxpixels) argument 74 bp = (unsigned char *)tif->tif_rawcp; 75 cc = tif->tif_rawcc; 121 tif->tif_rawcp = (tidata_t) bp; 122 tif->tif_rawcc = cc; 124 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 127 (long) tif->tif_row, (long) npixels, (long) maxpixels); 134 ThunderDecodeRow(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 140 if (!ThunderDecode(tif, ro 149 TIFFInitThunderScan(TIFF* tif, int scheme) argument [all...] |
H A D | tif_lzw.c | 157 #define LZWState(tif) ((LZWBaseState*) (tif)->tif_data) 158 #define DecoderState(tif) ((LZWCodecState*) LZWState(tif)) 159 #define EncoderState(tif) ((LZWCodecState*) LZWState(tif)) 188 #define NextCode(tif, sp, bp, code, get) get(sp, bp, code) 192 LZWSetupDecode(TIFF* tif) argument 194 LZWCodecState* sp = DecoderState(tif); 204 tif 254 LZWPreDecode(TIFF* tif, tsample_t s) argument 342 codeLoop(TIFF* tif) argument 350 LZWDecode(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 561 LZWDecodeCompat(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 742 LZWSetupEncode(TIFF* tif) argument 760 LZWPreEncode(TIFF* tif, tsample_t s) argument 825 LZWEncode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 990 LZWPostEncode(TIFF* tif) argument 1041 LZWCleanup(TIFF* tif) argument 1060 TIFFInitLZW(TIFF* tif, int scheme) argument [all...] |
H A D | tif_jpeg.c | 143 TIFF* tif; /* back link needed by some code */ member in struct:__anon5206 172 #define JState(tif) ((JPEGState*)(tif)->tif_data) 178 static int JPEGInitializeLibJPEG( TIFF * tif, 229 TIFFErrorExt(sp->tif->tif_clientdata, "JPEGLib", "%s", buffer); /* display the error message */ 245 TIFFWarningExt(((JPEGState *) cinfo)->tif->tif_clientdata, "JPEGLib", "%s", buffer); 400 TIFF* tif = sp->tif; local 402 sp->dest.next_output_byte = (JOCTET*) tif->tif_rawdata; 403 sp->dest.free_in_buffer = (size_t) tif 410 TIFF* tif = sp->tif; local 425 TIFF* tif = sp->tif; local 434 TIFFjpeg_data_dest(JPEGState* sp, TIFF* tif) argument 485 TIFFjpeg_tables_dest(JPEGState* sp, TIFF* tif) argument 517 TIFF* tif = sp->tif; local 567 TIFFjpeg_data_src(JPEGState* sp, TIFF* tif) argument 595 TIFFjpeg_tables_src(JPEGState* sp, TIFF* tif) argument 609 alloc_downsampled_buffers(TIFF* tif, jpeg_component_info* comp_info, int num_components) argument 639 JPEGSetupDecode(TIFF* tif) argument 682 JPEGPreDecode(TIFF* tif, tsample_t s) argument 880 JPEGDecode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 984 JPEGDecodeRaw(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 1129 prepare_JPEGTables(TIFF* tif) argument 1163 JPEGSetupEncode(TIFF* tif) argument 1297 JPEGPreEncode(TIFF* tif, tsample_t s) argument 1418 JPEGEncode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 1451 JPEGEncodeRaw(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 1535 JPEGPostEncode(TIFF* tif) argument 1570 JPEGCleanup(TIFF* tif) argument 1627 JPEGVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 1770 JPEGVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 1812 JPEGPrintDir(TIFF* tif, FILE* fd, long flags) argument 1835 JPEGDefaultStripSize(TIFF* tif, uint32 s) argument 1847 JPEGDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument 1879 JPEGInitializeLibJPEG( TIFF * tif, int force_encode, int force_decode ) argument 1946 TIFFInitJPEG(TIFF* tif, int scheme) argument [all...] |
H A D | tif_dir.c | 111 checkInkNamesString(TIFF* tif, uint32 slen, const char* s) argument 113 TIFFDirectory* td = &tif->tif_dir; 128 TIFFErrorExt(tif->tif_clientdata, "TIFFSetField", 130 tif->tif_name, 137 _TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 141 TIFFDirectory* td = &tif->tif_dir; 165 if (tif->tif_flags & TIFF_SWAB) { 167 tif->tif_postdecode = _TIFFSwab16BitData; 169 tif->tif_postdecode = _TIFFSwab24BitData; 171 tif 617 OkToChangeTag(TIFF* tif, ttag_t tag) argument 649 TIFFSetField(TIFF* tif, ttag_t tag, ...) argument 667 TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 674 _TIFFVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 951 TIFFGetField(TIFF* tif, ttag_t tag, ...) argument 969 TIFFVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 987 TIFFFreeDirectory(TIFF* tif) argument 1040 TIFFCreateDirectory(TIFF* tif) argument 1056 TIFFDefaultDirectory(TIFF* tif) argument 1120 TIFFAdvanceDirectory(TIFF* tif, uint32* nextdir, toff_t* off) argument 1181 TIFFNumberOfDirectories(TIFF* tif) argument 1196 TIFFSetDirectory(TIFF* tif, tdir_t dirn) argument 1227 TIFFSetSubDirectory(TIFF* tif, uint32 diroff) argument 1242 TIFFCurrentDirOffset(TIFF* tif) argument 1252 TIFFLastDirectory(TIFF* tif) argument 1261 TIFFUnlinkDirectory(TIFF* tif, tdir_t dirn) argument [all...] |
H A D | tif_dir.h | 160 #define TIFFExtractData(tif, type, v) \ 161 ((uint32) ((tif)->tif_header.tiff_magic == TIFF_BIGENDIAN ? \ 162 ((v) >> (tif)->tif_typeshift[type]) & (tif)->tif_typemask[type] : \ 163 (v) & (tif)->tif_typemask[type])) 164 #define TIFFInsertData(tif, type, v) \ 165 ((uint32) ((tif)->tif_header.tiff_magic == TIFF_BIGENDIAN ? \ 166 ((v) & (tif)->tif_typemask[type]) << (tif)->tif_typeshift[type] : \ 167 (v) & (tif) [all...] |
H A D | tif_codec.c | 102 _notConfigured(TIFF* tif) argument 104 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); 107 sprintf( compression_code, "%d", tif->tif_dir.td_compression ); 108 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 115 NotConfigured(TIFF* tif, int scheme) argument 119 tif->tif_decodestatus = FALSE; 120 tif->tif_setupdecode = _notConfigured; 121 tif->tif_encodestatus = FALSE; 122 tif [all...] |
H A D | tif_ojpeg.c | 221 TIFF* tif; member in struct:__anon5213 313 static int OJPEGVGetField(TIFF* tif, ttag_t tag, va_list ap); 314 static int OJPEGVSetField(TIFF* tif, ttag_t tag, va_list ap); 315 static void OJPEGPrintDir(TIFF* tif, FILE* fd, long flags); 317 static int OJPEGSetupDecode(TIFF* tif); 318 static int OJPEGPreDecode(TIFF* tif, tsample_t s); 319 static int OJPEGPreDecodeSkipRaw(TIFF* tif); 320 static int OJPEGPreDecodeSkipScanlines(TIFF* tif); 321 static int OJPEGDecode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s); 322 static int OJPEGDecodeRaw(TIFF* tif, tidata_ 392 TIFFInitOJPEG(TIFF* tif, int scheme) argument 453 OJPEGVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 495 OJPEGVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 577 OJPEGPrintDir(TIFF* tif, FILE* fd, long flags) argument 615 OJPEGSetupDecode(TIFF* tif) argument 623 OJPEGPreDecode(TIFF* tif, tsample_t s) argument 686 OJPEGPreDecodeSkipRaw(TIFF* tif) argument 719 OJPEGPreDecodeSkipScanlines(TIFF* tif) argument 742 OJPEGDecode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 760 OJPEGDecodeRaw(TIFF* tif, tidata_t buf, tsize_t cc) argument 815 OJPEGDecodeScanlines(TIFF* tif, tidata_t buf, tsize_t cc) argument 840 OJPEGPostDecode(TIFF* tif, tidata_t buf, tsize_t cc) argument 855 OJPEGSetupEncode(TIFF* tif) argument 863 OJPEGPreEncode(TIFF* tif, tsample_t s) argument 872 OJPEGEncode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 883 OJPEGPostEncode(TIFF* tif) argument 891 OJPEGCleanup(TIFF* tif) argument 937 OJPEGSubsamplingCorrect(TIFF* tif) argument 990 OJPEGReadHeaderInfo(TIFF* tif) argument 1051 OJPEGReadSecondarySos(TIFF* tif, tsample_t s) argument 1101 OJPEGWriteHeaderInfo(TIFF* tif) argument 1193 OJPEGLibjpegSessionAbort(TIFF* tif) argument 1202 OJPEGReadHeaderInfoSec(TIFF* tif) argument 1333 OJPEGReadHeaderInfoSecStreamDri(TIFF* tif) argument 1353 OJPEGReadHeaderInfoSecStreamDqt(TIFF* tif) argument 1412 OJPEGReadHeaderInfoSecStreamDht(TIFF* tif) argument 1484 OJPEGReadHeaderInfoSecStreamSof(TIFF* tif, uint8 marker_id) argument 1632 OJPEGReadHeaderInfoSecStreamSos(TIFF* tif) argument 1680 OJPEGReadHeaderInfoSecTablesQTable(TIFF* tif) argument 1734 OJPEGReadHeaderInfoSecTablesDcTable(TIFF* tif) argument 1798 OJPEGReadHeaderInfoSecTablesAcTable(TIFF* tif) argument 2049 OJPEGWriteStream(TIFF* tif, void** mem, uint32* len) argument 2122 OJPEGWriteStreamSoi(TIFF* tif, void** mem, uint32* len) argument 2134 OJPEGWriteStreamQTable(TIFF* tif, uint8 table_index, void** mem, uint32* len) argument 2146 OJPEGWriteStreamDcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len) argument 2158 OJPEGWriteStreamAcTable(TIFF* tif, uint8 table_index, void** mem, uint32* len) argument 2170 OJPEGWriteStreamDri(TIFF* tif, void** mem, uint32* len) argument 2189 OJPEGWriteStreamSof(TIFF* tif, void** mem, uint32* len) argument 2225 OJPEGWriteStreamSos(TIFF* tif, void** mem, uint32* len) argument 2257 OJPEGWriteStreamCompressed(TIFF* tif, void** mem, uint32* len) argument 2290 OJPEGWriteStreamRst(TIFF* tif, void** mem, uint32* len) argument 2305 OJPEGWriteStreamEoi(TIFF* tif, void** mem, uint32* len) argument 2357 jpeg_encap_unwind(TIFF* tif) argument 2390 TIFF* tif=(TIFF*)cinfo->client_data; local 2407 TIFF* tif=(TIFF*)cinfo->client_data; local 2416 TIFF* tif=(TIFF*)cinfo->client_data; local [all...] |
H A D | tiffiop.h | 205 #define isTiled(tif) (((tif)->tif_flags & TIFF_ISTILED) != 0) 206 #define isMapped(tif) (((tif)->tif_flags & TIFF_MAPPED) != 0) 207 #define isFillOrder(tif, o) (((tif)->tif_flags & (o)) != 0) 208 #define isUpSampled(tif) (((tif)->tif_flags & TIFF_UPSAMPLED) != 0) 209 #define TIFFReadFile(tif, buf, size) \ 210 ((*(tif) [all...] |
H A D | tif_dirinfo.c | 530 _TIFFSetupFieldInfo(TIFF* tif, const TIFFFieldInfo info[], size_t n) argument 532 if (tif->tif_fieldinfo) { 535 for (i = 0; i < tif->tif_nfields; i++) 537 TIFFFieldInfo *fld = tif->tif_fieldinfo[i]; 545 _TIFFfree(tif->tif_fieldinfo); 546 tif->tif_nfields = 0; 548 if (!_TIFFMergeFieldInfo(tif, info, n)) 550 TIFFErrorExt(tif->tif_clientdata, "_TIFFSetupFieldInfo", 583 TIFFMergeFieldInfo(TIFF* tif, const TIFFFieldInfo info[], int n) argument 585 if (_TIFFMergeFieldInfo(tif, inf 593 _TIFFMergeFieldInfo(TIFF* tif, const TIFFFieldInfo info[], int n) argument 638 _TIFFPrintFieldInfo(TIFF* tif, FILE* fd) argument 726 _TIFFSampleToTagType(TIFF* tif) argument 747 _TIFFFindFieldInfo(TIFF* tif, ttag_t tag, TIFFDataType dt) argument 775 _TIFFFindFieldInfoByName(TIFF* tif, const char *field_name, TIFFDataType dt) argument 804 _TIFFFieldWithTag(TIFF* tif, ttag_t tag) argument 818 _TIFFFieldWithName(TIFF* tif, const char *field_name) argument 832 _TIFFFindOrRegisterFieldInfo( TIFF *tif, ttag_t tag, TIFFDataType dt ) argument 849 _TIFFCreateAnonFieldInfo(TIFF *tif, ttag_t tag, TIFFDataType field_type) argument [all...] |
H A D | tif_pixarlog.c | 590 #define DecoderState(tif) ((PixarLogState*) (tif)->tif_data) 591 #define EncoderState(tif) ((PixarLogState*) (tif)->tif_data) 645 PixarLogSetupDecode(TIFF* tif) argument 647 TIFFDirectory *td = &tif->tif_dir; 648 PixarLogState* sp = DecoderState(tif); 656 tif->tif_postdecode = _TIFFNoPostDecode; 672 TIFFErrorExt(tif->tif_clientdata, module, 679 TIFFErrorExt(tif 691 PixarLogPreDecode(TIFF* tif, tsample_t s) argument 703 PixarLogDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 826 PixarLogSetupEncode(TIFF* tif) argument 866 PixarLogPreEncode(TIFF* tif, tsample_t s) argument 1045 PixarLogEncode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1127 PixarLogPostEncode(TIFF* tif) argument 1158 PixarLogClose(TIFF* tif) argument 1173 PixarLogCleanup(TIFF* tif) argument 1205 PixarLogVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 1267 PixarLogVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 1290 TIFFInitPixarLog(TIFF* tif, int scheme) argument [all...] |
/haiku-fatelf/src/libs/pdflib/libs/tiff/ |
H A D | tif_packbits.c | 39 PackBitsPreEncode(TIFF* tif, tsample_t s) argument 45 if (isTiled(tif)) 46 tif->tif_data = (tidata_t) TIFFTileRowSize(tif); 48 tif->tif_data = (tidata_t) TIFFScanlineSize(tif); 65 PackBitsEncode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 74 op = tif->tif_rawcp; 75 ep = tif->tif_rawdata + tif 194 PackBitsEncodeChunk(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 225 PackBitsDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 285 TIFFInitPackBits(TIFF* tif, int scheme) argument [all...] |
H A D | tif_next.c | 49 NeXTDecode(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 66 bp = (tif_char *)tif->tif_rawcp; 67 cc = tif->tif_rawcc; 68 scanline = tif->tif_scanlinesize; 99 tif_long imagewidth = tif->tif_dir.td_imagewidth; 124 tif->tif_rawcp = (tidata_t) bp; 125 tif->tif_rawcc = cc; 128 TIFFError(tif->tif_name, "NeXTDecode: Not enough data for scanline %ld", 129 (long) tif->tif_row); 134 TIFFInitNeXT(TIFF* tif, in argument [all...] |
H A D | tif_dir.c | 43 void _TIFFsetNString(TIFF* tif, char** cpp, char* cp, long n); 46 _TIFFsetByteArray(TIFF* tif, void** vpp, void* vp, long n) argument 49 _TIFFfree(tif, *vpp), *vpp = 0; 50 if (vp && (*vpp = (void*) _TIFFmalloc(tif, n))) 53 void _TIFFsetString(TIFF* tif, char** cpp, char* cp) argument 54 { _TIFFsetByteArray(tif, (void**) cpp, (void*) cp, (long) (strlen(cp)+1)); } 55 void _TIFFsetNString(TIFF* tif, char** cpp, char* cp, long n) argument 56 { _TIFFsetByteArray(tif, (void**) cpp, (void*) cp, n); } 57 void _TIFFsetShortArray(TIFF* tif, uint16** wpp, uint16* wp, long n) argument 58 { _TIFFsetByteArray(tif, (voi 59 _TIFFsetLongArray(TIFF* tif, uint32** lpp, uint32* lp, long n) argument 61 _TIFFsetFloatArray(TIFF* tif, float** fpp, float* fp, long n) argument 63 _TIFFsetDoubleArray(TIFF* tif, double** dpp, double* dp, long n) argument 70 setExtraSamples(TIFF* tif, TIFFDirectory* td, va_list ap, int* v) argument 91 checkInkNamesString(TIFF* tif, int slen, const char* s) argument 118 _TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 539 OkToChangeTag(TIFF* tif, ttag_t tag) argument 571 TIFFSetField(TIFF* tif, ttag_t tag, ...) argument 589 TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 596 _TIFFVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 877 TIFFGetField(TIFF* tif, ttag_t tag, ...) argument 895 TIFFVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 913 TIFFFreeDirectory(TIFF* tif) argument 991 TIFFCreateDirectory(TIFF* tif) argument 1008 TIFFDefaultDirectory(TIFF* tif) argument 1067 TIFFAdvanceDirectory(TIFF* tif, uint32* nextdir, toff_t* off) argument 1129 TIFFNumberOfDirectories(TIFF* tif) argument 1145 TIFFSetDirectory(TIFF* tif, tdir_t dirn) argument 1172 TIFFSetSubDirectory(TIFF* tif, uint32 diroff) argument 1182 TIFFCurrentDirOffset(TIFF* tif) argument 1192 TIFFLastDirectory(TIFF* tif) argument 1201 TIFFUnlinkDirectory(TIFF* tif, tdir_t dirn) argument [all...] |
H A D | tiffiop.h | 157 #define isTiled(tif) (((tif)->tif_flags & TIFF_ISTILED) != 0) 158 #define isMapped(tif) (((tif)->tif_flags & TIFF_MAPPED) != 0) 159 #define isFillOrder(tif, o) (((tif)->tif_flags & (o)) != 0) 160 #define isUpSampled(tif) (((tif)->tif_flags & TIFF_UPSAMPLED) != 0) 161 #define TIFFReadFile(tif, buf, size) \ 162 ((*(tif) [all...] |
H A D | tif_luv.c | 173 #define DecoderState(tif) ((LogLuvState*) (tif)->tif_data) 175 #define EncoderState(tif) ((LogLuvState*) (tif)->tif_data) 187 LogL16Decode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 189 LogLuvState* sp = DecoderState(tif); 209 bp = (tif_char*) tif->tif_rawcp; 210 cc = tif->tif_rawcc; 226 TIFFError(tif->tif_name, 228 tif 244 LogLuvDecode24(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 286 LogLuvDecode32(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 346 LogLuvDecodeStrip(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 362 LogLuvDecodeTile(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 377 LogL16Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 469 LogLuvEncode24(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 516 LogLuvEncode32(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 611 LogLuvEncodeStrip(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 628 LogLuvEncodeTile(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1200 LogL16InitState(TIFF* tif) argument 1290 LogLuvInitState(TIFF* tif) argument 1336 LogLuvSetupDecode(TIFF* tif) argument 1398 LogLuvSetupEncode(TIFF* tif) argument 1468 LogLuvClose(TIFF* tif) argument 1487 LogLuvCleanup(TIFF* tif) argument 1500 LogLuvVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 1558 LogLuvVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 1579 TIFFInitSGILog(TIFF* tif, int scheme) argument [all...] |
H A D | tif_thunder.c | 67 ThunderDecode(TIFF* tif, tidata_t op, tsize_t maxpixels) argument 74 bp = (tif_char *)tif->tif_rawcp; 75 cc = tif->tif_rawcc; 119 tif->tif_rawcp = (tidata_t) bp; 120 tif->tif_rawcc = cc; 122 TIFFError(tif->tif_name, 125 (long) tif->tif_row, (long) npixels, (long) maxpixels); 132 ThunderDecodeRow(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 138 if (!ThunderDecode(tif, row, tif 147 TIFFInitThunderScan(TIFF* tif, int scheme) argument [all...] |
H A D | tif_dir.h | 222 #define TIFFExtractData(tif, type, v) \ 223 ((uint32) ((tif)->tif_header.tiff_magic == TIFF_BIGENDIAN ? \ 224 ((v) >> (tif)->tif_typeshift[type]) & (tif)->tif_typemask[type] : \ 225 (v) & (tif)->tif_typemask[type])) 226 #define TIFFInsertData(tif, type, v) \ 227 ((uint32) ((tif)->tif_header.tiff_magic == TIFF_BIGENDIAN ? \ 228 ((v) & (tif)->tif_typemask[type]) << (tif)->tif_typeshift[type] : \ 229 (v) & (tif) [all...] |
H A D | tif_lzw.c | 156 #define LZWState(tif) ((LZWBaseState*) (tif)->tif_data) 157 #define DecoderState(tif) ((LZWDecodeState*) LZWState(tif)) 158 #define EncoderState(tif) ((LZWEncodeState*) LZWState(tif)) 189 #define NextCode(tif, sp, bp, code, get) get(sp, bp, code) 193 LZWSetupDecode(TIFF* tif) argument 195 LZWDecodeState* sp = DecoderState(tif); 201 sp->dec_codetab=(code_t*)_TIFFmalloc(tif,CSIZ 224 LZWPreDecode(TIFF* tif, tsample_t s) argument 307 codeLoop(TIFF* tif) argument 315 LZWDecode(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 497 LZWDecodeCompat(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 647 LZWCleanup(TIFF* tif) argument 660 LZWSetupEncode(TIFF* tif) argument 668 TIFFInitLZW(TIFF* tif, int scheme) argument [all...] |
H A D | tif_codec.c | 102 _notConfigured(TIFF* tif) argument 104 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); 106 TIFFError(tif->tif_name, 112 NotConfigured(TIFF* tif, int scheme) argument 116 tif->tif_setupdecode = _notConfigured; 117 tif->tif_setupencode = _notConfigured;
|
H A D | tif_tile.c | 38 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, tsample_t s) argument 40 TIFFDirectory *td = &tif->tif_dir; 75 TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, tsample_t s) argument 77 TIFFDirectory *td = &tif->tif_dir; 80 TIFFError(tif->tif_name, "Col %ld out of range, max %lu", 85 TIFFError(tif->tif_name, "Row %ld out of range, max %lu", 90 TIFFError(tif->tif_name, "Depth %ld out of range, max %lu", 96 TIFFError(tif->tif_name, "Sample %d out of range, max %u", 107 TIFFNumberOfTiles(TIFF* tif) argument 109 TIFFDirectory *td = &tif 134 TIFFTileRowSize(TIFF* tif) argument 151 TIFFVTileSize(TIFF* tif, uint32 nrows) argument 189 TIFFTileSize(TIFF* tif) argument 201 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument 207 _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument [all...] |
H A D | tif_auxx.c | 38 TIFFDefaultTransferFunction(TIFF* tif, TIFFDirectory* td) argument 43 tf[0] = (uint16 *)_TIFFmalloc(tif, n * sizeof (uint16)); 50 tf[1] = (uint16 *)_TIFFmalloc(tif, n * sizeof (uint16)); 52 tf[2] = (uint16 *)_TIFFmalloc(tif, n * sizeof (uint16)); 58 TIFFDefaultRefBlackWhite(TIFF* tif, TIFFDirectory* td) argument 62 td->td_refblackwhite = (float *)_TIFFmalloc(tif, 6*sizeof (float)); 79 TIFFVGetFieldDefaulted(TIFF* tif, ttag_t tag, va_list ap) argument 81 TIFFDirectory *td = &tif->tif_dir; 83 if (TIFFVGetField(tif, tag, ap)) 156 _TIFFmalloc(tif, 197 TIFFGetFieldDefaulted(TIFF* tif, ttag_t tag, ...) argument [all...] |