PBRT
|
00001 /* 00002 Configuration defines for installed libtiff. 00003 This file maintained for backward compatibility. Do not use definitions 00004 from this file in your programs. 00005 */ 00006 00007 #ifndef _TIFFCONF_ 00008 #define _TIFFCONF_ 00009 00010 /* Define to 1 if the system has the type `int16'. */ 00011 /* #undef HAVE_INT16 */ 00012 00013 /* Define to 1 if the system has the type `int32'. */ 00014 /* #undef HAVE_INT32 */ 00015 00016 /* Define to 1 if the system has the type `int8'. */ 00017 /* #undef HAVE_INT8 */ 00018 00019 /* The size of a `int', as computed by sizeof. */ 00020 #define SIZEOF_INT 4 00021 00022 /* The size of a `long', as computed by sizeof. */ 00023 #define SIZEOF_LONG 4 00024 00025 /* Signed 64-bit type formatter */ 00026 #define TIFF_INT64_FORMAT "%I64d" 00027 00028 /* Signed 64-bit type */ 00029 #define TIFF_INT64_T signed __int64 00030 00031 /* Unsigned 64-bit type formatter */ 00032 #define TIFF_UINT64_FORMAT "%I64u" 00033 00034 /* Unsigned 64-bit type */ 00035 #define TIFF_UINT64_T unsigned __int64 00036 00037 /* Compatibility stuff. */ 00038 00039 /* Define as 0 or 1 according to the floating point format suported by the 00040 machine */ 00041 #define HAVE_IEEEFP 1 00042 00043 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ 00044 #define HOST_FILLORDER FILLORDER_LSB2MSB 00045 00046 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian 00047 (Intel) */ 00048 #define HOST_BIGENDIAN 0 00049 00050 /* Support CCITT Group 3 & 4 algorithms */ 00051 #define CCITT_SUPPORT 1 00052 00053 /* Support JPEG compression (requires IJG JPEG library) */ 00054 /* #undef JPEG_SUPPORT */ 00055 00056 /* Support LogLuv high dynamic range encoding */ 00057 #define LOGLUV_SUPPORT 1 00058 00059 /* Support LZW algorithm */ 00060 #define LZW_SUPPORT 1 00061 00062 /* Support NeXT 2-bit RLE algorithm */ 00063 #define NEXT_SUPPORT 1 00064 00065 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation 00066 fails with unpatched IJG JPEG library) */ 00067 /* #undef OJPEG_SUPPORT */ 00068 00069 /* Support Macintosh PackBits algorithm */ 00070 #define PACKBITS_SUPPORT 1 00071 00072 /* Support Pixar log-format algorithm (requires Zlib) */ 00073 /* #undef PIXARLOG_SUPPORT */ 00074 00075 /* Support ThunderScan 4-bit RLE algorithm */ 00076 #define THUNDER_SUPPORT 1 00077 00078 /* Support Deflate compression */ 00079 /* #undef ZIP_SUPPORT */ 00080 00081 /* Support strip chopping (whether or not to convert single-strip uncompressed 00082 images to mutiple strips of ~8Kb to reduce memory usage) */ 00083 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP 00084 00085 /* Enable SubIFD tag (330) support */ 00086 #define SUBIFD_SUPPORT 1 00087 00088 /* Treat extra sample as alpha (default enabled). The RGBA interface will 00089 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many 00090 packages produce RGBA files but don't mark the alpha properly. */ 00091 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 00092 00093 /* Pick up YCbCr subsampling info from the JPEG data stream to support files 00094 lacking the tag (default enabled). */ 00095 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1 00096 00097 /* 00098 * Feature support definitions. 00099 * XXX: These macros are obsoleted. Don't use them in your apps! 00100 * Macros stays here for backward compatibility and should be always defined. 00101 */ 00102 #define COLORIMETRY_SUPPORT 00103 #define YCBCR_SUPPORT 00104 #define CMYK_SUPPORT 00105 #define ICC_SUPPORT 00106 #define PHOTOSHOP_SUPPORT 00107 #define IPTC_SUPPORT 00108 00109 #endif /* _TIFFCONF_ */ 00110 /* 00111 * Local Variables: 00112 * mode: c 00113 * c-basic-offset: 8 00114 * fill-column: 78 00115 * End: 00116 */