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