]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/libtiff/tiffconf.vc.h
Reflect changes in stc.cpp in stc.cpp.in from which it's generated.
[wxWidgets.git] / src / tiff / libtiff / tiffconf.vc.h
1 /*
2 Configuration defines for installed libtiff.
3 This file maintained for backward compatibility. Do not use definitions
4 from this file in your programs.
5 */
6
7 #ifndef _TIFFCONF_
8 #define _TIFFCONF_
9
10 /* Define to 1 if the system has the type `int16'. */
11 /* #undef HAVE_INT16 */
12
13 /* Define to 1 if the system has the type `int32'. */
14 /* #undef HAVE_INT32 */
15
16 /* Define to 1 if the system has the type `int8'. */
17 /* #undef HAVE_INT8 */
18
19 /* The size of a `int', as computed by sizeof. */
20 #define SIZEOF_INT 4
21
22 /* Signed 8-bit type */
23 #define TIFF_INT8_T signed char
24
25 /* Unsigned 8-bit type */
26 #define TIFF_UINT8_T unsigned char
27
28 /* Signed 16-bit type */
29 #define TIFF_INT16_T signed short
30
31 /* Unsigned 16-bit type */
32 #define TIFF_UINT16_T unsigned short
33
34 /* Signed 32-bit type formatter */
35 #define TIFF_INT32_FORMAT "%d"
36
37 /* Signed 32-bit type */
38 #define TIFF_INT32_T signed int
39
40 /* Unsigned 32-bit type formatter */
41 #define TIFF_UINT32_FORMAT "%u"
42
43 /* Unsigned 32-bit type */
44 #define TIFF_UINT32_T unsigned int
45
46 /* Signed 64-bit type formatter */
47 #define TIFF_INT64_FORMAT "%I64d"
48
49 /* Signed 64-bit type */
50 #define TIFF_INT64_T signed __int64
51
52 /* Unsigned 64-bit type formatter */
53 #define TIFF_UINT64_FORMAT "%I64u"
54
55 /* Unsigned 64-bit type */
56 #define TIFF_UINT64_T unsigned __int64
57
58 /* Signed size type */
59 #if defined(_WIN64)
60 #define TIFF_SSIZE_T signed __int64
61 #else
62 #define TIFF_SSIZE_T signed int
63 #endif
64
65 /* Signed size type formatter */
66 #if defined(_WIN64)
67 #define TIFF_SSIZE_FORMAT "%I64d"
68 #else
69 #define TIFF_SSIZE_FORMAT "%ld"
70 #endif
71
72 /* Pointer difference type */
73 #define TIFF_PTRDIFF_T long
74
75 /* Compatibility stuff. */
76
77 /* Define as 0 or 1 according to the floating point format suported by the
78 machine */
79 #define HAVE_IEEEFP 1
80
81 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
82 #define HOST_FILLORDER FILLORDER_LSB2MSB
83
84 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
85 (Intel) */
86 #define HOST_BIGENDIAN 0
87
88 /* Support CCITT Group 3 & 4 algorithms */
89 #define CCITT_SUPPORT 1
90
91 /* Support JPEG compression (requires IJG JPEG library) */
92 #define JPEG_SUPPORT 1
93
94 /* Support LogLuv high dynamic range encoding */
95 #define LOGLUV_SUPPORT 1
96
97 /* Support LZW algorithm */
98 #define LZW_SUPPORT 1
99
100 /* Support NeXT 2-bit RLE algorithm */
101 #define NEXT_SUPPORT 1
102
103 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
104 fails with unpatched IJG JPEG library) */
105 /* #undef OJPEG_SUPPORT */
106
107 /* Support Macintosh PackBits algorithm */
108 #define PACKBITS_SUPPORT 1
109
110 /* Support Pixar log-format algorithm (requires Zlib) */
111 #define PIXARLOG_SUPPORT 1
112
113 /* Support ThunderScan 4-bit RLE algorithm */
114 #define THUNDER_SUPPORT 1
115
116 /* Support Deflate compression */
117 #define ZIP_SUPPORT 1
118
119 /* Support strip chopping (whether or not to convert single-strip uncompressed
120 images to mutiple strips of ~8Kb to reduce memory usage) */
121 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
122
123 /* Enable SubIFD tag (330) support */
124 #define SUBIFD_SUPPORT 1
125
126 /* Treat extra sample as alpha (default enabled). The RGBA interface will
127 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
128 packages produce RGBA files but don't mark the alpha properly. */
129 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
130
131 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
132 lacking the tag (default enabled). */
133 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
134
135 /* Support MS MDI magic number files as TIFF */
136 #define MDI_SUPPORT 1
137
138 /*
139 * Feature support definitions.
140 * XXX: These macros are obsoleted. Don't use them in your apps!
141 * Macros stays here for backward compatibility and should be always defined.
142 */
143 #define COLORIMETRY_SUPPORT
144 #define YCBCR_SUPPORT
145 #define CMYK_SUPPORT
146 #define ICC_SUPPORT
147 #define PHOTOSHOP_SUPPORT
148 #define IPTC_SUPPORT
149
150 #endif /* _TIFFCONF_ */
151 /*
152 * Local Variables:
153 * mode: c
154 * c-basic-offset: 8
155 * fill-column: 78
156 * End:
157 */