]>
Commit | Line | Data |
---|---|---|
1 | /* $Id$ */ | |
2 | ||
3 | /* | |
4 | * Windows CE platform tiffconf.wince.h | |
5 | * Created by Mateusz Loskot (mateusz@loskot.net) | |
6 | * | |
7 | * NOTE: Requires WCELIBCEX library with wceex_* functions, | |
8 | * It's an extension to C library on Windows CE platform. | |
9 | * For example, HAVE_STDIO_H definition indicates there are | |
10 | * following files available: | |
11 | * stdio.h - from Windows CE / Windows Mobile SDK | |
12 | * wce_stdio.h - from WCELIBCEX library | |
13 | */ | |
14 | ||
15 | ||
16 | /* | |
17 | Configuration defines for installed libtiff. | |
18 | This file maintained for backward compatibility. Do not use definitions | |
19 | from this file in your programs. | |
20 | */ | |
21 | ||
22 | #ifndef _WIN32_WCE | |
23 | # error This version of tif_config.h header is dedicated for Windows CE platform! | |
24 | #endif | |
25 | ||
26 | ||
27 | #ifndef _TIFFCONF_ | |
28 | #define _TIFFCONF_ | |
29 | ||
30 | /* Define to 1 if the system has the type `int16'. */ | |
31 | /* #undef HAVE_INT16 */ | |
32 | ||
33 | /* Define to 1 if the system has the type `int32'. */ | |
34 | /* #undef HAVE_INT32 */ | |
35 | ||
36 | /* Define to 1 if the system has the type `int8'. */ | |
37 | /* #undef HAVE_INT8 */ | |
38 | ||
39 | /* The size of a `int', as computed by sizeof. */ | |
40 | #define SIZEOF_INT 4 | |
41 | ||
42 | /* Compatibility stuff. */ | |
43 | ||
44 | /* Define as 0 or 1 according to the floating point format suported by the | |
45 | machine */ | |
46 | #define HAVE_IEEEFP 1 | |
47 | ||
48 | /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ | |
49 | #define HOST_FILLORDER FILLORDER_LSB2MSB | |
50 | ||
51 | /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian | |
52 | (Intel) */ | |
53 | #define HOST_BIGENDIAN 0 | |
54 | ||
55 | /* Support CCITT Group 3 & 4 algorithms */ | |
56 | #define CCITT_SUPPORT 1 | |
57 | ||
58 | /* Support JPEG compression (requires IJG JPEG library) */ | |
59 | /* #undef JPEG_SUPPORT */ | |
60 | ||
61 | /* Support LogLuv high dynamic range encoding */ | |
62 | #define LOGLUV_SUPPORT 1 | |
63 | ||
64 | /* Support LZW algorithm */ | |
65 | #define LZW_SUPPORT 1 | |
66 | ||
67 | /* Support NeXT 2-bit RLE algorithm */ | |
68 | #define NEXT_SUPPORT 1 | |
69 | ||
70 | /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation | |
71 | fails with unpatched IJG JPEG library) */ | |
72 | /* #undef OJPEG_SUPPORT */ | |
73 | ||
74 | /* Support Macintosh PackBits algorithm */ | |
75 | #define PACKBITS_SUPPORT 1 | |
76 | ||
77 | /* Support Pixar log-format algorithm (requires Zlib) */ | |
78 | /* #undef PIXARLOG_SUPPORT */ | |
79 | ||
80 | /* Support ThunderScan 4-bit RLE algorithm */ | |
81 | #define THUNDER_SUPPORT 1 | |
82 | ||
83 | /* Support Deflate compression */ | |
84 | /* #undef ZIP_SUPPORT */ | |
85 | ||
86 | /* Support strip chopping (whether or not to convert single-strip uncompressed | |
87 | images to mutiple strips of ~8Kb to reduce memory usage) */ | |
88 | #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP | |
89 | ||
90 | /* Enable SubIFD tag (330) support */ | |
91 | #define SUBIFD_SUPPORT 1 | |
92 | ||
93 | /* Treat extra sample as alpha (default enabled). The RGBA interface will | |
94 | treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many | |
95 | packages produce RGBA files but don't mark the alpha properly. */ | |
96 | #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 | |
97 | ||
98 | /* Pick up YCbCr subsampling info from the JPEG data stream to support files | |
99 | lacking the tag (default enabled). */ | |
100 | #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 | |
101 | ||
102 | /* | |
103 | * Feature support definitions. | |
104 | * XXX: These macros are obsoleted. Don't use them in your apps! | |
105 | * Macros stays here for backward compatibility and should be always defined. | |
106 | */ | |
107 | #define COLORIMETRY_SUPPORT | |
108 | #define YCBCR_SUPPORT | |
109 | #define CMYK_SUPPORT | |
110 | #define ICC_SUPPORT | |
111 | #define PHOTOSHOP_SUPPORT | |
112 | #define IPTC_SUPPORT | |
113 | ||
114 | #endif /* _TIFFCONF_ */ | |
115 | /* | |
116 | * Local Variables: | |
117 | * mode: c | |
118 | * c-basic-offset: 8 | |
119 | * fill-column: 78 | |
120 | * End: | |
121 | */ |