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