]>
git.saurik.com Git - wxWidgets.git/blob - src/tiff/libtiff/tiffconf.h
2 Configuration defines for installed libtiff.
3 This file maintained for backward compatibility. Do not use definitions
4 from this file in your programs.
14 /* Define to 1 if the system has the type `int16'. */
15 /* #undef HAVE_INT16 */
17 /* Define to 1 if the system has the type `int32'. */
18 /* #undef HAVE_INT32 */
20 /* Define to 1 if the system has the type `int8'. */
21 /* #undef HAVE_INT8 */
23 /* The size of a `int', as computed by sizeof. */
26 /* Signed 8-bit type */
27 #define TIFF_INT8_T signed char
29 /* Unsigned 8-bit type */
30 #define TIFF_UINT8_T unsigned char
32 /* Signed 16-bit type */
33 #define TIFF_INT16_T signed short
35 /* Unsigned 16-bit type */
36 #define TIFF_UINT16_T unsigned short
38 /* Signed 32-bit type formatter */
39 #define TIFF_INT32_FORMAT "%d"
41 /* Signed 32-bit type */
42 #define TIFF_INT32_T signed int
44 /* Unsigned 32-bit type formatter */
45 #define TIFF_UINT32_FORMAT "%u"
47 /* Unsigned 32-bit type */
48 #define TIFF_UINT32_T unsigned int
50 /* Signed 64-bit type formatter */
51 #define TIFF_INT64_FORMAT "%I64d"
53 /* Signed 64-bit type */
54 #define TIFF_INT64_T signed __int64
56 /* Unsigned 64-bit type formatter */
57 #define TIFF_UINT64_FORMAT "%I64u"
59 /* Unsigned 64-bit type */
60 #define TIFF_UINT64_T unsigned __int64
62 /* Signed size type */
64 #define TIFF_SSIZE_T signed __int64
66 #define TIFF_SSIZE_T signed int
69 /* Signed size type formatter */
71 #define TIFF_SSIZE_FORMAT "%I64d"
73 #define TIFF_SSIZE_FORMAT "%ld"
76 /* Pointer difference type */
77 #define TIFF_PTRDIFF_T long
79 /* Compatibility stuff. */
81 /* Define as 0 or 1 according to the floating point format suported by the
85 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
86 #define HOST_FILLORDER FILLORDER_LSB2MSB
88 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
90 #define HOST_BIGENDIAN 0
92 /* Support CCITT Group 3 & 4 algorithms */
93 #define CCITT_SUPPORT 1
95 /* Support JPEG compression (requires IJG JPEG library) */
96 #define JPEG_SUPPORT 1
98 /* Support LogLuv high dynamic range encoding */
99 #define LOGLUV_SUPPORT 1
101 /* Support LZW algorithm */
102 #define LZW_SUPPORT 1
104 /* Support NeXT 2-bit RLE algorithm */
105 #define NEXT_SUPPORT 1
107 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
108 fails with unpatched IJG JPEG library) */
109 /* #undef OJPEG_SUPPORT */
111 /* Support Macintosh PackBits algorithm */
112 #define PACKBITS_SUPPORT 1
114 /* Support Pixar log-format algorithm (requires Zlib) */
115 #define PIXARLOG_SUPPORT 1
117 /* Support ThunderScan 4-bit RLE algorithm */
118 #define THUNDER_SUPPORT 1
120 /* Support Deflate compression */
121 #define ZIP_SUPPORT 1
123 /* Support strip chopping (whether or not to convert single-strip uncompressed
124 images to mutiple strips of ~8Kb to reduce memory usage) */
125 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
127 /* Enable SubIFD tag (330) support */
128 #define SUBIFD_SUPPORT 1
130 /* Treat extra sample as alpha (default enabled). The RGBA interface will
131 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
132 packages produce RGBA files but don't mark the alpha properly. */
133 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
135 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
136 lacking the tag (default enabled). */
137 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
139 /* Support MS MDI magic number files as TIFF */
140 #define MDI_SUPPORT 1
143 * Feature support definitions.
144 * XXX: These macros are obsoleted. Don't use them in your apps!
145 * Macros stays here for backward compatibility and should be always defined.
147 #define COLORIMETRY_SUPPORT
148 #define YCBCR_SUPPORT
151 #define PHOTOSHOP_SUPPORT
154 #endif /* _TIFFCONF_ */