/* libtiff/tiffconf.h. Generated from tiffconf.h.in by configure. */1/*2Configuration defines for installed libtiff.3This file maintained for backward compatibility. Do not use definitions4from this file in your programs.5*/67/* clang-format off */8/* clang-format disabled because CMake scripts are very sensitive to the9* formatting of this file. configure_file variables of type "@VAR@" are10* modified by clang-format and won't be substituted.11*/1213#ifndef _TIFFCONF_14#define _TIFFCONF_151617#include <stddef.h>18#include <stdint.h>19#include <inttypes.h>202122/* Signed 16-bit type */23/* #undef TIFF_INT16_T */2425/* Signed 32-bit type */26/* #undef TIFF_INT32_T */2728/* Signed 64-bit type */29/* #undef TIFF_INT64_T */3031/* Signed 8-bit type */32/* #undef TIFF_INT8_T */3334/* Unsigned 16-bit type */35/* #undef TIFF_UINT16_T */3637/* Unsigned 32-bit type */38/* #undef TIFF_UINT32_T */3940/* Unsigned 64-bit type */41/* #undef TIFF_UINT64_T */4243/* Unsigned 8-bit type */44/* #undef TIFF_UINT8_T */4546/* Signed size type */47#define TIFF_SSIZE_T intptr_t4849/* Compatibility stuff. */5051/* Define as 0 or 1 according to the floating point format supported by the52machine */53#define HAVE_IEEEFP 15455/* The concept of HOST_FILLORDER is broken. Since libtiff 4.5.156* this macro will always be hardcoded to FILLORDER_LSB2MSB on all57* architectures, to reflect past long behavior of doing so on x86 architecture.58* Note however that the default FillOrder used by libtiff is FILLORDER_MSB2LSB,59* as mandated per the TIFF specification.60* The influence of HOST_FILLORDER is only when passing the 'H' mode in61* TIFFOpen().62* You should NOT rely on this macro to decide the CPU endianness!63* This macro will be removed in libtiff 4.664*/65#define HOST_FILLORDER FILLORDER_LSB2MSB6667/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian68(Intel) */69#define HOST_BIGENDIAN 07071/* Support CCITT Group 3 & 4 algorithms */72#define CCITT_SUPPORT 17374/* Support JPEG compression (requires IJG JPEG library) */75#define JPEG_SUPPORT7677/* Support JBIG compression (requires JBIG-KIT library) */78/* #undef JBIG_SUPPORT */7980/* Support LERC compression */81/* #undef LERC_SUPPORT */8283/* Support LogLuv high dynamic range encoding */84#define LOGLUV_SUPPORT 18586/* Support LZW algorithm */87#define LZW_SUPPORT 18889/* Support NeXT 2-bit RLE algorithm */90#define NEXT_SUPPORT 19192/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation93fails with unpatched IJG JPEG library) */94/* #undef OJPEG_SUPPORT */9596/* Support Macintosh PackBits algorithm */97#define PACKBITS_SUPPORT 19899/* Support Pixar log-format algorithm (requires Zlib) */100#define PIXARLOG_SUPPORT 1101102/* Support ThunderScan 4-bit RLE algorithm */103#define THUNDER_SUPPORT 1104105/* Support Deflate compression */106#define ZIP_SUPPORT 1107108/* Support libdeflate enhanced compression */109/* #undef LIBDEFLATE_SUPPORT */110111/* Support strip chopping (whether or not to convert single-strip uncompressed112images to multiple strips of ~8Kb to reduce memory usage) */113#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP114115/* Enable SubIFD tag (330) support */116#define SUBIFD_SUPPORT 1117118/* Treat extra sample as alpha (default enabled). The RGBA interface will119treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many120packages produce RGBA files but don't mark the alpha properly. */121#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1122123/* Pick up YCbCr subsampling info from the JPEG data stream to support files124lacking the tag (default enabled). */125#define CHECK_JPEG_YCBCR_SUBSAMPLING 1126127/* Support MS MDI magic number files as TIFF */128#define MDI_SUPPORT 1129130/*131* Feature support definitions.132* XXX: These macros are obsoleted. Don't use them in your apps!133* Macros stays here for backward compatibility and should be always defined.134*/135#define COLORIMETRY_SUPPORT136#define YCBCR_SUPPORT137#define CMYK_SUPPORT138#define ICC_SUPPORT139#define PHOTOSHOP_SUPPORT140#define IPTC_SUPPORT141142#endif /* _TIFFCONF_ */143144/* clang-format on */145146147