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*/
7
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.
12 */
13
14#ifndef _TIFFCONF_
15#define _TIFFCONF_
16
17
18#include <stddef.h>
19#include <stdint.h>
20#include <inttypes.h>
21
22
23/* Signed 16-bit type */
24/* #undef TIFF_INT16_T */
25
26/* Signed 32-bit type */
27/* #undef TIFF_INT32_T */
28
29/* Signed 64-bit type */
30/* #undef TIFF_INT64_T */
31
32/* Signed 8-bit type */
33/* #undef TIFF_INT8_T */
34
35/* Unsigned 16-bit type */
36/* #undef TIFF_UINT16_T */
37
38/* Unsigned 32-bit type */
39/* #undef TIFF_UINT32_T */
40
41/* Unsigned 64-bit type */
42/* #undef TIFF_UINT64_T */
43
44/* Unsigned 8-bit type */
45/* #undef TIFF_UINT8_T */
46
47/* Signed size type */
48#define TIFF_SSIZE_T int64_t
49
50/* Compatibility stuff. */
51
52/* Define as 0 or 1 according to the floating point format supported by the
53 machine */
54#define HAVE_IEEEFP 1
55
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
65 */
66#define HOST_FILLORDER FILLORDER_LSB2MSB
67
68/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
69 (Intel) */
70#define HOST_BIGENDIAN 0
71
72/* Support CCITT Group 3 & 4 algorithms */
73#define CCITT_SUPPORT 1
74
75/* Support JPEG compression (requires IJG JPEG library) */
76#define JPEG_SUPPORT 1
77
78/* Support JBIG compression (requires JBIG-KIT library) */
79#define JBIG_SUPPORT 1
80
81/* Support LERC compression */
82#define LERC_SUPPORT 1
83
84/* Support LogLuv high dynamic range encoding */
85#define LOGLUV_SUPPORT 1
86
87/* Support LZW algorithm */
88#define LZW_SUPPORT 1
89
90/* Support NeXT 2-bit RLE algorithm */
91#define NEXT_SUPPORT 1
92
93/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
94 fails with unpatched IJG JPEG library) */
95#define OJPEG_SUPPORT 1
96
97/* Support Macintosh PackBits algorithm */
98#define PACKBITS_SUPPORT 1
99
100/* Support Pixar log-format algorithm (requires Zlib) */
101#define PIXARLOG_SUPPORT 1
102
103/* Support ThunderScan 4-bit RLE algorithm */
104#define THUNDER_SUPPORT 1
105
106/* Support Deflate compression */
107#define ZIP_SUPPORT 1
108
109/* Support libdeflate enhanced compression */
110#define LIBDEFLATE_SUPPORT 1
111
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
115
116/* Enable SubIFD tag (330) support */
117#define SUBIFD_SUPPORT 1
118
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
123
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
127
128/* Support MS MDI magic number files as TIFF */
129#define MDI_SUPPORT 1
130
131/*
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.
135 */
136#define COLORIMETRY_SUPPORT
137#define YCBCR_SUPPORT
138#define CMYK_SUPPORT
139#define ICC_SUPPORT
140#define PHOTOSHOP_SUPPORT
141#define IPTC_SUPPORT
142
143#endif /* _TIFFCONF_ */
144
145/* clang-format on */
146

source code of include/x86_64-linux-gnu/tiffconf.h