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/* Compatibility stuff. */ 44 45/* Define as 0 or 1 according to the floating point format suported by the 46 machine */ 47#cmakedefine HAVE_IEEEFP 1 48 49/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ 50#define HOST_FILLORDER @HOST_FILLORDER@ 51 52/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian 53 (Intel) */ 54#define HOST_BIGENDIAN @HOST_BIG_ENDIAN@ 55 56/* Support CCITT Group 3 & 4 algorithms */ 57#cmakedefine CCITT_SUPPORT 1 58 59/* Support JPEG compression (requires IJG JPEG library) */ 60#cmakedefine JPEG_SUPPORT 1 61 62/* Support JBIG compression (requires JBIG-KIT library) */ 63#cmakedefine JBIG_SUPPORT 64 65/* Support LogLuv high dynamic range encoding */ 66#cmakedefine LOGLUV_SUPPORT 1 67 68/* Support LZW algorithm */ 69#cmakedefine LZW_SUPPORT 1 70 71/* Support NeXT 2-bit RLE algorithm */ 72#cmakedefine NEXT_SUPPORT 1 73 74/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation 75 fails with unpatched IJG JPEG library) */ 76#cmakedefine OJPEG_SUPPORT 1 77 78/* Support Macintosh PackBits algorithm */ 79#cmakedefine PACKBITS_SUPPORT 1 80 81/* Support Pixar log-format algorithm (requires Zlib) */ 82#cmakedefine PIXARLOG_SUPPORT 1 83 84/* Support ThunderScan 4-bit RLE algorithm */ 85#cmakedefine THUNDER_SUPPORT 1 86 87/* Support Deflate compression */ 88#cmakedefine ZIP_SUPPORT 1 89 90/* Support strip chopping (whether or not to convert single-strip uncompressed 91 images to mutiple strips of ~8Kb to reduce memory usage) */ 92#cmakedefine STRIPCHOP_DEFAULT 1 93 94/* Enable SubIFD tag (330) support */ 95#cmakedefine SUBIFD_SUPPORT 1 96 97/* Treat extra sample as alpha (default enabled). The RGBA interface will 98 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many 99 packages produce RGBA files but don't mark the alpha properly. */ 100#cmakedefine DEFAULT_EXTRASAMPLE_AS_ALPHA 1 101 102/* Pick up YCbCr subsampling info from the JPEG data stream to support files 103 lacking the tag (default enabled). */ 104#cmakedefine CHECK_JPEG_YCBCR_SUBSAMPLING 1 105 106/* Support MS MDI magic number files as TIFF */ 107#cmakedefine MDI_SUPPORT 1 108 109/* 110 * Feature support definitions. 111 * XXX: These macros are obsoleted. Don't use them in your apps! 112 * Macros stays here for backward compatibility and should be always defined. 113 */ 114#define COLORIMETRY_SUPPORT 115#define YCBCR_SUPPORT 116#define CMYK_SUPPORT 117#define ICC_SUPPORT 118#define PHOTOSHOP_SUPPORT 119#define IPTC_SUPPORT 120 121#endif /* _TIFFCONF_ */ 122