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