2010-03-14 17:13:12 +03:00
|
|
|
/* libtiff/tiffconf.h. Generated from tiffconf.h.in by configure. */
|
2010-03-14 15:15:52 +03:00
|
|
|
/*
|
|
|
|
Configuration defines for installed libtiff.
|
|
|
|
This file maintained for backward compatibility. Do not use definitions
|
|
|
|
from this file in your programs.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TIFFCONF_
|
|
|
|
#define _TIFFCONF_
|
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `int16'. */
|
2010-03-14 17:13:12 +03:00
|
|
|
#define HAVE_INT16 1
|
2010-03-14 15:15:52 +03:00
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `int32'. */
|
2010-03-14 17:13:12 +03:00
|
|
|
#define HAVE_INT32 1
|
2010-03-14 15:15:52 +03:00
|
|
|
|
|
|
|
/* Define to 1 if the system has the type `int8'. */
|
2010-03-14 17:13:12 +03:00
|
|
|
#define HAVE_INT8 1
|
2010-03-14 15:15:52 +03:00
|
|
|
|
|
|
|
/* The size of a `int', as computed by sizeof. */
|
|
|
|
#define SIZEOF_INT 4
|
|
|
|
|
|
|
|
/* The size of a `long', as computed by sizeof. */
|
|
|
|
#define SIZEOF_LONG 4
|
|
|
|
|
|
|
|
/* Compatibility stuff. */
|
|
|
|
|
|
|
|
/* Define as 0 or 1 according to the floating point format suported by the
|
|
|
|
machine */
|
|
|
|
#define HAVE_IEEEFP 1
|
|
|
|
|
|
|
|
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
|
|
|
|
#define HOST_FILLORDER FILLORDER_LSB2MSB
|
|
|
|
|
|
|
|
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
|
|
|
|
(Intel) */
|
|
|
|
#define HOST_BIGENDIAN 0
|
|
|
|
|
|
|
|
/* Support CCITT Group 3 & 4 algorithms */
|
|
|
|
#define CCITT_SUPPORT 1
|
|
|
|
|
|
|
|
/* Support JPEG compression (requires IJG JPEG library) */
|
2010-03-14 17:13:12 +03:00
|
|
|
#define JPEG_SUPPORT 1
|
|
|
|
|
|
|
|
/* Support JBIG compression (requires JBIG-KIT library) */
|
|
|
|
/* #undef JBIG_SUPPORT */
|
2010-03-14 15:15:52 +03:00
|
|
|
|
|
|
|
/* Support LogLuv high dynamic range encoding */
|
|
|
|
#define LOGLUV_SUPPORT 1
|
|
|
|
|
|
|
|
/* Support LZW algorithm */
|
|
|
|
#define LZW_SUPPORT 1
|
|
|
|
|
|
|
|
/* Support NeXT 2-bit RLE algorithm */
|
|
|
|
#define NEXT_SUPPORT 1
|
|
|
|
|
|
|
|
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
|
|
|
|
fails with unpatched IJG JPEG library) */
|
2010-03-14 17:13:12 +03:00
|
|
|
#define OJPEG_SUPPORT 1
|
2010-03-14 15:15:52 +03:00
|
|
|
|
|
|
|
/* Support Macintosh PackBits algorithm */
|
|
|
|
#define PACKBITS_SUPPORT 1
|
|
|
|
|
|
|
|
/* Support Pixar log-format algorithm (requires Zlib) */
|
2010-03-14 17:13:12 +03:00
|
|
|
#define PIXARLOG_SUPPORT 1
|
2010-03-14 15:15:52 +03:00
|
|
|
|
|
|
|
/* Support ThunderScan 4-bit RLE algorithm */
|
|
|
|
#define THUNDER_SUPPORT 1
|
|
|
|
|
|
|
|
/* Support Deflate compression */
|
2010-03-14 17:13:12 +03:00
|
|
|
#define ZIP_SUPPORT 1
|
2010-03-14 15:15:52 +03:00
|
|
|
|
|
|
|
/* Support strip chopping (whether or not to convert single-strip uncompressed
|
|
|
|
images to mutiple strips of ~8Kb to reduce memory usage) */
|
|
|
|
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
|
|
|
|
|
|
|
|
/* Enable SubIFD tag (330) support */
|
|
|
|
#define SUBIFD_SUPPORT 1
|
|
|
|
|
|
|
|
/* Treat extra sample as alpha (default enabled). The RGBA interface will
|
|
|
|
treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
|
|
|
|
packages produce RGBA files but don't mark the alpha properly. */
|
|
|
|
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
|
|
|
|
|
|
|
|
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
|
|
|
|
lacking the tag (default enabled). */
|
|
|
|
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
|
|
|
|
|
2010-03-14 17:13:12 +03:00
|
|
|
/* Support MS MDI magic number files as TIFF */
|
|
|
|
#define MDI_SUPPORT 1
|
|
|
|
|
2010-03-14 15:15:52 +03:00
|
|
|
/*
|
|
|
|
* Feature support definitions.
|
|
|
|
* XXX: These macros are obsoleted. Don't use them in your apps!
|
|
|
|
* Macros stays here for backward compatibility and should be always defined.
|
|
|
|
*/
|
|
|
|
#define COLORIMETRY_SUPPORT
|
|
|
|
#define YCBCR_SUPPORT
|
|
|
|
#define CMYK_SUPPORT
|
|
|
|
#define ICC_SUPPORT
|
|
|
|
#define PHOTOSHOP_SUPPORT
|
|
|
|
#define IPTC_SUPPORT
|
|
|
|
|
2010-03-14 17:13:12 +03:00
|
|
|
#include <SupportDefs.h>
|
|
|
|
// Use Be's typedefs for [u]int# instead of having libtiff define them.
|
|
|
|
// This resolves the problem of Be's types being redefined by libtiff
|
|
|
|
// without breaking or making mass changes to libtiff.
|
|
|
|
|
|
|
|
|
2010-03-14 15:15:52 +03:00
|
|
|
#endif /* _TIFFCONF_ */
|