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