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

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 116 lines · 28 code · 30 blank · 58 comment · 0 complexity · c0a504a8ef23a23989178fdc40b2c494 MD5 · raw file

  1. /*
  2. Configuration defines for installed libtiff.
  3. This file maintained for backward compatibility. Do not use definitions
  4. from this file in your programs.
  5. */
  6. #ifndef _TIFFCONF_
  7. #define _TIFFCONF_
  8. /* Define to 1 if the system has the type `int16'. */
  9. /* #undef HAVE_INT16 */
  10. /* Define to 1 if the system has the type `int32'. */
  11. /* #undef HAVE_INT32 */
  12. /* Define to 1 if the system has the type `int8'. */
  13. /* #undef HAVE_INT8 */
  14. /* The size of a `int', as computed by sizeof. */
  15. #define SIZEOF_INT 4
  16. /* The size of a `long', as computed by sizeof. */
  17. #define SIZEOF_LONG 4
  18. /* Signed 64-bit type formatter */
  19. #define TIFF_INT64_FORMAT "%I64d"
  20. /* Signed 64-bit type */
  21. #define TIFF_INT64_T signed __int64
  22. /* Unsigned 64-bit type formatter */
  23. #define TIFF_UINT64_FORMAT "%I64u"
  24. /* Unsigned 64-bit type */
  25. #define TIFF_UINT64_T unsigned __int64
  26. /* Compatibility stuff. */
  27. /* Define as 0 or 1 according to the floating point format suported by the
  28. machine */
  29. #define HAVE_IEEEFP 1
  30. /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
  31. #define HOST_FILLORDER FILLORDER_LSB2MSB
  32. /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
  33. (Intel) */
  34. #define HOST_BIGENDIAN 0
  35. /* Support CCITT Group 3 & 4 algorithms */
  36. #define CCITT_SUPPORT 1
  37. /* Support JPEG compression (requires IJG JPEG library) */
  38. /* #undef JPEG_SUPPORT */
  39. /* Support LogLuv high dynamic range encoding */
  40. #define LOGLUV_SUPPORT 1
  41. /* Support LZW algorithm */
  42. #define LZW_SUPPORT 1
  43. /* Support NeXT 2-bit RLE algorithm */
  44. #define NEXT_SUPPORT 1
  45. /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
  46. fails with unpatched IJG JPEG library) */
  47. /* #undef OJPEG_SUPPORT */
  48. /* Support Macintosh PackBits algorithm */
  49. #define PACKBITS_SUPPORT 1
  50. /* Support Pixar log-format algorithm (requires Zlib) */
  51. /* #undef PIXARLOG_SUPPORT */
  52. /* Support ThunderScan 4-bit RLE algorithm */
  53. #define THUNDER_SUPPORT 1
  54. /* Support Deflate compression */
  55. /* #undef ZIP_SUPPORT */
  56. /* Support strip chopping (whether or not to convert single-strip uncompressed
  57. images to mutiple strips of ~8Kb to reduce memory usage) */
  58. #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
  59. /* Enable SubIFD tag (330) support */
  60. #define SUBIFD_SUPPORT 1
  61. /* Treat extra sample as alpha (default enabled). The RGBA interface will
  62. treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
  63. packages produce RGBA files but don't mark the alpha properly. */
  64. #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
  65. /* Pick up YCbCr subsampling info from the JPEG data stream to support files
  66. lacking the tag (default enabled). */
  67. #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
  68. /*
  69. * Feature support definitions.
  70. * XXX: These macros are obsoleted. Don't use them in your apps!
  71. * Macros stays here for backward compatibility and should be always defined.
  72. */
  73. #define COLORIMETRY_SUPPORT
  74. #define YCBCR_SUPPORT
  75. #define CMYK_SUPPORT
  76. #define ICC_SUPPORT
  77. #define PHOTOSHOP_SUPPORT
  78. #define IPTC_SUPPORT
  79. #endif /* _TIFFCONF_ */
  80. /*
  81. * Local Variables:
  82. * mode: c
  83. * c-basic-offset: 8
  84. * fill-column: 78
  85. * End:
  86. */