/* libtiff/tiffconf.h. Generated by configure. */ /* Configuration defines for installed libtiff. This file maintained for backward compatibility. Do not use definitions from this file in your programs. */ #ifndef _TIFFCONF_ #define _TIFFCONF_ #include <inttypes.h> #include <stddef.h> #include <stdint.h> #include "build/build_config.h" //NOTE: The tiff codec requires an ANSI C compiler environment for building and // presumes an ANSI C environment for use. #define HAVE_SYS_TYPES_H … #define HAVE_FCNTL_H … /* Compatibility stuff. */ /* Define to 1 if you have the <assert.h> header file. */ #define HAVE_ASSERT_H … /* Define as 0 or 1 according to the floating point format suported by the machine */ #define HAVE_IEEEFP … /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H … /* Define to 1 if you have snprintf(). */ #define HAVE_SNPRINTF … /* Define to 1 if you have the <search.h> header file. */ #if BUILDFLAG(IS_WIN) // search.h is always available in VS 2015 and above, and may be // available in earlier versions. #define HAVE_SEARCH_H … #endif /* The size of a `int'. */ /* According typedef int int32_t; in the fx_system.h*/ #define SIZEOF_INT … #if defined(ARCH_CPU_64_BITS) /* The size of `unsigned long', as computed by sizeof. */ #define SIZEOF_UNSIGNED_LONG … #else #define SIZEOF_UNSIGNED_LONG … #endif /* The size of void*. */ #ifdef __LP64__ #define SIZEOF_VOIDP … #else #define SIZEOF_VOIDP … #endif /* Signed 8-bit type */ #define TIFF_INT8_T … /* Unsigned 8-bit type */ #define TIFF_UINT8_T … /* Signed 16-bit type */ #define TIFF_INT16_T … /* Unsigned 16-bit type */ #define TIFF_UINT16_T … /* Signed 32-bit type */ #define TIFF_INT32_T … /* Unsigned 32-bit type */ #define TIFF_UINT32_T … /* Signed 32-bit type formatter */ #define TIFF_INT32_FORMAT … /* Unsigned 32-bit type formatter */ #define TIFF_UINT32_FORMAT … #ifdef _MSC_VER // windows /* Signed 64-bit type formatter */ #define TIFF_INT64_FORMAT … /* Unsigned 64-bit type formatter */ #define TIFF_UINT64_FORMAT … /* Signed 64-bit type */ #define TIFF_INT64_T … /* Unsigned 64-bit type */ #define TIFF_UINT64_T … #else // linux/unix #if defined(ARCH_CPU_64_BITS) /* Signed 64-bit type formatter */ #define TIFF_INT64_FORMAT … /* Unsigned 64-bit type formatter */ #define TIFF_UINT64_FORMAT … /* Signed 64-bit type */ #define TIFF_INT64_T … /* Unsigned 64-bit type */ #define TIFF_UINT64_T … #else // linux/unix 32 /* Signed 64-bit type formatter */ #define TIFF_INT64_FORMAT … /* Unsigned 64-bit type formatter */ #define TIFF_UINT64_FORMAT … /* Signed 64-bit type */ #define TIFF_INT64_T … /* Unsigned 64-bit type */ #define TIFF_UINT64_T … #endif // define(ARCH_CPU_64_BITS) #endif /* Signed size type, type formatter, and size of size_t */ #if defined(ARCH_CPU_64_BITS) #define TIFF_SSIZE_T … #define TIFF_SSIZE_FORMAT … #define TIFF_SSIZE_T_MAX … #define SIZEOF_SIZE_T … #else #define TIFF_SSIZE_T … #define TIFF_SSIZE_FORMAT … #define TIFF_SSIZE_T_MAX … #define SIZEOF_SIZE_T … #endif /* Pointer difference type */ #ifdef _MSC_VER #define TIFF_PTRDIFF_T … #else #define TIFF_PTRDIFF_T … #endif /* Signed 64-bit type */ /*#define TIFF_INT64_T signed __int64*/ /* Unsigned 64-bit type */ /*#define TIFF_UINT64_T unsigned __int64*/ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus # ifndef inline # define inline __inline # endif #endif #define lfind … #define BSDTYPES /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ #define HOST_FILLORDER … /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel) */ #if _FX_ENDIAN_ == _FX_BIG_ENDIAN_ #define HOST_BIGENDIAN … #else #define HOST_BIGENDIAN … #endif /* Support CCITT Group 3 & 4 algorithms */ #define CCITT_SUPPORT … /* Support JPEG compression (requires IJG JPEG library) */ #define JPEG_SUPPORT … /* Support LogLuv high dynamic range encoding */ #define LOGLUV_SUPPORT … /* Support LZW algorithm */ #define LZW_SUPPORT … /* Support NeXT 2-bit RLE algorithm */ #define NEXT_SUPPORT … /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG library) */ /* #undef OJPEG_SUPPORT */ /* Support Macintosh PackBits algorithm */ #define PACKBITS_SUPPORT … /* Support Pixar log-format algorithm (requires Zlib) */ #define PIXARLOG_SUPPORT … /* Support ThunderScan 4-bit RLE algorithm */ #define THUNDER_SUPPORT … /* Support Deflate compression */ /* #undef ZIP_SUPPORT */ /* Support strip chopping (whether or not to convert single-strip uncompressed images to mutiple strips of ~8Kb to reduce memory usage) */ #define STRIPCHOP_DEFAULT … /* Enable SubIFD tag (330) support */ #define SUBIFD_SUPPORT … /* Treat extra sample as alpha (default enabled). The RGBA interface will treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many packages produce RGBA files but don't mark the alpha properly. */ #define DEFAULT_EXTRASAMPLE_AS_ALPHA … /* Pick up YCbCr subsampling info from the JPEG data stream to support files lacking the tag (default enabled). */ #define CHECK_JPEG_YCBCR_SUBSAMPLING … /* Support MS MDI magic number files as TIFF */ #define MDI_SUPPORT … /* * Feature support definitions. * XXX: These macros are obsoleted. Don't use them in your apps! * Macros stays here for backward compatibility and should be always defined. */ #define COLORIMETRY_SUPPORT #define YCBCR_SUPPORT #define CMYK_SUPPORT #define ICC_SUPPORT #define PHOTOSHOP_SUPPORT #define IPTC_SUPPORT #endif /* _TIFFCONF_ */