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