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