|
||||
File indexing completed on 2024-05-18 08:30:23
0001 /* 0002 Configuration defines for installed libtiff. 0003 This file maintained for backward compatibility. Do not use definitions 0004 from this file in your programs. 0005 */ 0006 0007 /* clang-format off */ 0008 /* clang-format disabled because CMake scripts are very sensitive to the 0009 * formatting of this file. configure_file variables of type "" are 0010 * modified by clang-format and won't be substituted. 0011 */ 0012 0013 #ifndef _TIFFCONF_ 0014 #define _TIFFCONF_ 0015 0016 0017 #include <stddef.h> 0018 #include <stdint.h> 0019 #include <inttypes.h> 0020 0021 0022 /* Signed 16-bit type */ 0023 #define TIFF_INT16_T int16_t 0024 0025 /* Signed 32-bit type */ 0026 #define TIFF_INT32_T int32_t 0027 0028 /* Signed 64-bit type */ 0029 #define TIFF_INT64_T int64_t 0030 0031 /* Signed 8-bit type */ 0032 #define TIFF_INT8_T int8_t 0033 0034 /* Unsigned 16-bit type */ 0035 #define TIFF_UINT16_T uint16_t 0036 0037 /* Unsigned 32-bit type */ 0038 #define TIFF_UINT32_T uint32_t 0039 0040 /* Unsigned 64-bit type */ 0041 #define TIFF_UINT64_T uint64_t 0042 0043 /* Unsigned 8-bit type */ 0044 #define TIFF_UINT8_T uint8_t 0045 0046 /* Signed size type */ 0047 #define TIFF_SSIZE_T int64_t 0048 0049 /* Compatibility stuff. */ 0050 0051 /* Define as 0 or 1 according to the floating point format supported by the 0052 machine */ 0053 #define HAVE_IEEEFP 1 0054 0055 /* The concept of HOST_FILLORDER is broken. Since libtiff 4.5.1 0056 * this macro will always be hardcoded to FILLORDER_LSB2MSB on all 0057 * architectures, to reflect past long behavior of doing so on x86 architecture. 0058 * Note however that the default FillOrder used by libtiff is FILLORDER_MSB2LSB, 0059 * as mandated per the TIFF specification. 0060 * The influence of HOST_FILLORDER is only when passing the 'H' mode in 0061 * TIFFOpen(). 0062 * You should NOT rely on this macro to decide the CPU endianness! 0063 * This macro will be removed in libtiff 4.6 0064 */ 0065 #define HOST_FILLORDER FILLORDER_LSB2MSB 0066 0067 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian 0068 (Intel) */ 0069 #define HOST_BIGENDIAN 0 0070 0071 /* Support CCITT Group 3 & 4 algorithms */ 0072 #define CCITT_SUPPORT 1 0073 0074 /* Support JPEG compression (requires IJG JPEG library) */ 0075 #define JPEG_SUPPORT 1 0076 0077 /* Support JBIG compression (requires JBIG-KIT library) */ 0078 /* #undef JBIG_SUPPORT */ 0079 0080 /* Support LERC compression */ 0081 /* #undef LERC_SUPPORT */ 0082 0083 /* Support LogLuv high dynamic range encoding */ 0084 #define LOGLUV_SUPPORT 1 0085 0086 /* Support LZW algorithm */ 0087 #define LZW_SUPPORT 1 0088 0089 /* Support NeXT 2-bit RLE algorithm */ 0090 #define NEXT_SUPPORT 1 0091 0092 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation 0093 fails with unpatched IJG JPEG library) */ 0094 /* #undef OJPEG_SUPPORT */ 0095 0096 /* Support Macintosh PackBits algorithm */ 0097 #define PACKBITS_SUPPORT 1 0098 0099 /* Support Pixar log-format algorithm (requires Zlib) */ 0100 /* #undef PIXARLOG_SUPPORT */ 0101 0102 /* Support ThunderScan 4-bit RLE algorithm */ 0103 #define THUNDER_SUPPORT 1 0104 0105 /* Support Deflate compression */ 0106 #define ZIP_SUPPORT 1 0107 0108 /* Support libdeflate enhanced compression */ 0109 /* #undef LIBDEFLATE_SUPPORT */ 0110 0111 /* Support strip chopping (whether or not to convert single-strip uncompressed 0112 images to multiple strips of ~8Kb to reduce memory usage) */ 0113 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP 0114 0115 /* Enable SubIFD tag (330) support */ 0116 #define SUBIFD_SUPPORT 1 0117 0118 /* Treat extra sample as alpha (default enabled). The RGBA interface will 0119 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many 0120 packages produce RGBA files but don't mark the alpha properly. */ 0121 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 0122 0123 /* Pick up YCbCr subsampling info from the JPEG data stream to support files 0124 lacking the tag (default enabled). */ 0125 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 0126 0127 /* Support MS MDI magic number files as TIFF */ 0128 #define MDI_SUPPORT 1 0129 0130 /* 0131 * Feature support definitions. 0132 * XXX: These macros are obsoleted. Don't use them in your apps! 0133 * Macros stays here for backward compatibility and should be always defined. 0134 */ 0135 #define COLORIMETRY_SUPPORT 0136 #define YCBCR_SUPPORT 0137 #define CMYK_SUPPORT 0138 #define ICC_SUPPORT 0139 #define PHOTOSHOP_SUPPORT 0140 #define IPTC_SUPPORT 0141 0142 #endif /* _TIFFCONF_ */ 0143 0144 /* clang-format on */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.5 LXR engine. The LXR team |