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