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 signed short 12 13 /* Signed 32-bit type */ 14 #define TIFF_INT32_T signed int 15 16 /* Signed 64-bit type */ 17 #define TIFF_INT64_T signed long long 18 19 /* Signed 8-bit type */ 20 #define TIFF_INT8_T signed char 21 22 /* Unsigned 16-bit type */ 23 #define TIFF_UINT16_T unsigned short 24 25 /* Unsigned 32-bit type */ 26 #define TIFF_UINT32_T unsigned int 27 28 /* Unsigned 64-bit type */ 29 #define TIFF_UINT64_T unsigned long long 30 31 /* Unsigned 8-bit type */ 32 #define TIFF_UINT8_T unsigned char 33 34 /* Unsigned size type */ 35 #define TIFF_SIZE_T unsigned long long 36 37 /* Signed size type */ 38 #define TIFF_SSIZE_T signed long long 39 40 /* Pointer difference type */ 41 #define TIFF_PTRDIFF_T 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 #define HAVE_IEEEFP 1 48 49 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ 50 #define HOST_FILLORDER FILLORDER_LSB2MSB 51 52 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian 53 (Intel) */ 54 #define HOST_BIGENDIAN 0 55 56 /* Support CCITT Group 3 & 4 algorithms */ 57 #define CCITT_SUPPORT 1 58 59 /* Support JPEG compression (requires IJG JPEG library) */ 60 /* #undef JPEG_SUPPORT */ 61 62 /* Support JBIG compression (requires JBIG-KIT library) */ 63 /* #undef JBIG_SUPPORT */ 64 65 /* Support LogLuv high dynamic range encoding */ 66 #define LOGLUV_SUPPORT 1 67 68 /* Support LZW algorithm */ 69 #define LZW_SUPPORT 1 70 71 /* Support NeXT 2-bit RLE algorithm */ 72 #define NEXT_SUPPORT 1 73 74 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation 75 fails with unpatched IJG JPEG library) */ 76 /* #undef OJPEG_SUPPORT */ 77 78 /* Support Macintosh PackBits algorithm */ 79 #define PACKBITS_SUPPORT 1 80 81 /* Support Pixar log-format algorithm (requires Zlib) */ 82 /* #undef PIXARLOG_SUPPORT */ 83 84 /* Support ThunderScan 4-bit RLE algorithm */ 85 #define THUNDER_SUPPORT 1 86 87 /* Support Deflate compression */ 88 /* #undef ZIP_SUPPORT */ 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 #define STRIPCHOP_DEFAULT 1 93 94 /* Enable SubIFD tag (330) support */ 95 #define 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 #define 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 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 105 106 /* Support MS MDI magic number files as TIFF */ 107 #define 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