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
11#include <stddef.h>
12#include <stdint.h>
13#include <inttypes.h>
14
15
16/* Signed 16-bit type */
17#undef TIFF_INT16_T
18
19/* Signed 32-bit type */
20#undef TIFF_INT32_T
21
22/* Signed 64-bit type */
23#undef TIFF_INT64_T
24
25/* Signed 8-bit type */
26#undef TIFF_INT8_T
27
28/* Unsigned 16-bit type */
29#undef TIFF_UINT16_T
30
31/* Unsigned 32-bit type */
32#undef TIFF_UINT32_T
33
34/* Unsigned 64-bit type */
35#undef TIFF_UINT64_T
36
37/* Unsigned 8-bit type */
38#undef TIFF_UINT8_T
39
40/* Signed size type */
41#undef TIFF_SSIZE_T
42
43/* Compatibility stuff. */
44
45/* Define as 0 or 1 according to the floating point format supported by the
46   machine */
47#undef HAVE_IEEEFP
48
49/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
50#undef HOST_FILLORDER
51
52/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
53   (Intel) */
54#undef HOST_BIGENDIAN
55
56/* Support CCITT Group 3 & 4 algorithms */
57#undef CCITT_SUPPORT
58
59/* Support JPEG compression (requires IJG JPEG library) */
60#undef JPEG_SUPPORT
61
62/* Support JBIG compression (requires JBIG-KIT library) */
63#undef JBIG_SUPPORT
64
65/* Support LERC compression */
66#undef LERC_SUPPORT
67
68/* Support LogLuv high dynamic range encoding */
69#undef LOGLUV_SUPPORT
70
71/* Support LZW algorithm */
72#undef LZW_SUPPORT
73
74/* Support NeXT 2-bit RLE algorithm */
75#undef NEXT_SUPPORT
76
77/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
78   fails with unpatched IJG JPEG library) */
79#undef OJPEG_SUPPORT
80
81/* Support Macintosh PackBits algorithm */
82#undef PACKBITS_SUPPORT
83
84/* Support Pixar log-format algorithm (requires Zlib) */
85#undef PIXARLOG_SUPPORT
86
87/* Support ThunderScan 4-bit RLE algorithm */
88#undef THUNDER_SUPPORT
89
90/* Support Deflate compression */
91#undef ZIP_SUPPORT
92
93/* Support libdeflate enhanced compression */
94#undef LIBDEFLATE_SUPPORT
95
96/* Support strip chopping (whether or not to convert single-strip uncompressed
97   images to multiple strips of ~8Kb to reduce memory usage) */
98#undef STRIPCHOP_DEFAULT
99
100/* Enable SubIFD tag (330) support */
101#undef SUBIFD_SUPPORT
102
103/* Treat extra sample as alpha (default enabled). The RGBA interface will
104   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
105   packages produce RGBA files but don't mark the alpha properly. */
106#undef DEFAULT_EXTRASAMPLE_AS_ALPHA
107
108/* Pick up YCbCr subsampling info from the JPEG data stream to support files
109   lacking the tag (default enabled). */
110#undef CHECK_JPEG_YCBCR_SUBSAMPLING
111
112/* Support MS MDI magic number files as TIFF */
113#undef MDI_SUPPORT
114
115/*
116 * Feature support definitions.
117 * XXX: These macros are obsoleted. Don't use them in your apps!
118 * Macros stays here for backward compatibility and should be always defined.
119 */
120#define COLORIMETRY_SUPPORT
121#define YCBCR_SUPPORT
122#define CMYK_SUPPORT
123#define ICC_SUPPORT
124#define PHOTOSHOP_SUPPORT
125#define IPTC_SUPPORT
126
127#endif /* _TIFFCONF_ */
128