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