/src/FreeImage/Source/LibTIFF/tiffconf.wince.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 136 lines · 31 code · 35 blank · 70 comment · 1 complexity · ff3789b28f8fbfc440e0986bb245b1dc MD5 · raw file

  1. /* $Id: tiffconf.wince.h,v 1.21 2011/04/10 17:14:09 drolon Exp $ */
  2. /*
  3. * Windows CE platform tiffconf.wince.h
  4. * Created by Mateusz Loskot (mateusz@loskot.net)
  5. *
  6. * NOTE: Requires WCELIBCEX library with wceex_* functions,
  7. * It's an extension to C library on Windows CE platform.
  8. * For example, HAVE_STDIO_H definition indicates there are
  9. * following files available:
  10. * stdio.h - from Windows CE / Windows Mobile SDK
  11. * wce_stdio.h - from WCELIBCEX library
  12. */
  13. /*
  14. Configuration defines for installed libtiff.
  15. This file maintained for backward compatibility. Do not use definitions
  16. from this file in your programs.
  17. */
  18. #ifndef _WIN32_WCE
  19. # error This version of tif_config.h header is dedicated for Windows CE platform!
  20. #endif
  21. #ifndef _TIFFCONF_
  22. #define _TIFFCONF_
  23. /* Define to 1 if the system has the type `int16'. */
  24. /* #undef HAVE_INT16 */
  25. /* Define to 1 if the system has the type `int32'. */
  26. /* #undef HAVE_INT32 */
  27. /* Define to 1 if the system has the type `int8'. */
  28. /* #undef HAVE_INT8 */
  29. /* The size of a `int', as computed by sizeof. */
  30. #define SIZEOF_INT 4
  31. /* The size of a `long', as computed by sizeof. */
  32. #define SIZEOF_LONG 4
  33. /* Signed 64-bit type formatter */
  34. #define TIFF_INT64_FORMAT "%I64d"
  35. /* Signed 64-bit type */
  36. #define TIFF_INT64_T signed __int64
  37. /* Unsigned 64-bit type formatter */
  38. #define TIFF_UINT64_FORMAT "%I64u"
  39. /* Unsigned 64-bit type */
  40. #define TIFF_UINT64_T unsigned __int64
  41. /* Compatibility stuff. */
  42. /* Define as 0 or 1 according to the floating point format suported by the
  43. machine */
  44. #define HAVE_IEEEFP 1
  45. /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
  46. #define HOST_FILLORDER FILLORDER_LSB2MSB
  47. /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
  48. (Intel) */
  49. #define HOST_BIGENDIAN 0
  50. /* Support CCITT Group 3 & 4 algorithms */
  51. #define CCITT_SUPPORT 1
  52. /* Support JPEG compression (requires IJG JPEG library) */
  53. /* #undef JPEG_SUPPORT */
  54. /* Support LogLuv high dynamic range encoding */
  55. #define LOGLUV_SUPPORT 1
  56. /* Support LZW algorithm */
  57. #define LZW_SUPPORT 1
  58. /* Support NeXT 2-bit RLE algorithm */
  59. #define NEXT_SUPPORT 1
  60. /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
  61. fails with unpatched IJG JPEG library) */
  62. /* #undef OJPEG_SUPPORT */
  63. /* Support Macintosh PackBits algorithm */
  64. #define PACKBITS_SUPPORT 1
  65. /* Support Pixar log-format algorithm (requires Zlib) */
  66. /* #undef PIXARLOG_SUPPORT */
  67. /* Support ThunderScan 4-bit RLE algorithm */
  68. #define THUNDER_SUPPORT 1
  69. /* Support Deflate compression */
  70. /* #undef ZIP_SUPPORT */
  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. /* Enable SubIFD tag (330) support */
  75. #define SUBIFD_SUPPORT 1
  76. /* Treat extra sample as alpha (default enabled). The RGBA interface will
  77. treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
  78. packages produce RGBA files but don't mark the alpha properly. */
  79. #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
  80. /* Pick up YCbCr subsampling info from the JPEG data stream to support files
  81. lacking the tag (default enabled). */
  82. #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
  83. /*
  84. * Feature support definitions.
  85. * XXX: These macros are obsoleted. Don't use them in your apps!
  86. * Macros stays here for backward compatibility and should be always defined.
  87. */
  88. #define COLORIMETRY_SUPPORT
  89. #define YCBCR_SUPPORT
  90. #define CMYK_SUPPORT
  91. #define ICC_SUPPORT
  92. #define PHOTOSHOP_SUPPORT
  93. #define IPTC_SUPPORT
  94. #endif /* _TIFFCONF_ */
  95. /*
  96. * Local Variables:
  97. * mode: c
  98. * c-basic-offset: 8
  99. * fill-column: 78
  100. * End:
  101. */