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