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