[LIBTIFF] Restore ROS-diff that I thought was no longer needed because of PCH. CORE...
[reactos.git] / sdk / include / reactos / libs / libtiff / tiffconf.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 #ifdef __GNUC__
51 #define TIFF_INT64_T signed long long
52 #else
53 #define TIFF_INT64_T signed __int64
54 #endif
55
56 /* Unsigned 64-bit type formatter */
57 #define TIFF_UINT64_FORMAT "%I64u"
58
59 /* Unsigned 64-bit type */
60 #ifdef __GNUC__
61 #define TIFF_UINT64_T unsigned long long
62 #else
63 #define TIFF_UINT64_T unsigned __int64
64 #endif
65
66 #if _WIN64
67 /*
68 Windows 64-bit build
69 */
70
71 /* Signed size type */
72 # define TIFF_SSIZE_T TIFF_INT64_T
73
74 #else
75 /*
76 Windows 32-bit build
77 */
78
79 /* Signed size type */
80 # define TIFF_SSIZE_T signed int
81
82 #endif
83
84 /* Compatibility stuff. */
85
86 /* Define as 0 or 1 according to the floating point format suported by the
87 machine */
88 #define HAVE_IEEEFP 1
89
90 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
91 #define HOST_FILLORDER FILLORDER_LSB2MSB
92
93 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
94 (Intel) */
95 #define HOST_BIGENDIAN 0
96
97 /* Support CCITT Group 3 & 4 algorithms */
98 #define CCITT_SUPPORT 1
99
100 /* Support JPEG compression (requires IJG JPEG library) */
101 /* #undef JPEG_SUPPORT */
102
103 /* Support JBIG compression (requires JBIG-KIT library) */
104 /* #undef JBIG_SUPPORT */
105
106 /* Support LogLuv high dynamic range encoding */
107 #define LOGLUV_SUPPORT 1
108
109 /* Support LZW algorithm */
110 #define LZW_SUPPORT 1
111
112 /* Support NeXT 2-bit RLE algorithm */
113 #define NEXT_SUPPORT 1
114
115 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
116 fails with unpatched IJG JPEG library) */
117 /* #undef OJPEG_SUPPORT */
118
119 /* Support Macintosh PackBits algorithm */
120 #define PACKBITS_SUPPORT 1
121
122 /* Support Pixar log-format algorithm (requires Zlib) */
123 #define PIXARLOG_SUPPORT 1
124
125 /* Support ThunderScan 4-bit RLE algorithm */
126 #define THUNDER_SUPPORT 1
127
128 /* Support Deflate compression */
129 #define ZIP_SUPPORT 1
130
131 /* Support strip chopping (whether or not to convert single-strip uncompressed
132 images to mutiple strips of ~8Kb to reduce memory usage) */
133 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
134
135 /* Enable SubIFD tag (330) support */
136 #define SUBIFD_SUPPORT 1
137
138 /* Treat extra sample as alpha (default enabled). The RGBA interface will
139 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
140 packages produce RGBA files but don't mark the alpha properly. */
141 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
142
143 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
144 lacking the tag (default enabled). */
145 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
146
147 /* Support MS MDI magic number files as TIFF */
148 #define MDI_SUPPORT 1
149
150 /*
151 * Feature support definitions.
152 * XXX: These macros are obsoleted. Don't use them in your apps!
153 * Macros stays here for backward compatibility and should be always defined.
154 */
155 #define COLORIMETRY_SUPPORT
156 #define YCBCR_SUPPORT
157 #define CMYK_SUPPORT
158 #define ICC_SUPPORT
159 #define PHOTOSHOP_SUPPORT
160 #define IPTC_SUPPORT
161
162 #endif /* _TIFFCONF_ */
163 /*
164 * Local Variables:
165 * mode: c
166 * c-basic-offset: 8
167 * fill-column: 78
168 * End:
169 */