winex11: Don't use the vulkan driver interface for xrandr.
[wine.git] / libs / tiff / libtiff / tiffconf.h
blobb5a667c8edf0d817ecc5f0944b83c486b7e0d022
1 /* libtiff/tiffconf.h. Generated from tiffconf.h.in by configure. */
2 /*
3 Configuration defines for installed libtiff.
4 This file maintained for backward compatibility. Do not use definitions
5 from this file in your programs.
6 */
8 /* clang-format off */
9 /* clang-format disabled because CMake scripts are very sensitive to the
10 * formatting of this file. configure_file variables of type "@VAR@" are
11 * modified by clang-format and won't be substituted.
14 #ifndef _TIFFCONF_
15 #define _TIFFCONF_
18 #include <stddef.h>
19 #include <stdint.h>
20 #include <inttypes.h>
23 /* Signed 16-bit type */
24 /* #undef TIFF_INT16_T */
26 /* Signed 32-bit type */
27 /* #undef TIFF_INT32_T */
29 /* Signed 64-bit type */
30 /* #undef TIFF_INT64_T */
32 /* Signed 8-bit type */
33 /* #undef TIFF_INT8_T */
35 /* Unsigned 16-bit type */
36 /* #undef TIFF_UINT16_T */
38 /* Unsigned 32-bit type */
39 /* #undef TIFF_UINT32_T */
41 /* Unsigned 64-bit type */
42 /* #undef TIFF_UINT64_T */
44 /* Unsigned 8-bit type */
45 /* #undef TIFF_UINT8_T */
47 /* Signed size type */
48 #define TIFF_SSIZE_T intptr_t
50 /* Compatibility stuff. */
52 /* Define as 0 or 1 according to the floating point format supported by the
53 machine */
54 #define HAVE_IEEEFP 1
56 /* The concept of HOST_FILLORDER is broken. Since libtiff 4.5.1
57 * this macro will always be hardcoded to FILLORDER_LSB2MSB on all
58 * architectures, to reflect past long behavior of doing so on x86 architecture.
59 * Note however that the default FillOrder used by libtiff is FILLORDER_MSB2LSB,
60 * as mandated per the TIFF specification.
61 * The influence of HOST_FILLORDER is only when passing the 'H' mode in
62 * TIFFOpen().
63 * You should NOT rely on this macro to decide the CPU endianness!
64 * This macro will be removed in libtiff 4.6
66 #define HOST_FILLORDER FILLORDER_LSB2MSB
68 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
69 (Intel) */
70 #define HOST_BIGENDIAN 0
72 /* Support CCITT Group 3 & 4 algorithms */
73 #define CCITT_SUPPORT 1
75 /* Support JPEG compression (requires IJG JPEG library) */
76 /* #undef JPEG_SUPPORT */
78 /* Support JBIG compression (requires JBIG-KIT library) */
79 /* #undef JBIG_SUPPORT */
81 /* Support LERC compression */
82 /* #undef LERC_SUPPORT */
84 /* Support LogLuv high dynamic range encoding */
85 #define LOGLUV_SUPPORT 1
87 /* Support LZW algorithm */
88 #define LZW_SUPPORT 1
90 /* Support NeXT 2-bit RLE algorithm */
91 #define NEXT_SUPPORT 1
93 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
94 fails with unpatched IJG JPEG library) */
95 /* #undef OJPEG_SUPPORT */
97 /* Support Macintosh PackBits algorithm */
98 #define PACKBITS_SUPPORT 1
100 /* Support Pixar log-format algorithm (requires Zlib) */
101 #define PIXARLOG_SUPPORT 1
103 /* Support ThunderScan 4-bit RLE algorithm */
104 #define THUNDER_SUPPORT 1
106 /* Support Deflate compression */
107 #define ZIP_SUPPORT 1
109 /* Support libdeflate enhanced compression */
110 /* #undef LIBDEFLATE_SUPPORT */
112 /* Support strip chopping (whether or not to convert single-strip uncompressed
113 images to multiple strips of ~8Kb to reduce memory usage) */
114 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
116 /* Enable SubIFD tag (330) support */
117 #define SUBIFD_SUPPORT 1
119 /* Treat extra sample as alpha (default enabled). The RGBA interface will
120 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
121 packages produce RGBA files but don't mark the alpha properly. */
122 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
124 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
125 lacking the tag (default enabled). */
126 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
128 /* Support MS MDI magic number files as TIFF */
129 #define MDI_SUPPORT 1
132 * Feature support definitions.
133 * XXX: These macros are obsoleted. Don't use them in your apps!
134 * Macros stays here for backward compatibility and should be always defined.
136 #define COLORIMETRY_SUPPORT
137 #define YCBCR_SUPPORT
138 #define CMYK_SUPPORT
139 #define ICC_SUPPORT
140 #define PHOTOSHOP_SUPPORT
141 #define IPTC_SUPPORT
143 #endif /* _TIFFCONF_ */
145 /* clang-format on */