roentgen b75cab
/*
roentgen b75cab
  Configuration defines for installed libtiff.
roentgen b75cab
  This file maintained for backward compatibility. Do not use definitions
roentgen b75cab
  from this file in your programs.
roentgen b75cab
*/
roentgen b75cab
roentgen b75cab
#ifndef _TIFFCONF_
roentgen b75cab
#define _TIFFCONF_
roentgen b75cab
roentgen b75cab
/* Define to 1 if the system has the type `int16'. */
roentgen b75cab
/* #undef HAVE_INT16 */
roentgen b75cab
roentgen b75cab
/* Define to 1 if the system has the type `int32'. */
roentgen b75cab
/* #undef HAVE_INT32 */
roentgen b75cab
roentgen b75cab
/* Define to 1 if the system has the type `int8'. */
roentgen b75cab
/* #undef HAVE_INT8 */
roentgen b75cab
roentgen b75cab
/* The size of a `int', as computed by sizeof. */
roentgen b75cab
#define SIZEOF_INT 4
roentgen b75cab
roentgen b75cab
/* Signed 8-bit type */
roentgen b75cab
#define TIFF_INT8_T signed char
roentgen b75cab
roentgen b75cab
/* Unsigned 8-bit type */
roentgen b75cab
#define TIFF_UINT8_T unsigned char
roentgen b75cab
roentgen b75cab
/* Signed 16-bit type */
roentgen b75cab
#define TIFF_INT16_T signed short
roentgen b75cab
roentgen b75cab
/* Unsigned 16-bit type */
roentgen b75cab
#define TIFF_UINT16_T unsigned short
roentgen b75cab
roentgen b75cab
/* Signed 32-bit type formatter */
roentgen b75cab
#define TIFF_INT32_FORMAT "%d"
roentgen b75cab
roentgen b75cab
/* Signed 32-bit type */
roentgen b75cab
#define TIFF_INT32_T signed int
roentgen b75cab
roentgen b75cab
/* Unsigned 32-bit type formatter */
roentgen b75cab
#define TIFF_UINT32_FORMAT "%u"
roentgen b75cab
roentgen b75cab
/* Unsigned 32-bit type */
roentgen b75cab
#define TIFF_UINT32_T unsigned int
roentgen b75cab
roentgen b75cab
/* Signed 64-bit type formatter */
roentgen b75cab
#define TIFF_INT64_FORMAT "%I64d"
roentgen b75cab
roentgen b75cab
/* Signed 64-bit type */
roentgen b75cab
#define TIFF_INT64_T signed __int64
roentgen b75cab
roentgen b75cab
/* Unsigned 64-bit type formatter */
roentgen b75cab
#define TIFF_UINT64_FORMAT "%I64u"
roentgen b75cab
roentgen b75cab
/* Unsigned 64-bit type */
roentgen b75cab
#define TIFF_UINT64_T unsigned __int64
roentgen b75cab
roentgen b75cab
/* Signed size type */
roentgen b75cab
#if defined(_WIN64)
roentgen b75cab
#define TIFF_SSIZE_T signed __int64
roentgen b75cab
#else
roentgen b75cab
#define TIFF_SSIZE_T signed int
roentgen b75cab
#endif
roentgen b75cab
roentgen b75cab
/* Signed size type formatter */
roentgen b75cab
#if defined(_WIN64)
roentgen b75cab
#define TIFF_SSIZE_FORMAT "%I64d"
roentgen b75cab
#else
roentgen b75cab
#define TIFF_SSIZE_FORMAT "%ld"
roentgen b75cab
#endif
roentgen b75cab
roentgen b75cab
/* Pointer difference type */
roentgen b75cab
#define TIFF_PTRDIFF_T long
roentgen b75cab
roentgen b75cab
/* Compatibility stuff. */
roentgen b75cab
roentgen b75cab
/* Define as 0 or 1 according to the floating point format suported by the
roentgen b75cab
   machine */
roentgen b75cab
#define HAVE_IEEEFP 1
roentgen b75cab
roentgen b75cab
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
roentgen b75cab
#define HOST_FILLORDER FILLORDER_LSB2MSB
roentgen b75cab
roentgen b75cab
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
roentgen b75cab
   (Intel) */
roentgen b75cab
#define HOST_BIGENDIAN 0
roentgen b75cab
roentgen b75cab
/* Support CCITT Group 3 & 4 algorithms */
roentgen b75cab
#define CCITT_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support JPEG compression (requires IJG JPEG library) */
roentgen b75cab
/* #undef JPEG_SUPPORT */
roentgen b75cab
roentgen b75cab
/* Support JBIG compression (requires JBIG-KIT library) */
roentgen b75cab
/* #undef JBIG_SUPPORT */
roentgen b75cab
roentgen b75cab
/* Support LogLuv high dynamic range encoding */
roentgen b75cab
#define LOGLUV_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support LZW algorithm */
roentgen b75cab
#define LZW_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support NeXT 2-bit RLE algorithm */
roentgen b75cab
#define NEXT_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
roentgen b75cab
   fails with unpatched IJG JPEG library) */
roentgen b75cab
/* #undef OJPEG_SUPPORT */
roentgen b75cab
roentgen b75cab
/* Support Macintosh PackBits algorithm */
roentgen b75cab
#define PACKBITS_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support Pixar log-format algorithm (requires Zlib) */
roentgen b75cab
/* #undef PIXARLOG_SUPPORT */
roentgen b75cab
roentgen b75cab
/* Support ThunderScan 4-bit RLE algorithm */
roentgen b75cab
#define THUNDER_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Support Deflate compression */
roentgen b75cab
/* #undef ZIP_SUPPORT */
roentgen b75cab
roentgen b75cab
/* Support strip chopping (whether or not to convert single-strip uncompressed
roentgen b75cab
   images to mutiple strips of ~8Kb to reduce memory usage) */
roentgen b75cab
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
roentgen b75cab
roentgen b75cab
/* Enable SubIFD tag (330) support */
roentgen b75cab
#define SUBIFD_SUPPORT 1
roentgen b75cab
roentgen b75cab
/* Treat extra sample as alpha (default enabled). The RGBA interface will
roentgen b75cab
   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
roentgen b75cab
   packages produce RGBA files but don't mark the alpha properly. */
roentgen b75cab
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
roentgen b75cab
roentgen b75cab
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
roentgen b75cab
   lacking the tag (default enabled). */
roentgen b75cab
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
roentgen b75cab
roentgen b75cab
/* Support MS MDI magic number files as TIFF */
roentgen b75cab
/* #undef MDI_SUPPORT */
roentgen b75cab
roentgen b75cab
/*
roentgen b75cab
 * Feature support definitions.
roentgen b75cab
 * XXX: These macros are obsoleted. Don't use them in your apps!
roentgen b75cab
 * Macros stays here for backward compatibility and should be always defined.
roentgen b75cab
 */
roentgen b75cab
#define COLORIMETRY_SUPPORT
roentgen b75cab
#define YCBCR_SUPPORT
roentgen b75cab
#define CMYK_SUPPORT
roentgen b75cab
#define ICC_SUPPORT
roentgen b75cab
#define PHOTOSHOP_SUPPORT
roentgen b75cab
#define IPTC_SUPPORT
roentgen b75cab
roentgen b75cab
#endif /* _TIFFCONF_ */
roentgen b75cab
/*
roentgen b75cab
 * Local Variables:
roentgen b75cab
 * mode: c
roentgen b75cab
 * c-basic-offset: 8
roentgen b75cab
 * fill-column: 78
roentgen b75cab
 * End:
roentgen b75cab
 */