/src/FreeImage/Source/LibTIFF/tiffconf.h-vms

https://bitbucket.org/cabalistic/ogredeps/ · Unknown · 99 lines · 72 code · 27 blank · 0 comment · 0 complexity · dabbb1f06f344196f3d742b898867d83 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. //#define HAVE_INT16
  10. /* Define to 1 if the system has the type `int32'. */
  11. //#define HAVE_INT32
  12. /* Define to 1 if the system has the type `int8'. */
  13. //#define 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. /* Compatibility stuff. */
  19. /* Define as 0 or 1 according to the floating point format suported by the
  20. machine */
  21. #define HAVE_IEEEFP 1
  22. #define HAVE_GETOPT 1
  23. /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
  24. #define HOST_FILLORDER FILLORDER_LSB2MSB
  25. /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
  26. (Intel) */
  27. #define HOST_BIGENDIAN 0
  28. /* Support CCITT Group 3 & 4 algorithms */
  29. #define CCITT_SUPPORT 1
  30. /* Support JPEG compression (requires IJG JPEG library) */
  31. #define JPEG_SUPPORT
  32. /* Support LogLuv high dynamic range encoding */
  33. #define LOGLUV_SUPPORT 1
  34. /* Support LZW algorithm */
  35. #define LZW_SUPPORT 1
  36. /* Support NeXT 2-bit RLE algorithm */
  37. #define NEXT_SUPPORT 1
  38. /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
  39. fails with unpatched IJG JPEG library) */
  40. /* #undef OJPEG_SUPPORT */
  41. /* Support Macintosh PackBits algorithm */
  42. #define PACKBITS_SUPPORT 1
  43. /* Support Pixar log-format algorithm (requires Zlib) */
  44. /* #undef PIXARLOG_SUPPORT */
  45. /* Support ThunderScan 4-bit RLE algorithm */
  46. #define THUNDER_SUPPORT 1
  47. /* Support Deflate compression */
  48. /* #undef ZIP_SUPPORT */
  49. /* Support strip chopping (whether or not to convert single-strip uncompressed
  50. images to mutiple strips of ~8Kb to reduce memory usage) */
  51. #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
  52. /* Enable SubIFD tag (330) support */
  53. #define SUBIFD_SUPPORT 1
  54. /* Treat extra sample as alpha (default enabled). The RGBA interface will
  55. treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
  56. packages produce RGBA files but don't mark the alpha properly. */
  57. #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
  58. /* Pick up YCbCr subsampling info from the JPEG data stream to support files
  59. lacking the tag (default enabled). */
  60. #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
  61. /*
  62. * Feature support definitions.
  63. * XXX: These macros are obsoleted. Don't use them in your apps!
  64. * Macros stays here for backward compatibility and should be always defined.
  65. */
  66. #define COLORIMETRY_SUPPORT
  67. #define YCBCR_SUPPORT
  68. #define CMYK_SUPPORT
  69. #define ICC_SUPPORT
  70. #define PHOTOSHOP_SUPPORT
  71. #define IPTC_SUPPORT
  72. #endif /* _TIFFCONF_ */