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