| 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 | #define PIXARLOG_SUPPORT 1  |
| 83 |   |
| 84 | /* Support ThunderScan 4-bit RLE algorithm */  |
| 85 | #define THUNDER_SUPPORT 1  |
| 86 |   |
| 87 | /* Support Deflate compression */  |
| 88 | #define ZIP_SUPPORT 1  |
| 89 |   |
| 90 | /* Support libdeflate enhanced compression */  |
| 91 | /* #undef LIBDEFLATE_SUPPORT */  |
| 92 |   |
| 93 | /* Support strip chopping (whether or not to convert single-strip uncompressed  |
| 94 | images to mutiple strips of ~8Kb to reduce memory usage) */  |
| 95 | #define STRIPCHOP_DEFAULT 1  |
| 96 |   |
| 97 | /* Enable SubIFD tag (330) support */  |
| 98 | #define SUBIFD_SUPPORT 1  |
| 99 |   |
| 100 | /* Treat extra sample as alpha (default enabled). The RGBA interface will  |
| 101 | treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many  |
| 102 | packages produce RGBA files but don't mark the alpha properly. */  |
| 103 | #define 1  |
| 104 |   |
| 105 | /* Pick up YCbCr subsampling info from the JPEG data stream to support files  |
| 106 | lacking the tag (default enabled). */  |
| 107 | #define CHECK_JPEG_YCBCR_SUBSAMPLING 1  |
| 108 |   |
| 109 | /* Support MS MDI magic number files as TIFF */  |
| 110 | #define MDI_SUPPORT 1  |
| 111 |   |
| 112 | /*  |
| 113 | * Feature support definitions.  |
| 114 | * XXX: These macros are obsoleted. Don't use them in your apps!  |
| 115 | * Macros stays here for backward compatibility and should be always defined.  |
| 116 | */  |
| 117 | #define COLORIMETRY_SUPPORT  |
| 118 | #define YCBCR_SUPPORT  |
| 119 | #define CMYK_SUPPORT  |
| 120 | #define ICC_SUPPORT  |
| 121 | #define PHOTOSHOP_SUPPORT  |
| 122 | #define IPTC_SUPPORT  |
| 123 |   |
| 124 | #endif /* _TIFFCONF_ */  |
| 125 | |