Searched refs:tif (Results 1 - 25 of 91) sorted by relevance

1234

/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_flush.c33 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 Dtif_dumpmode.c38 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 Dtif_open.c100 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 Dtif_close.c42 * @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 Dtif_read.c47 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 Dtif_write.c37 #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 Dtif_jbig.c51 #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 Dtif_zip.c80 #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 Dtif_strip.c35 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 Dtif_dirwrite.c35 # 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 Dtif_compress.c35 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 Dtif_dirread.c37 # 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 Dtif_packbits.c37 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 Dtif_predict.c35 #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 Dtif_extension.c36 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...]
H A Dtif_tile.c35 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...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/tags/
H A Dmaketif.c10 void SetUpTIFFDirectory(TIFF *tif);
11 void WriteImage(TIFF *tif);
18 TIFF *tif=(TIFF*)0; /* TIFF-level descriptor */ local
20 tif=XTIFFOpen("newtif.tif","w");
21 if (!tif) goto failure;
23 SetUpTIFFDirectory(tif);
24 WriteImage(tif);
26 XTIFFClose(tif);
31 if (tif) XTIFFClos
36 SetUpTIFFDirectory(TIFF *tif) argument
57 WriteImage(TIFF *tif) argument
[all...]
H A Dlisttif.c10 char *fname="newtif.tif";
13 TIFF *tif=(TIFF*)0; /* TIFF-level descriptor */ local
17 tif=XTIFFOpen(fname,"r");
18 if (!tif) goto failure;
23 TIFFPrintDirectory(tif,stdout,flags);
24 XTIFFClose(tif);
29 if (tif) XTIFFClose(tif);
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/test/
H A Dlong_tag.c62 TIFF *tif; local
67 tif = TIFFOpen(filename, "w");
68 if (!tif) {
73 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) {
77 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, length)) {
81 if (!TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 8)) {
85 if (!TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 3)) {
89 if (!TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, rows_per_strip)) {
93 if (!TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG)) {
97 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRI
[all...]
H A Dshort_tag.c76 TIFF *tif; local
81 tif = TIFFOpen(filename, "w");
82 if (!tif) {
87 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) {
91 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, length)) {
95 if (!TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, bps)) {
99 if (!TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, SPP)) {
103 if (!TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, rows_per_strip)) {
107 if (!TIFFSetField(tif, TIFFTAG_PLANARCONFIG, planarconfig)) {
111 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRI
[all...]
H A Dascii_tag.c71 TIFF *tif; local
77 tif = TIFFOpen(filename, "w");
78 if (!tif) {
83 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, 1)) {
87 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, 1)) {
91 if (!TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 8)) {
95 if (!TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 3)) {
99 if (!TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG)) {
103 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_RGB)) {
109 if (!TIFFSetField(tif, ascii_tag
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/tiff/
H A DtiffZip.c79 #define ZState(tif) ((ZIPState*) (tif)->tif_data)
80 #define DecoderState(tif) ZState(tif)
81 #define EncoderState(tif) ZState(tif)
83 static int ZIPSetupDecode(TIFF* tif);
86 TIFF* tif
88 ZIPState* sp = DecoderState(tif);
93 TIFFError(module, "%s: %s", tif
105 ZIPPreDecode( TIFF* tif, tsample_t s ) argument
118 ZIPDecode( TIFF* tif, tidata_t op, tsize_t occ, tsample_t s ) argument
178 ZIPPreEncode( TIFF* tif, tsample_t s ) argument
195 ZIPEncode( TIFF* tif, tidata_t bp, tsize_t cc, tsample_t s ) argument
273 ZIPVSetField( TIFF* tif, ttag_t tag, va_list ap ) argument
300 ZIPVGetField( TIFF* tif, ttag_t tag, va_list ap ) argument
342 TIFF* tif = (TIFF *) handle; local
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/dbs/
H A Dtiff-bi.c39 TIFF * tif; local
46 if ((tif = TIFFOpen(argv[1], "w")) == NULL) {
51 TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, WIDTH);
52 TIFFSetField(tif, TIFFTAG_IMAGELENGTH, HEIGHT);
53 TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 1);
54 TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_NONE);
55 TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_MINISBLACK);
56 TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 1);
57 TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, 1);
58 TIFFSetField(tif, TIFFTAG_PLANARCONFI
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Dtiffinfo.c59 TIFF* tif; local
123 tif = TIFFOpen(argv[optind], chopstrips ? "rC" : "rc");
124 if (tif != NULL) {
126 if (TIFFSetDirectory(tif, (tdir_t) dirnum))
127 tiffinfo(tif, order, flags);
129 if (TIFFSetSubDirectory(tif, diroff))
130 tiffinfo(tif, order, flags);
135 tiffinfo(tif, order, flags);
136 if (TIFFGetField(tif, TIFFTAG_EXIFIFD,
138 if (TIFFReadEXIFDirectory(tif, offse
198 TIFFReadContigStripData(TIFF* tif) argument
225 TIFFReadSeparateStripData(TIFF* tif) argument
276 TIFFReadContigTileData(TIFF* tif) argument
304 TIFFReadSeparateTileData(TIFF* tif) argument
336 TIFFReadData(TIFF* tif) argument
381 TIFFReadRawData(TIFF* tif, int bitrev) argument
429 tiffinfo(TIFF* tif, uint16 order, long flags) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/pds/
H A Dtif_pdsdirread.c57 #define TIFFCvtIEEEFloatToNative(tif, n, fp)
58 #define TIFFCvtIEEEDoubleToNative(tif, n, dp)
71 int (*getFieldFn)(TIFF *tif,ttag_t tag,...));
88 CheckMalloc(TIFF* tif, tsize_t n, const char* what) argument
92 TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "No space %s", what);
118 TIFFReadPrivateDataSubDirectory(TIFF* tif, toff_t pdir_offset, argument
120 int (*setFieldFn)(TIFF *tif, ttag_t tag, ...))
138 if (!isMapped(tif)) {
139 if (!SeekOK(tif, pdir_offse
288 EstimateStripByteCounts(TIFF* tif, TIFFDirEntry* dir, uint16 dircount) argument
339 MissingRequired(TIFF* tif, const char* tagname) argument
352 CheckDirCount(TIFF* tif, TIFFDirEntry* dir, uint32 count) argument
368 TIFFFetchData(TIFF* tif, TIFFDirEntry* dir, char* cp) argument
414 TIFFFetchString(TIFF* tif, TIFFDirEntry* dir, char* cp) argument
430 cvtRational(TIFF* tif, TIFFDirEntry* dir, uint32 num, uint32 denom, float* rv) argument
452 TIFFFetchRational(TIFF* tif, TIFFDirEntry* dir) argument
467 TIFFFetchFloat(TIFF* tif, TIFFDirEntry* dir) argument
496 TIFFFetchByteArray(TIFF* tif, TIFFDirEntry* dir, uint16* v) argument
526 TIFFFetchShortArray(TIFF* tif, TIFFDirEntry* dir, uint16* v) argument
549 TIFFFetchShortPair(TIFF* tif, TIFFDirEntry* dir) argument
573 TIFFFetchLongArray(TIFF* tif, TIFFDirEntry* dir, uint32* v) argument
586 TIFFFetchRationalArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument
613 TIFFFetchFloatArray(TIFF* tif, TIFFDirEntry* dir, float* v) argument
631 TIFFFetchDoubleArray(TIFF* tif, TIFFDirEntry* dir, double* v) argument
652 TIFFFetchAnyArray(TIFF* tif, TIFFDirEntry* dir, double* v) argument
738 TIFFFetchNormalSubTag(TIFF* tif, TIFFDirEntry* dp, const TIFFFieldInfo* fip, int (*setFieldFn)(TIFF *tif, ttag_t tag, ...)) argument
885 TIFFFetchPerSampleShorts(TIFF* tif, TIFFDirEntry* dir, int* pl) argument
921 TIFFFetchPerSampleAnys(TIFF* tif, TIFFDirEntry* dir, double* pl) argument
958 TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, long nstrips, uint32** lpp) argument
997 TIFFFetchExtraSamples(TIFF* tif, TIFFDirEntry* dir) argument
1022 TIFFFetchRefBlackWhite(TIFF* tif, TIFFDirEntry* dir) argument
1060 ChopUpSingleUncompressedStrip(TIFF* tif) argument
[all...]

Completed in 227 milliseconds

1234