Blame libtiff/tiffconf.wince.h

Packit 994f1a
/* $Id: tiffconf.wince.h,v 1.1.2.2 2010-06-08 18:50:43 bfriesen Exp $ */
Packit 994f1a
Packit 994f1a
/*
Packit 994f1a
 * Windows CE platform tiffconf.wince.h
Packit 994f1a
 * Created by Mateusz Loskot (mateusz@loskot.net)
Packit 994f1a
 *
Packit 994f1a
 * NOTE: Requires WCELIBCEX library with wceex_* functions,
Packit 994f1a
 * It's an extension to C library on Windows CE platform.
Packit 994f1a
 * For example, HAVE_STDIO_H definition indicates there are
Packit 994f1a
 * following files available:
Packit 994f1a
 * stdio.h - from Windows CE / Windows Mobile SDK 
Packit 994f1a
 * wce_stdio.h - from WCELIBCEX library
Packit 994f1a
 */
Packit 994f1a
Packit 994f1a
Packit 994f1a
/*
Packit 994f1a
  Configuration defines for installed libtiff.
Packit 994f1a
  This file maintained for backward compatibility. Do not use definitions
Packit 994f1a
  from this file in your programs.
Packit 994f1a
*/
Packit 994f1a
Packit 994f1a
#ifndef _WIN32_WCE
Packit 994f1a
# error This version of tif_config.h header is dedicated for Windows CE platform!
Packit 994f1a
#endif
Packit 994f1a
Packit 994f1a
Packit 994f1a
#ifndef _TIFFCONF_
Packit 994f1a
#define _TIFFCONF_
Packit 994f1a
Packit 994f1a
/* Define to 1 if the system has the type `int16'. */
Packit 994f1a
/* #undef HAVE_INT16 */
Packit 994f1a
Packit 994f1a
/* Define to 1 if the system has the type `int32'. */
Packit 994f1a
/* #undef HAVE_INT32 */
Packit 994f1a
Packit 994f1a
/* Define to 1 if the system has the type `int8'. */
Packit 994f1a
/* #undef HAVE_INT8 */
Packit 994f1a
Packit 994f1a
/* The size of a `int', as computed by sizeof. */
Packit 994f1a
#define SIZEOF_INT 4
Packit 994f1a
Packit 994f1a
/* The size of a `long', as computed by sizeof. */
Packit 994f1a
#define SIZEOF_LONG 4
Packit 994f1a
Packit 994f1a
/* Signed 64-bit type formatter */
Packit 994f1a
#define TIFF_INT64_FORMAT "%I64d"
Packit 994f1a
Packit 994f1a
/* Signed 64-bit type */
Packit 994f1a
#define TIFF_INT64_T signed __int64
Packit 994f1a
Packit 994f1a
/* Unsigned 64-bit type formatter */
Packit 994f1a
#define TIFF_UINT64_FORMAT "%I64u"
Packit 994f1a
Packit 994f1a
/* Unsigned 64-bit type */
Packit 994f1a
#define TIFF_UINT64_T unsigned __int64
Packit 994f1a
Packit 994f1a
/* Compatibility stuff. */
Packit 994f1a
Packit 994f1a
/* Define as 0 or 1 according to the floating point format suported by the
Packit 994f1a
   machine */
Packit 994f1a
#define HAVE_IEEEFP 1
Packit 994f1a
Packit 994f1a
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
Packit 994f1a
#define HOST_FILLORDER FILLORDER_LSB2MSB
Packit 994f1a
Packit 994f1a
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
Packit 994f1a
   (Intel) */
Packit 994f1a
#define HOST_BIGENDIAN 0
Packit 994f1a
Packit 994f1a
/* Support CCITT Group 3 & 4 algorithms */
Packit 994f1a
#define CCITT_SUPPORT 1
Packit 994f1a
Packit 994f1a
/* Support JPEG compression (requires IJG JPEG library) */
Packit 994f1a
/* #undef JPEG_SUPPORT */
Packit 994f1a
Packit 994f1a
/* Support LogLuv high dynamic range encoding */
Packit 994f1a
#define LOGLUV_SUPPORT 1
Packit 994f1a
Packit 994f1a
/* Support LZW algorithm */
Packit 994f1a
#define LZW_SUPPORT 1
Packit 994f1a
Packit 994f1a
/* Support NeXT 2-bit RLE algorithm */
Packit 994f1a
#define NEXT_SUPPORT 1
Packit 994f1a
Packit 994f1a
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
Packit 994f1a
   fails with unpatched IJG JPEG library) */
Packit 994f1a
/* #undef OJPEG_SUPPORT */
Packit 994f1a
Packit 994f1a
/* Support Macintosh PackBits algorithm */
Packit 994f1a
#define PACKBITS_SUPPORT 1
Packit 994f1a
Packit 994f1a
/* Support Pixar log-format algorithm (requires Zlib) */
Packit 994f1a
/* #undef PIXARLOG_SUPPORT */
Packit 994f1a
Packit 994f1a
/* Support ThunderScan 4-bit RLE algorithm */
Packit 994f1a
#define THUNDER_SUPPORT 1
Packit 994f1a
Packit 994f1a
/* Support Deflate compression */
Packit 994f1a
/* #undef ZIP_SUPPORT */
Packit 994f1a
Packit 994f1a
/* Support strip chopping (whether or not to convert single-strip uncompressed
Packit 994f1a
   images to mutiple strips of ~8Kb to reduce memory usage) */
Packit 994f1a
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
Packit 994f1a
Packit 994f1a
/* Enable SubIFD tag (330) support */
Packit 994f1a
#define SUBIFD_SUPPORT 1
Packit 994f1a
Packit 994f1a
/* Treat extra sample as alpha (default enabled). The RGBA interface will
Packit 994f1a
   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
Packit 994f1a
   packages produce RGBA files but don't mark the alpha properly. */
Packit 994f1a
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
Packit 994f1a
Packit 994f1a
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
Packit 994f1a
   lacking the tag (default enabled). */
Packit 994f1a
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
Packit 994f1a
Packit 994f1a
/*
Packit 994f1a
 * Feature support definitions.
Packit 994f1a
 * XXX: These macros are obsoleted. Don't use them in your apps!
Packit 994f1a
 * Macros stays here for backward compatibility and should be always defined.
Packit 994f1a
 */
Packit 994f1a
#define COLORIMETRY_SUPPORT
Packit 994f1a
#define YCBCR_SUPPORT
Packit 994f1a
#define CMYK_SUPPORT
Packit 994f1a
#define ICC_SUPPORT
Packit 994f1a
#define PHOTOSHOP_SUPPORT
Packit 994f1a
#define IPTC_SUPPORT
Packit 994f1a
Packit 994f1a
#endif /* _TIFFCONF_ */
Packit 994f1a
/*
Packit 994f1a
 * Local Variables:
Packit 994f1a
 * mode: c
Packit 994f1a
 * c-basic-offset: 8
Packit 994f1a
 * fill-column: 78
Packit 994f1a
 * End:
Packit 994f1a
 */