/src/FreeImage/Source/LibTIFF/tiffconf.h-vms
Unknown | 99 lines | 72 code | 27 blank | 0 comment | 0 complexity | dabbb1f06f344196f3d742b898867d83 MD5 | raw file
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/* Define to 1 if the system has the type `int16'. */ 11//#define HAVE_INT16 12 13/* Define to 1 if the system has the type `int32'. */ 14//#define HAVE_INT32 15 16/* Define to 1 if the system has the type `int8'. */ 17//#define HAVE_INT8 18 19/* The size of a `int', as computed by sizeof. */ 20#define SIZEOF_INT 4 21 22/* The size of a `long', as computed by sizeof. */ 23#define SIZEOF_LONG 4 24 25/* Compatibility stuff. */ 26 27/* Define as 0 or 1 according to the floating point format suported by the 28 machine */ 29#define HAVE_IEEEFP 1 30 31#define HAVE_GETOPT 1 32 33/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ 34#define HOST_FILLORDER FILLORDER_LSB2MSB 35 36/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian 37 (Intel) */ 38#define HOST_BIGENDIAN 0 39 40/* Support CCITT Group 3 & 4 algorithms */ 41#define CCITT_SUPPORT 1 42 43/* Support JPEG compression (requires IJG JPEG library) */ 44#define JPEG_SUPPORT 45 46/* Support LogLuv high dynamic range encoding */ 47#define LOGLUV_SUPPORT 1 48 49/* Support LZW algorithm */ 50#define LZW_SUPPORT 1 51 52/* Support NeXT 2-bit RLE algorithm */ 53#define NEXT_SUPPORT 1 54 55/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation 56 fails with unpatched IJG JPEG library) */ 57/* #undef OJPEG_SUPPORT */ 58 59/* Support Macintosh PackBits algorithm */ 60#define PACKBITS_SUPPORT 1 61 62/* Support Pixar log-format algorithm (requires Zlib) */ 63/* #undef PIXARLOG_SUPPORT */ 64 65/* Support ThunderScan 4-bit RLE algorithm */ 66#define THUNDER_SUPPORT 1 67 68/* Support Deflate compression */ 69/* #undef ZIP_SUPPORT */ 70 71/* Support strip chopping (whether or not to convert single-strip uncompressed 72 images to mutiple strips of ~8Kb to reduce memory usage) */ 73#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP 74 75/* Enable SubIFD tag (330) support */ 76#define SUBIFD_SUPPORT 1 77 78/* Treat extra sample as alpha (default enabled). The RGBA interface will 79 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many 80 packages produce RGBA files but don't mark the alpha properly. */ 81#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 82 83/* Pick up YCbCr subsampling info from the JPEG data stream to support files 84 lacking the tag (default enabled). */ 85#define CHECK_JPEG_YCBCR_SUBSAMPLING 1 86 87/* 88 * Feature support definitions. 89 * XXX: These macros are obsoleted. Don't use them in your apps! 90 * Macros stays here for backward compatibility and should be always defined. 91 */ 92#define COLORIMETRY_SUPPORT 93#define YCBCR_SUPPORT 94#define CMYK_SUPPORT 95#define ICC_SUPPORT 96#define PHOTOSHOP_SUPPORT 97#define IPTC_SUPPORT 98 99#endif /* _TIFFCONF_ */