]>
Commit | Line | Data |
---|---|---|
1 | /*\r | |
2 | Configuration defines for installed libtiff.\r | |
3 | This file maintained for backward compatibility. Do not use definitions\r | |
4 | from this file in your programs.\r | |
5 | */\r | |
6 | \r | |
7 | #ifndef _TIFFCONF_\r | |
8 | #define _TIFFCONF_\r | |
9 | \r | |
10 | /* Define to 1 if the system has the type `int16'. */\r | |
11 | /* #undef HAVE_INT16 */\r | |
12 | \r | |
13 | /* Define to 1 if the system has the type `int32'. */\r | |
14 | /* #undef HAVE_INT32 */\r | |
15 | \r | |
16 | /* Define to 1 if the system has the type `int8'. */\r | |
17 | /* #undef HAVE_INT8 */\r | |
18 | \r | |
19 | /* The size of a `int', as computed by sizeof. */\r | |
20 | #define SIZEOF_INT 4\r | |
21 | \r | |
22 | /* The size of a `long', as computed by sizeof. */\r | |
23 | #define SIZEOF_LONG 4\r | |
24 | \r | |
25 | /* Compatibility stuff. */\r | |
26 | \r | |
27 | /* Define as 0 or 1 according to the floating point format suported by the\r | |
28 | machine */\r | |
29 | #define HAVE_IEEEFP 1\r | |
30 | \r | |
31 | /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */\r | |
32 | #define HOST_FILLORDER FILLORDER_LSB2MSB\r | |
33 | \r | |
34 | /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian\r | |
35 | (Intel) */\r | |
36 | #define HOST_BIGENDIAN 0\r | |
37 | \r | |
38 | /* Support CCITT Group 3 & 4 algorithms */\r | |
39 | #define CCITT_SUPPORT 1\r | |
40 | \r | |
41 | /* Support JPEG compression (requires IJG JPEG library) */\r | |
42 | /* #undef JPEG_SUPPORT */\r | |
43 | \r | |
44 | /* Support LogLuv high dynamic range encoding */\r | |
45 | #define LOGLUV_SUPPORT 1\r | |
46 | \r | |
47 | /* Support LZW algorithm */\r | |
48 | #define LZW_SUPPORT 1\r | |
49 | \r | |
50 | /* Support NeXT 2-bit RLE algorithm */\r | |
51 | #define NEXT_SUPPORT 1\r | |
52 | \r | |
53 | /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation\r | |
54 | fails with unpatched IJG JPEG library) */\r | |
55 | /* #undef OJPEG_SUPPORT */\r | |
56 | \r | |
57 | /* Support Macintosh PackBits algorithm */\r | |
58 | #define PACKBITS_SUPPORT 1\r | |
59 | \r | |
60 | /* Support Pixar log-format algorithm (requires Zlib) */\r | |
61 | /* #undef PIXARLOG_SUPPORT */\r | |
62 | \r | |
63 | /* Support ThunderScan 4-bit RLE algorithm */\r | |
64 | #define THUNDER_SUPPORT 1\r | |
65 | \r | |
66 | /* Support Deflate compression */\r | |
67 | /* #undef ZIP_SUPPORT */\r | |
68 | \r | |
69 | /* Support strip chopping (whether or not to convert single-strip uncompressed\r | |
70 | images to mutiple strips of ~8Kb to reduce memory usage) */\r | |
71 | #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP\r | |
72 | \r | |
73 | /* Enable SubIFD tag (330) support */\r | |
74 | #define SUBIFD_SUPPORT 1\r | |
75 | \r | |
76 | /* Treat extra sample as alpha (default enabled). The RGBA interface will\r | |
77 | treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many\r | |
78 | packages produce RGBA files but don't mark the alpha properly. */\r | |
79 | #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1\r | |
80 | \r | |
81 | /* Pick up YCbCr subsampling info from the JPEG data stream to support files\r | |
82 | lacking the tag (default enabled). */\r | |
83 | #define CHECK_JPEG_YCBCR_SUBSAMPLING 1\r | |
84 | \r | |
85 | /*\r | |
86 | * Feature support definitions.\r | |
87 | * XXX: These macros are obsoleted. Don't use them in your apps!\r | |
88 | * Macros stays here for backward compatibility and should be always defined.\r | |
89 | */\r | |
90 | #define COLORIMETRY_SUPPORT\r | |
91 | #define YCBCR_SUPPORT\r | |
92 | #define CMYK_SUPPORT\r | |
93 | #define ICC_SUPPORT\r | |
94 | #define PHOTOSHOP_SUPPORT\r | |
95 | #define IPTC_SUPPORT\r | |
96 | \r | |
97 | #endif /* _TIFFCONF_ */\r |