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