60 #if !defined(Z_NO_COMPRESSION) || !defined(Z_DEFLATED) 61 #error "Antiquated ZLIB software; you must use version 1.0 or later" 73 #define ZSTATE_INIT_DECODE 0x01 74 #define ZSTATE_INIT_ENCODE 0x02 80 #define ZState(tif) ((ZIPState*) (tif)->tif_data) 81 #define DecoderState(tif) ZState(tif) 82 #define EncoderState(tif) ZState(tif) 88 ZIPSetupDecode(
TIFF* tif)
91 static const char module[] =
"ZIPSetupDecode";
133 static const char module[] =
"ZIPDecode";
147 "%s: Decoding error at scanline %d, %s",
161 "%s: Not enough data at scanline %d (short %d bytes)",
169 ZIPSetupEncode(
TIFF* tif)
172 static const char module[] =
"ZIPSetupEncode";
214 static const char module[] =
"ZIPEncode";
243 ZIPPostEncode(
TIFF* tif)
246 static const char module[] =
"ZIPPostEncode";
274 ZIPCleanup(
TIFF* tif)
299 ZIPVSetField(
TIFF* tif,
ttag_t tag, va_list ap)
302 static const char module[] =
"ZIPVSetField";
323 ZIPVGetField(
TIFF* tif,
ttag_t tag, va_list ap)
345 static const char module[] =
"TIFFInitZIP";
357 "Merging Deflate codec-specific tags failed");
407 "No space for ZIP state block");
#define ZSTATE_INIT_ENCODE
TIFFCodeMethod tif_decoderow
TIFFTagMethods tif_tagmethods
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
int TIFFInitZIP(TIFF *tif, int scheme)
TIFFPreMethod tif_predecode
int ZEXPORT inflateReset(z_streamp strm)
TIFFCodeMethod tif_encodestrip
TIFFCodeMethod tif_encoderow
#define DecoderState(tif)
int TIFFPredictorCleanup(TIFF *tif)
int ZEXPORT deflateEnd(z_streamp strm)
#define COMPRESSION_DEFLATE
TIFFCodeMethod tif_decodestrip
TIFFVGetMethod vgetparent
#define ZSTATE_INIT_DECODE
TIFFCodeMethod tif_encodetile
TIFFPreMethod tif_preencode
TIFFBoolMethod tif_postencode
int _TIFFMergeFieldInfo(TIFF *, const TIFFFieldInfo[], int)
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
int ZEXPORT inflateSync(z_streamp strm)
TIFFCodeMethod tif_decodetile
int ZEXPORT deflate(z_streamp strm, int flush)
TIFFVoidMethod tif_cleanup
#define TIFFArrayCount(a)
#define TIFFTAG_ZIPQUALITY
void _TIFFSetDefaultCompressionState(TIFF *tif)
TIFFPredictorState predict
int TIFFPredictorInit(TIFF *tif)
#define COMPRESSION_ADOBE_DEFLATE
int(* TIFFVGetMethod)(TIFF *, ttag_t, va_list)
#define deflateInit(strm, level)
#define inflateInit(strm)
void * _TIFFmalloc(tsize_t s)
int ZEXPORT inflate(z_streamp strm, int flush)
#define Z_DEFAULT_STRATEGY
int ZEXPORT deflateReset(z_streamp strm)
void _TIFFfree(tdata_t p)
TIFFVSetMethod vsetparent
int(* TIFFVSetMethod)(TIFF *, ttag_t, va_list)
TIFFBoolMethod tif_setupencode
int TIFFFlushData1(TIFF *tif)
int ZEXPORT inflateEnd(z_streamp strm)
#define EncoderState(tif)
#define Z_DEFAULT_COMPRESSION
TIFFBoolMethod tif_setupdecode