2
0

tiffconf.wince.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /* $Id: tiffconf.wince.h,v 1.3 2010-03-10 18:56:49 bfriesen 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. /* Compatibility stuff. */
  32. /* Define as 0 or 1 according to the floating point format suported by the
  33. machine */
  34. #define HAVE_IEEEFP 1
  35. /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
  36. #define HOST_FILLORDER FILLORDER_LSB2MSB
  37. /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
  38. (Intel) */
  39. #define HOST_BIGENDIAN 0
  40. /* Support CCITT Group 3 & 4 algorithms */
  41. #define CCITT_SUPPORT 1
  42. /* Support JPEG compression (requires IJG JPEG library) */
  43. /* #undef JPEG_SUPPORT */
  44. /* Support LogLuv high dynamic range encoding */
  45. #define LOGLUV_SUPPORT 1
  46. /* Support LZW algorithm */
  47. #define LZW_SUPPORT 1
  48. /* Support NeXT 2-bit RLE algorithm */
  49. #define NEXT_SUPPORT 1
  50. /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
  51. fails with unpatched IJG JPEG library) */
  52. /* #undef OJPEG_SUPPORT */
  53. /* Support Macintosh PackBits algorithm */
  54. #define PACKBITS_SUPPORT 1
  55. /* Support Pixar log-format algorithm (requires Zlib) */
  56. /* #undef PIXARLOG_SUPPORT */
  57. /* Support ThunderScan 4-bit RLE algorithm */
  58. #define THUNDER_SUPPORT 1
  59. /* Support Deflate compression */
  60. /* #undef ZIP_SUPPORT */
  61. /* Support strip chopping (whether or not to convert single-strip uncompressed
  62. images to mutiple strips of ~8Kb to reduce memory usage) */
  63. #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
  64. /* Enable SubIFD tag (330) support */
  65. #define SUBIFD_SUPPORT 1
  66. /* Treat extra sample as alpha (default enabled). The RGBA interface will
  67. treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
  68. packages produce RGBA files but don't mark the alpha properly. */
  69. #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
  70. /* Pick up YCbCr subsampling info from the JPEG data stream to support files
  71. lacking the tag (default enabled). */
  72. #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
  73. /*
  74. * Feature support definitions.
  75. * XXX: These macros are obsoleted. Don't use them in your apps!
  76. * Macros stays here for backward compatibility and should be always defined.
  77. */
  78. #define COLORIMETRY_SUPPORT
  79. #define YCBCR_SUPPORT
  80. #define CMYK_SUPPORT
  81. #define ICC_SUPPORT
  82. #define PHOTOSHOP_SUPPORT
  83. #define IPTC_SUPPORT
  84. #endif /* _TIFFCONF_ */
  85. /*
  86. * Local Variables:
  87. * mode: c
  88. * c-basic-offset: 8
  89. * fill-column: 78
  90. * End:
  91. */