/haiku-fatelf/src/libs/tiff/ |
H A D | tif_flush.c | 33 TIFFFlush(TIFF* tif) argument 36 if (tif->tif_mode != O_RDONLY) { 37 if (!TIFFFlushData(tif)) 39 if ((tif->tif_flags & TIFF_DIRTYDIRECT) && 40 !TIFFWriteDirectory(tif)) 56 TIFFFlushData(TIFF* tif) argument 58 if ((tif->tif_flags & TIFF_BEENWRITING) == 0) 60 if (tif->tif_flags & TIFF_POSTENCODE) { 61 tif->tif_flags &= ~TIFF_POSTENCODE; 62 if (!(*tif [all...] |
H A D | tif_dumpmode.c | 38 DumpModeEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 45 if (tif->tif_rawcc + n > tif->tif_rawdatasize) 46 n = tif->tif_rawdatasize - tif->tif_rawcc; 54 if (tif->tif_rawcp != pp) 55 _TIFFmemcpy(tif->tif_rawcp, pp, n); 56 tif->tif_rawcp += n; 57 tif->tif_rawcc += n; 60 if (tif 71 DumpModeDecode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 97 DumpModeSeek(TIFF* tif, uint32 nrows) argument 108 TIFFInitDumpMode(TIFF* tif, int scheme) argument [all...] |
H A D | tif_open.c | 100 TIFFInitOrder(TIFF* tif, int magic) argument 102 tif->tif_typemask = typemask; 104 tif->tif_typeshift = bigTypeshift; 106 tif->tif_flags |= TIFF_SWAB; 109 tif->tif_typeshift = litTypeshift; 111 tif->tif_flags |= TIFF_SWAB; 154 TIFF *tif; local 161 tif = (TIFF *)_TIFFmalloc(sizeof (TIFF) + strlen(name) + 1); 162 if (tif == NULL) { 166 _TIFFmemset(tif, 467 TIFFFileName(TIFF* tif) argument 476 TIFFSetFileName(TIFF* tif, const char *name) argument 487 TIFFFileno(TIFF* tif) argument 496 TIFFSetFileno(TIFF* tif, int fd) argument 507 TIFFClientdata(TIFF* tif) argument 516 TIFFSetClientdata(TIFF* tif, thandle_t newvalue) argument 527 TIFFGetMode(TIFF* tif) argument 536 TIFFSetMode(TIFF* tif, int mode) argument 548 TIFFIsTiled(TIFF* tif) argument 557 TIFFCurrentRow(TIFF* tif) argument 566 TIFFCurrentDirectory(TIFF* tif) argument 575 TIFFCurrentStrip(TIFF* tif) argument 584 TIFFCurrentTile(TIFF* tif) argument 593 TIFFIsByteSwapped(TIFF* tif) argument 602 TIFFIsUpSampled(TIFF* tif) argument 611 TIFFIsMSB2LSB(TIFF* tif) argument 620 TIFFIsBigEndian(TIFF* tif) argument 629 TIFFGetReadProc(TIFF* tif) argument 638 TIFFGetWriteProc(TIFF* tif) argument 647 TIFFGetSeekProc(TIFF* tif) argument 656 TIFFGetCloseProc(TIFF* tif) argument 665 TIFFGetSizeProc(TIFF* tif) argument 674 TIFFGetMapFileProc(TIFF* tif) argument 683 TIFFGetUnmapFileProc(TIFF* tif) argument [all...] |
H A D | tif_close.c | 42 * @param tif A TIFF pointer. 46 TIFFCleanup(TIFF* tif) argument 48 if (tif->tif_mode != O_RDONLY) 52 TIFFFlush(tif); 53 (*tif->tif_cleanup)(tif); 54 TIFFFreeDirectory(tif); 56 if (tif->tif_dirlist) 57 _TIFFfree(tif->tif_dirlist); 60 while( tif 111 TIFFClose(TIFF* tif) argument [all...] |
H A D | tif_read.c | 47 TIFFSeek(TIFF* tif, uint32 row, tsample_t sample) argument 49 register TIFFDirectory *td = &tif->tif_dir; 53 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 61 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, 69 if (strip != tif->tif_curstrip) { /* different strip, refill */ 70 if (!TIFFFillStrip(tif, strip)) 72 } else if (row < tif->tif_row) { 81 if (!TIFFStartStrip(tif, stri 96 TIFFReadScanline(TIFF* tif, tdata_t buf, uint32 row, tsample_t sample) argument 124 TIFFReadEncodedStrip(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size) argument 171 TIFFReadRawStrip1(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size, const char* module) argument 218 TIFFReadRawStrip(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size) argument 262 TIFFFillStrip(TIFF* tif, tstrip_t strip) argument 370 TIFFReadTile(TIFF* tif, tdata_t buf, uint32 x, uint32 y, uint32 z, tsample_t s) argument 384 TIFFReadEncodedTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 410 TIFFReadRawTile1(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size, const char* module) argument 460 TIFFReadRawTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 497 TIFFFillTile(TIFF* tif, ttile_t tile) argument 593 TIFFReadBufferSetup(TIFF* tif, tdata_t bp, tsize_t size) argument 629 TIFFStartStrip(TIFF* tif, tstrip_t strip) argument 659 TIFFStartTile(TIFF* tif, ttile_t tile) argument 690 TIFFCheckRead(TIFF* tif, int tiles) argument 706 _TIFFNoPostDecode(TIFF* tif, tidata_t buf, tsize_t cc) argument 712 _TIFFSwab16BitData(TIFF* tif, tidata_t buf, tsize_t cc) argument 720 _TIFFSwab24BitData(TIFF* tif, tidata_t buf, tsize_t cc) argument 728 _TIFFSwab32BitData(TIFF* tif, tidata_t buf, tsize_t cc) argument 736 _TIFFSwab64BitData(TIFF* tif, tidata_t buf, tsize_t cc) argument [all...] |
H A D | tif_write.c | 37 #define WRITECHECKSTRIPS(tif, module) \ 38 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),0,module)) 39 #define WRITECHECKTILES(tif, module) \ 40 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),1,module)) 41 #define BUFFERCHECK(tif) \ 42 ((((tif)->tif_flags & TIFF_BUFFERSETUP) && tif->tif_rawdata) || \ 43 TIFFWriteBufferSetup((tif), NUL 49 TIFFWriteScanline(TIFF* tif, tdata_t buf, uint32 row, tsample_t sample) argument 182 TIFFWriteEncodedStrip(TIFF* tif, tstrip_t strip, tdata_t data, tsize_t cc) argument 264 TIFFWriteRawStrip(TIFF* tif, tstrip_t strip, tdata_t data, tsize_t cc) argument 308 TIFFWriteTile(TIFF* tif, tdata_t buf, uint32 x, uint32 y, uint32 z, tsample_t s) argument 336 TIFFWriteEncodedTile(TIFF* tif, ttile_t tile, tdata_t data, tsize_t cc) argument 423 TIFFWriteRawTile(TIFF* tif, ttile_t tile, tdata_t data, tsize_t cc) argument 443 TIFFSetupStrips(TIFF* tif) argument 483 TIFFWriteCheck(TIFF* tif, int tiles, const char* module) argument 546 TIFFWriteBufferSetup(TIFF* tif, tdata_t bp, tsize_t size) argument 589 TIFFGrowStrips(TIFF* tif, int delta, const char* module) argument 623 TIFFAppendToStrip(TIFF* tif, tstrip_t strip, tidata_t data, tsize_t cc) argument 682 TIFFFlushData1(TIFF* tif) argument 706 TIFFSetWriteOffset(TIFF* tif, toff_t off) argument [all...] |
H A D | tif_jbig.c | 51 #define GetJBIGState(tif) ((JBIGState*)(tif)->tif_data) 66 static int JBIGSetupDecode(TIFF* tif) argument 68 if (TIFFNumberOfStrips(tif) != 1) 77 static int JBIGDecode(TIFF* tif, tidata_t buffer, tsize_t size, tsample_t s) argument 84 if (isFillOrder(tif, tif->tif_dir.td_fillorder)) 86 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawdatasize); 92 jbg_newlen(tif 130 JBIGSetupEncode(TIFF* tif) argument 141 JBIGCopyEncodedData(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 171 TIFF* tif = (TIFF*)userData; local 181 JBIGEncode(TIFF* tif, tidata_t buffer, tsize_t size, tsample_t s) argument 205 JBIGCleanup(TIFF* tif) argument 220 JBIGPrintDir(TIFF* tif, FILE* fd, long flags) argument 254 JBIGVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 283 JBIGVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 314 TIFFInitJBIG(TIFF* tif, int scheme) 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) 88 ZIPSetupDecode(TIFF* tif) argument 90 ZIPState* sp = DecoderState(tif); 102 TIFFErrorExt(tif->tif_clientdata, module, "%s: %s", tif 114 ZIPPreDecode(TIFF* tif, tsample_t s) argument 130 ZIPDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 169 ZIPSetupEncode(TIFF* tif) argument 193 ZIPPreEncode(TIFF* tif, tsample_t s) argument 211 ZIPEncode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 243 ZIPPostEncode(TIFF* tif) argument 274 ZIPCleanup(TIFF* tif) argument 299 ZIPVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 323 ZIPVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 343 TIFFInitZIP(TIFF* tif, int scheme) argument [all...] |
H A D | tif_strip.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 TIFFComputeStrip(TIFF* tif, uint32 row, tsample_t sample) argument 70 TIFFDirectory *td = &tif->tif_dir; 76 TIFFErrorExt(tif->tif_clientdata, tif 90 TIFFNumberOfStrips(TIFF* tif) argument 107 TIFFVStripSize(TIFF* tif, uint32 nrows) argument 158 TIFFRawStripSize(TIFF* tif, tstrip_t strip) argument 182 TIFFStripSize(TIFF* tif) argument 198 TIFFDefaultStripSize(TIFF* tif, uint32 request) argument 204 _TIFFDefaultStripSize(TIFF* tif, uint32 s) argument 227 TIFFScanlineSize(TIFF* tif) argument 275 TIFFOldScanlineSize(TIFF* tif) argument 301 TIFFNewScanlineSize(TIFF* tif) argument 346 TIFFRasterScanlineSize(TIFF* tif) argument [all...] |
H A D | tif_dirwrite.c | 35 # define TIFFCvtNativeToIEEEFloat(tif, n, fp) 36 # define TIFFCvtNativeToIEEEDouble(tif, n, dp) 63 TIFFWriteRational((tif), (type), (tag1), (dir), (v1)) \ 64 TIFFWriteRational((tif), (type), (tag2), (dir)+1, (v2)) \ 67 #define TIFFWriteRational(tif, type, tag, dir, v) \ 71 if (!TIFFWriteRationalArray((tif), (dir), &(v))) \ 81 _TIFFWriteDirectory(TIFF* tif, int done) argument 94 if (tif->tif_mode == O_RDONLY) 103 if (tif->tif_flags & TIFF_POSTENCODE) { 104 tif 414 TIFFWriteDirectory(TIFF* tif) argument 426 TIFFCheckpointDirectory(TIFF* tif) argument 438 _TIFFWriteCustomDirectory(TIFF* tif, toff_t *pdiroff) argument 559 TIFFWriteCustomDirectory(TIFF* tif, toff_t *pdiroff) argument 568 TIFFWriteNormalTag(TIFF* tif, TIFFDirEntry* dir, const TIFFFieldInfo* fip) argument 784 TIFFSetupShortLong(TIFF* tif, ttag_t tag, TIFFDirEntry* dir, uint32 v) argument 801 TIFFSetupShort(TIFF* tif, ttag_t tag, TIFFDirEntry* dir, uint16 v) argument 818 TIFFWritePerSampleShorts(TIFF* tif, ttag_t tag, TIFFDirEntry* dir) argument 852 TIFFWritePerSampleAnys(TIFF* tif, TIFFDataType type, ttag_t tag, TIFFDirEntry* dir) argument 883 TIFFSetupShortPair(TIFF* tif, ttag_t tag, TIFFDirEntry* dir) argument 901 TIFFWriteShortTable(TIFF* tif, ttag_t tag, TIFFDirEntry* dir, uint32 n, uint16** table) argument 923 TIFFWriteByteArray(TIFF* tif, TIFFDirEntry* dir, char* cp) argument 953 TIFFWriteShortArray(TIFF* tif, TIFFDirEntry* dir, uint16* v) argument 975 TIFFWriteLongArray(TIFF* tif, TIFFDirEntry* dir, uint32* v) argument 989 TIFFWriteRationalArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument 1031 TIFFWriteFloatArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument 1042 TIFFWriteDoubleArray(TIFF* tif, TIFFDirEntry* dir, double* v) argument 1058 TIFFWriteAnyArray(TIFF* tif, TIFFDataType type, ttag_t tag, TIFFDirEntry* dir, uint32 n, double* v) argument 1164 TIFFWriteTransferFunction(TIFF* tif, TIFFDirEntry* dir) argument 1187 TIFFWriteInkNames(TIFF* tif, TIFFDirEntry* dir) argument 1201 TIFFWriteData(TIFF* tif, TIFFDirEntry* dir, char* cp) argument 1323 TIFFLinkDirectory(TIFF* tif) 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, tidata_t pp, tsize_t cc, tsample_t s) argument 55 return (TIFFNoEncode(tif, "scanline")); 59 _TIFFNoStripEncode(TIFF* tif, tidata_ argument 66 _TIFFNoTileEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 73 TIFFNoDecode(TIFF* tif, const char* method) argument 89 _TIFFNoRowDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 96 _TIFFNoStripDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 103 _TIFFNoTileDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 110 _TIFFNoSeek(TIFF* tif, uint32 off) argument 119 _TIFFNoPreCode(TIFF* tif, tsample_t s) argument 125 _TIFFtrue(TIFF* tif) argument 126 _TIFFvoid(TIFF* tif) argument 129 _TIFFSetDefaultCompressionState(TIFF* tif) argument 153 TIFFSetCompressionScheme(TIFF* tif, int scheme) argument [all...] |
H A D | tif_dirread.c | 37 # define TIFFCvtIEEEFloatToNative(tif, n, fp) 38 # define TIFFCvtIEEEDoubleToNative(tif, n, dp) 74 TIFFReadDirectory(TIFF* tif) argument 89 tif->tif_diroff = tif->tif_nextdiroff; 93 if (!TIFFCheckDirOffset(tif, tif->tif_nextdiroff)) 98 (*tif->tif_cleanup)(tif); 99 tif 813 TIFFReadCustomDirectory(TIFF* tif, toff_t diroff, const TIFFFieldInfo info[], size_t n) argument 935 TIFFReadEXIFDirectory(TIFF* tif, toff_t diroff) argument 945 EstimateStripByteCounts(TIFF* tif, TIFFDirEntry* dir, uint16 dircount) argument 1018 MissingRequired(TIFF* tif, const char* tagname) argument 1034 TIFFCheckDirOffset(TIFF* tif, toff_t diroff) argument 1076 CheckDirCount(TIFF* tif, TIFFDirEntry* dir, uint32 count) argument 1100 TIFFFetchDirectory(TIFF* tif, toff_t diroff, TIFFDirEntry **pdir, toff_t *nextdiroff) argument 1204 TIFFFetchData(TIFF* tif, TIFFDirEntry* dir, char* cp) argument 1264 TIFFFetchString(TIFF* tif, TIFFDirEntry* dir, char* cp) argument 1280 cvtRational(TIFF* tif, TIFFDirEntry* dir, uint32 num, uint32 denom, float* rv) argument 1301 TIFFFetchRational(TIFF* tif, TIFFDirEntry* dir) argument 1315 TIFFFetchFloat(TIFF* tif, TIFFDirEntry* dir) argument 1328 TIFFFetchByteArray(TIFF* tif, TIFFDirEntry* dir, uint8* v) argument 1374 TIFFFetchShortArray(TIFF* tif, TIFFDirEntry* dir, uint16* v) argument 1398 TIFFFetchShortPair(TIFF* tif, TIFFDirEntry* dir) argument 1436 TIFFFetchLongArray(TIFF* tif, TIFFDirEntry* dir, uint32* v) argument 1449 TIFFFetchRationalArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument 1476 TIFFFetchFloatArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument 1501 TIFFFetchDoubleArray(TIFF* tif, TIFFDirEntry* dir, double* v) argument 1520 TIFFFetchAnyArray(TIFF* tif, TIFFDirEntry* dir, double* v) argument 1603 TIFFFetchNormalTag(TIFF* tif, TIFFDirEntry* dp) argument 1748 TIFFFetchPerSampleShorts(TIFF* tif, TIFFDirEntry* dir, uint16* pl) argument 1789 TIFFFetchPerSampleLongs(TIFF* tif, TIFFDirEntry* dir, uint32* pl) argument 1829 TIFFFetchPerSampleAnys(TIFF* tif, TIFFDirEntry* dir, double* pl) argument 1870 TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, long nstrips, uint32** lpp) argument 1934 TIFFFetchRefBlackWhite(TIFF* tif, TIFFDirEntry* dir) argument 1967 TIFFFetchSubjectDistance(TIFF* tif, TIFFDirEntry* dir) argument 2001 ChopUpSingleUncompressedStrip(TIFF* tif) argument [all...] |
H A D | tif_packbits.c | 37 PackBitsPreEncode(TIFF* tif, tsample_t s) argument 41 if (!(tif->tif_data = (tidata_t)_TIFFmalloc(sizeof(tsize_t)))) 46 if (isTiled(tif)) 47 *(tsize_t*)tif->tif_data = TIFFTileRowSize(tif); 49 *(tsize_t*)tif->tif_data = TIFFScanlineSize(tif); 54 PackBitsPostEncode(TIFF* tif) argument 56 if (tif->tif_data) 57 _TIFFfree(tif 72 PackBitsEncode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 199 PackBitsEncodeChunk(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 218 PackBitsDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 278 TIFFInitPackBits(TIFF* tif, int scheme) argument [all...] |
H A D | tif_predict.c | 35 #define PredictorState(tif) ((TIFFPredictorState*) (tif)->tif_data) 53 PredictorSetup(TIFF* tif) argument 57 TIFFPredictorState* sp = PredictorState(tif); 58 TIFFDirectory* td = &tif->tif_dir; 68 TIFFErrorExt(tif->tif_clientdata, module, 76 TIFFErrorExt(tif->tif_clientdata, module, 83 TIFFErrorExt(tif->tif_clientdata, module, 93 if (isTiled(tif)) 94 sp->rowsize = TIFFTileRowSize(tif); 102 PredictorSetupDecode(TIFF* tif) argument 180 PredictorSetupEncode(TIFF* tif) argument 240 horAcc8(TIFF* tif, tidata_t cp0, tsize_t cc) argument 283 swabHorAcc16(TIFF* tif, tidata_t cp0, tsize_t cc) argument 300 horAcc16(TIFF* tif, tidata_t cp0, tsize_t cc) argument 316 swabHorAcc32(TIFF* tif, tidata_t cp0, tsize_t cc) argument 333 horAcc32(TIFF* tif, tidata_t cp0, tsize_t cc) argument 352 fpAcc(TIFF* tif, tidata_t cp0, tsize_t cc) argument 389 PredictorDecodeRow(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 412 PredictorDecodeTile(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 434 horDiff8(TIFF* tif, tidata_t cp0, tsize_t cc) argument 479 horDiff16(TIFF* tif, tidata_t cp0, tsize_t cc) argument 497 horDiff32(TIFF* tif, tidata_t cp0, tsize_t cc) argument 518 fpDiff(TIFF* tif, tidata_t cp0, tsize_t cc) argument 551 PredictorEncodeRow(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 565 PredictorEncodeTile(TIFF* tif, tidata_t bp0, tsize_t cc0, tsample_t s) argument 616 PredictorVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 636 PredictorVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 654 PredictorPrintDir(TIFF* tif, FILE* fd, long flags) argument 673 TIFFPredictorInit(TIFF* tif) argument 714 TIFFPredictorCleanup(TIFF* tif) argument [all...] |
H A D | tif_extension.c | 36 int TIFFGetTagListCount( TIFF *tif ) 39 TIFFDirectory* td = &tif->tif_dir; 44 ttag_t 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...] |
/haiku-fatelf/src/libs/pdflib/libs/tiff/ |
H A D | tif_close.c | 33 TIFFClose(TIFF* tif) argument 36 if (tif->tif_mode != O_RDONLY) 40 TIFFFlush(tif); 43 (*tif->tif_cleanup)(tif); 44 TIFFFreeDirectory(tif); 45 if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) 46 _TIFFfree(tif, tif [all...] |
H A D | tif_dumpmode.c | 40 DumpModeEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 47 if (tif->tif_rawcc + n > tif->tif_rawdatasize) 48 n = tif->tif_rawdatasize - tif->tif_rawcc; 56 if (tif->tif_rawcp != pp) 57 _TIFFmemcpy(tif->tif_rawcp, pp, n); 58 tif->tif_rawcp += n; 59 tif->tif_rawcc += n; 62 if (tif 74 DumpModeDecode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) argument 98 DumpModeSeek(TIFF* tif, uint32 nrows) argument 109 TIFFInitDumpMode(TIFF* tif, int scheme) argument [all...] |
H A D | tif_open.c | 84 TIFFInitOrder(TIFF* tif, int magic, int bigendian) argument 86 tif->tif_typemask = typemask; 88 tif->tif_typeshift = bigTypeshift; 90 tif->tif_flags |= TIFF_SWAB; 92 tif->tif_typeshift = litTypeshift; 94 tif->tif_flags |= TIFF_SWAB; 143 TIFF *tif = &pdftiff; local 155 tif->pdflib_opaque = pdflib_opaque; 156 tif->pdflib_malloc = malloc_h; 157 tif 439 TIFFFileName(TIFF* tif) argument 449 TIFFFileno(TIFF* tif) argument 459 TIFFGetMode(TIFF* tif) argument 469 TIFFIsTiled(TIFF* tif) argument 478 TIFFCurrentRow(TIFF* tif) argument 487 TIFFCurrentDirectory(TIFF* tif) argument 496 TIFFCurrentStrip(TIFF* tif) argument 505 TIFFCurrentTile(TIFF* tif) argument 514 TIFFIsByteSwapped(TIFF* tif) argument 523 TIFFIsUpSampled(TIFF* tif) argument 532 TIFFIsMSB2LSB(TIFF* tif) argument [all...] |
H A D | tif_read.c | 48 TIFFSeek(TIFF* tif, uint32 row, tsample_t sample) argument 50 register TIFFDirectory *td = &tif->tif_dir; 54 TIFFError(tif->tif_name, "%lu: Row out of range, max %lu", 60 TIFFError(tif->tif_name, 68 if (strip != tif->tif_curstrip) { /* different strip, refill */ 69 if (!TIFFFillStrip(tif, strip)) 71 } else if (row < tif->tif_row) { 80 if (!TIFFStartStrip(tif, strip)) 83 if (row != tif->tif_row) { 87 if (!(*tif 95 TIFFReadScanline(TIFF* tif, tdata_t buf, uint32 row, tsample_t sample) argument 120 TIFFReadEncodedStrip(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size) argument 165 TIFFReadRawStrip1(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size, const char* module) argument 210 TIFFReadRawStrip(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size) argument 241 TIFFFillStrip(TIFF* tif, tstrip_t strip) argument 326 TIFFReadTile(TIFF* tif, tdata_t buf, uint32 x, uint32 y, uint32 z, tsample_t s) argument 340 TIFFReadEncodedTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 365 TIFFReadRawTile1(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size, const char* module) argument 414 TIFFReadRawTile(TIFF* tif, ttile_t tile, tdata_t buf, tsize_t size) argument 439 TIFFFillTile(TIFF* tif, ttile_t tile) argument 514 TIFFReadBufferSetup(TIFF* tif, tdata_t bp, tsize_t size) argument 548 TIFFStartStrip(TIFF* tif, tstrip_t strip) argument 570 TIFFStartTile(TIFF* tif, ttile_t tile) argument 593 TIFFCheckRead(TIFF* tif, int tiles) argument 609 _TIFFNoPostDecode(TIFF* tif, tidata_t buf, tsize_t cc) argument 615 _TIFFSwab16BitData(TIFF* tif, tidata_t buf, tsize_t cc) argument 623 _TIFFSwab32BitData(TIFF* tif, tidata_t buf, tsize_t cc) argument 631 _TIFFSwab64BitData(TIFF* tif, tidata_t buf, tsize_t cc) 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) 90 ZIPSetupDecode(TIFF* tif) argument 92 ZIPState* sp = DecoderState(tif); 97 TIFFError(module, "%s: %s", tif->tif_name, sp->stream.msg); 109 ZIPPreDecode(TIFF* tif, tsample_ argument 121 ZIPDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s) argument 159 ZIPSetupEncode(TIFF* tif) argument 180 ZIPPreEncode(TIFF* tif, tsample_t s) argument 197 ZIPEncode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 228 ZIPPostEncode(TIFF* tif) argument 259 ZIPCleanup(TIFF* tif) argument 276 ZIPVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 300 ZIPVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 321 TIFFInitZIP(TIFF* tif, int scheme) argument [all...] |
H A D | tif_compress.c | 35 TIFFNoEncode(TIFF* tif, char* method) argument 37 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); 41 TIFFError(tif->tif_name, 45 TIFFError(tif->tif_name, "%s %s encoding is not implemented", 50 TIFFError(tif->tif_name, 52 tif->tif_dir.td_compression, method); 58 _TIFFNoRowEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 61 return (TIFFNoEncode(tif, "scanline")); 65 _TIFFNoStripEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 68 return (TIFFNoEncode(tif, "stri 72 _TIFFNoTileEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 79 TIFFNoDecode(TIFF* tif, char* method) argument 94 _TIFFNoRowDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 101 _TIFFNoStripDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 108 _TIFFNoTileDecode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) argument 115 _TIFFNoSeek(TIFF* tif, uint32 off) argument 124 _TIFFNoPreCode(TIFF* tif, tsample_t s) argument 130 _TIFFtrue(TIFF* tif) argument 131 _TIFFvoid(TIFF* tif) argument 134 _TIFFSetDefaultCompressionState(TIFF* tif) argument 156 TIFFSetCompressionScheme(TIFF* tif, int scheme) argument [all...] |
H A D | tif_dirread.c | 37 #define TIFFCvtIEEEFloatToNative(tif, n, fp) 38 #define TIFFCvtIEEEDoubleToNative(tif, n, dp) 65 CheckMalloc(TIFF* tif, tsize_t n, const char* what) argument 67 char *cp = (char*)_TIFFmalloc(tif, n); 69 TIFFError(tif->tif_name, "No space %s", what); 79 TIFFReadDirectory(TIFF* tif) argument 95 tif->tif_diroff = tif->tif_nextdiroff; 96 if (tif->tif_diroff == 0) /* no more directories */ 101 (*tif 571 EstimateStripByteCounts(TIFF* tif, TIFFDirEntry* dir, uint16 dircount) argument 625 MissingRequired(TIFF* tif, const char* tagname) argument 638 CheckDirCount(TIFF* tif, TIFFDirEntry* dir, uint32 count) argument 654 TIFFFetchData(TIFF* tif, TIFFDirEntry* dir, char* cp) argument 700 TIFFFetchString(TIFF* tif, TIFFDirEntry* dir, char* cp) argument 716 cvtRational(TIFF* tif, TIFFDirEntry* dir, uint32 num, uint32 denom, float* rv) argument 738 TIFFFetchRational(TIFF* tif, TIFFDirEntry* dir) argument 753 TIFFFetchFloat(TIFF* tif, TIFFDirEntry* dir) argument 765 TIFFFetchByteArray(TIFF* tif, TIFFDirEntry* dir, uint16* v) argument 795 TIFFFetchShortArray(TIFF* tif, TIFFDirEntry* dir, uint16* v) argument 818 TIFFFetchShortPair(TIFF* tif, TIFFDirEntry* dir) argument 842 TIFFFetchLongArray(TIFF* tif, TIFFDirEntry* dir, uint32* v) argument 855 TIFFFetchRationalArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument 882 TIFFFetchFloatArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument 900 TIFFFetchDoubleArray(TIFF* tif, TIFFDirEntry* dir, double* v) argument 921 TIFFFetchAnyArray(TIFF* tif, TIFFDirEntry* dir, double* v) argument 1003 TIFFFetchNormalTag(TIFF* tif, TIFFDirEntry* dp) argument 1146 TIFFFetchPerSampleShorts(TIFF* tif, TIFFDirEntry* dir, int* pl) argument 1182 TIFFFetchPerSampleAnys(TIFF* tif, TIFFDirEntry* dir, double* pl) argument 1219 TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, long nstrips, uint32** lpp) argument 1258 TIFFFetchExtraSamples(TIFF* tif, TIFFDirEntry* dir) argument 1283 TIFFFetchRefBlackWhite(TIFF* tif, TIFFDirEntry* dir) argument 1320 ChopUpSingleUncompressedStrip(TIFF* tif) argument [all...] |
H A D | tif_predict.c | 37 #define PredictorState(tif) ((TIFFPredictorState*) (tif)->tif_data) 50 PredictorSetup(TIFF* tif) argument 52 TIFFPredictorState* sp = PredictorState(tif); 53 TIFFDirectory* td = &tif->tif_dir; 58 TIFFError(tif->tif_name, "\"Predictor\" value %d not supported", 63 TIFFError(tif->tif_name, 73 if (isTiled(tif)) 74 sp->rowsize = TIFFTileRowSize(tif); 76 sp->rowsize = TIFFScanlineSize(tif); 81 PredictorSetupDecode(TIFF* tif) argument 123 PredictorSetupEncode(TIFF* tif) argument 160 horAcc8(TIFF* tif, tidata_t cp0, tsize_t cc) argument 203 swabHorAcc16(TIFF* tif, tidata_t cp0, tsize_t cc) argument 221 horAcc16(TIFF* tif, tidata_t cp0, tsize_t cc) argument 240 PredictorDecodeRow(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 262 PredictorDecodeTile(TIFF* tif, tidata_t op0, tsize_t occ0, tsample_t s) argument 283 horDiff8(TIFF* tif, tidata_t cp0, tsize_t cc) argument 328 horDiff16(TIFF* tif, tidata_t cp0, tsize_t cc) argument 346 PredictorEncodeRow(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 359 PredictorEncodeTile(TIFF* tif, tidata_t bp0, tsize_t cc0, tsample_t s) argument 387 PredictorVSetField(TIFF* tif, ttag_t tag, va_list ap) argument 404 PredictorVGetField(TIFF* tif, ttag_t tag, va_list ap) argument 420 PredictorPrintDir(TIFF* tif, FILE* fd, long flags) argument 439 TIFFPredictorInit(TIFF* tif) argument [all...] |
H A D | tif_fax3.c | 67 #define Fax3State(tif) ((Fax3BaseState*) (tif)->tif_data) 80 #define DecoderState(tif) ((Fax3DecodeState*) Fax3State(tif)) 92 #define EncoderState(tif) ((Fax3EncodeState*) Fax3State(tif)) 106 #define DECLARE_STATE(tif, sp, mod) \ 108 Fax3DecodeState* sp = DecoderState(tif); \ 121 #define DECLARE_STATE_2D(tif, sp, mod) \ 122 DECLARE_STATE(tif, s 150 Fax3PreDecode(TIFF* tif, tsample_t s) argument 182 Fax3Unexpected(const char* module, TIFF* tif, uint32 a0) argument 190 Fax3Extension(const char* module, TIFF* tif, uint32 a0) argument 199 Fax3BadLength(const char* module, TIFF* tif, uint32 a0, uint32 lastx) argument 209 Fax3PrematureEOF(const char* module, TIFF* tif, uint32 a0) argument 222 Fax3Decode1D(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 262 Fax3Decode2D(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 455 Fax3SetupState(TIFF* tif) argument 568 Fax3PutBits(TIFF* tif, tif_int bits, tif_int length) argument 603 putspan(TIFF* tif, int32 span, const tableentry* tab) argument 646 Fax3PutEOL(TIFF* tif) argument 685 Fax3PreEncode(TIFF* tif, tsample_t s) argument 919 Fax3Encode1DRow(TIFF* tif, tif_char* bp, uint32 bits) argument 968 Fax3Encode2DRow(TIFF* tif, tif_char* bp, tif_char* rp, uint32 bits) argument 1015 Fax3Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1054 Fax3PostEncode(TIFF* tif) argument 1066 Fax3Close(TIFF* tif) argument 1084 Fax3Cleanup(TIFF* tif) argument 1145 Fax3VSetField(TIFF* tif, ttag_t tag, va_list ap) argument 1188 Fax3VGetField(TIFF* tif, ttag_t tag, va_list ap) argument 1230 Fax3PrintDir(TIFF* tif, FILE* fd, long flags) argument 1287 InitCCITTFax3(TIFF* tif) argument 1356 TIFFInitCCITTFax3(TIFF* tif, int scheme) argument 1381 Fax4Decode(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 1431 Fax4Encode(TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s) argument 1451 Fax4PostEncode(TIFF* tif) argument 1465 TIFFInitCCITTFax4(TIFF* tif, int scheme) argument 1498 Fax3DecodeRLE(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) argument 1544 TIFFInitCCITTRLE(TIFF* tif, int scheme) argument 1562 TIFFInitCCITTRLEW(TIFF* tif, int scheme) argument [all...] |
H A D | tif_strip.c | 38 TIFFComputeStrip(TIFF* tif, uint32 row, tsample_t sample) argument 40 TIFFDirectory *td = &tif->tif_dir; 46 TIFFError(tif->tif_name, 60 TIFFNumberOfStrips(TIFF* tif) argument 62 TIFFDirectory *td = &tif->tif_dir; 77 TIFFVStripSize(TIFF* tif, uint32 nrows) argument 79 TIFFDirectory *td = &tif->tif_dir; 86 !isUpSampled(tif)) { 106 return ((tsize_t)(nrows * TIFFScanlineSize(tif))); 118 TIFFStripSize(TIFF* tif) argument 134 TIFFDefaultStripSize(TIFF* tif, uint32 request) argument 140 _TIFFDefaultStripSize(TIFF* tif, uint32 s) argument 162 TIFFScanlineSize(TIFF* tif) argument 180 TIFFRasterScanlineSize(TIFF* tif) argument [all...] |