1/* 2 Configuration defines for installed libtiff. 3 This file maintained for backward compatibility. Do not use definitions 4 from this file in your programs. 5*/ 6 7#ifndef _TIFFCONF_ 8#define _TIFFCONF_ 9 10/* Signed 16-bit type */ 11#define TIFF_INT16_T @TIFF_INT16_T@ 12 13/* Signed 32-bit type */ 14#define TIFF_INT32_T @TIFF_INT32_T@ 15 16/* Signed 64-bit type */ 17#define TIFF_INT64_T @TIFF_INT64_T@ 18 19/* Signed 8-bit type */ 20#define TIFF_INT8_T @TIFF_INT8_T@ 21 22/* Unsigned 16-bit type */ 23#define TIFF_UINT16_T @TIFF_UINT16_T@ 24 25/* Unsigned 32-bit type */ 26#define TIFF_UINT32_T @TIFF_UINT32_T@ 27 28/* Unsigned 64-bit type */ 29#define TIFF_UINT64_T @TIFF_UINT64_T@ 30 31/* Unsigned 8-bit type */ 32#define TIFF_UINT8_T @TIFF_UINT8_T@ 33 34/* Unsigned size type */ 35#define TIFF_SIZE_T @TIFF_SIZE_T@ 36 37/* Signed size type */ 38#define TIFF_SSIZE_T @TIFF_SSIZE_T@ 39 40/* Pointer difference type */ 41#define TIFF_PTRDIFF_T @TIFF_PTRDIFF_T@ 42 43/* Define to 1 if the system has the type `int16'. */ 44#cmakedefine HAVE_INT16 1 45 46/* Define to 1 if the system has the type `int32'. */ 47#cmakedefine HAVE_INT32 1 48 49/* Define to 1 if the system has the type `int8'. */ 50#cmakedefine HAVE_INT8 1 51 52/* Compatibility stuff. */ 53 54/* Define as 0 or 1 according to the floating point format suported by the 55 machine */ 56#cmakedefine HAVE_IEEEFP 1 57 58/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ 59#define HOST_FILLORDER @HOST_FILLORDER@ 60 61/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian 62 (Intel) */ 63#define HOST_BIGENDIAN @HOST_BIG_ENDIAN@ 64 65/* Support CCITT Group 3 & 4 algorithms */ 66#cmakedefine CCITT_SUPPORT 1 67 68/* Support JPEG compression (requires IJG JPEG library) */ 69#cmakedefine JPEG_SUPPORT 1 70 71/* Support JBIG compression (requires JBIG-KIT library) */ 72#cmakedefine JBIG_SUPPORT 73 74/* Support LogLuv high dynamic range encoding */ 75#cmakedefine LOGLUV_SUPPORT 1 76 77/* Support LZW algorithm */ 78#cmakedefine LZW_SUPPORT 1 79 80/* Support NeXT 2-bit RLE algorithm */ 81#cmakedefine NEXT_SUPPORT 1 82 83/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation 84 fails with unpatched IJG JPEG library) */ 85#cmakedefine OJPEG_SUPPORT 1 86 87/* Support Macintosh PackBits algorithm */ 88#cmakedefine PACKBITS_SUPPORT 1 89 90/* Support Pixar log-format algorithm (requires Zlib) */ 91#cmakedefine PIXARLOG_SUPPORT 1 92 93/* Support ThunderScan 4-bit RLE algorithm */ 94#cmakedefine THUNDER_SUPPORT 1 95 96/* Support Deflate compression */ 97#cmakedefine ZIP_SUPPORT 1 98 99/* Support strip chopping (whether or not to convert single-strip uncompressed 100 images to mutiple strips of ~8Kb to reduce memory usage) */ 101#cmakedefine STRIPCHOP_DEFAULT 1 102 103/* Enable SubIFD tag (330) support */ 104#cmakedefine SUBIFD_SUPPORT 1 105 106/* Treat extra sample as alpha (default enabled). The RGBA interface will 107 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many 108 packages produce RGBA files but don't mark the alpha properly. */ 109#cmakedefine DEFAULT_EXTRASAMPLE_AS_ALPHA 1 110 111/* Pick up YCbCr subsampling info from the JPEG data stream to support files 112 lacking the tag (default enabled). */ 113#cmakedefine CHECK_JPEG_YCBCR_SUBSAMPLING 1 114 115/* Support MS MDI magic number files as TIFF */ 116#cmakedefine MDI_SUPPORT 1 117 118/* 119 * Feature support definitions. 120 * XXX: These macros are obsoleted. Don't use them in your apps! 121 * Macros stays here for backward compatibility and should be always defined. 122 */ 123#define COLORIMETRY_SUPPORT 124#define YCBCR_SUPPORT 125#define CMYK_SUPPORT 126#define ICC_SUPPORT 127#define PHOTOSHOP_SUPPORT 128#define IPTC_SUPPORT 129 130#endif /* _TIFFCONF_ */ 131