tiffconf.h.cmake.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. /* Signed 16-bit type */
  9. #define TIFF_INT16_T @TIFF_INT16_T@
  10. /* Signed 32-bit type */
  11. #define TIFF_INT32_T @TIFF_INT32_T@
  12. /* Signed 64-bit type */
  13. #define TIFF_INT64_T @TIFF_INT64_T@
  14. /* Signed 8-bit type */
  15. #define TIFF_INT8_T @TIFF_INT8_T@
  16. /* Unsigned 16-bit type */
  17. #define TIFF_UINT16_T @TIFF_UINT16_T@
  18. /* Unsigned 32-bit type */
  19. #define TIFF_UINT32_T @TIFF_UINT32_T@
  20. /* Unsigned 64-bit type */
  21. #define TIFF_UINT64_T @TIFF_UINT64_T@
  22. /* Unsigned 8-bit type */
  23. #define TIFF_UINT8_T @TIFF_UINT8_T@
  24. /* Unsigned size type */
  25. #define TIFF_SIZE_T @TIFF_SIZE_T@
  26. /* Signed size type */
  27. #define TIFF_SSIZE_T @TIFF_SSIZE_T@
  28. /* Pointer difference type */
  29. #define TIFF_PTRDIFF_T @TIFF_PTRDIFF_T@
  30. /* Compatibility stuff. */
  31. /* Define as 0 or 1 according to the floating point format suported by the
  32. machine */
  33. #cmakedefine HAVE_IEEEFP 1
  34. /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
  35. #define HOST_FILLORDER @HOST_FILLORDER@
  36. /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
  37. (Intel) */
  38. #define HOST_BIGENDIAN @HOST_BIG_ENDIAN@
  39. /* Support CCITT Group 3 & 4 algorithms */
  40. #cmakedefine CCITT_SUPPORT 1
  41. /* Support JPEG compression (requires IJG JPEG library) */
  42. #cmakedefine JPEG_SUPPORT 1
  43. /* Support JBIG compression (requires JBIG-KIT library) */
  44. #cmakedefine JBIG_SUPPORT
  45. /* Support LogLuv high dynamic range encoding */
  46. #cmakedefine LOGLUV_SUPPORT 1
  47. /* Support LZW algorithm */
  48. #cmakedefine LZW_SUPPORT 1
  49. /* Support NeXT 2-bit RLE algorithm */
  50. #cmakedefine NEXT_SUPPORT 1
  51. /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
  52. fails with unpatched IJG JPEG library) */
  53. #cmakedefine OJPEG_SUPPORT 1
  54. /* Support Macintosh PackBits algorithm */
  55. #cmakedefine PACKBITS_SUPPORT 1
  56. /* Support Pixar log-format algorithm (requires Zlib) */
  57. #cmakedefine PIXARLOG_SUPPORT 1
  58. /* Support ThunderScan 4-bit RLE algorithm */
  59. #cmakedefine THUNDER_SUPPORT 1
  60. /* Support Deflate compression */
  61. #cmakedefine ZIP_SUPPORT 1
  62. /* Support libdeflate enhanced compression */
  63. #cmakedefine LIBDEFLATE_SUPPORT 1
  64. /* Support strip chopping (whether or not to convert single-strip uncompressed
  65. images to mutiple strips of ~8Kb to reduce memory usage) */
  66. #cmakedefine STRIPCHOP_DEFAULT 1
  67. /* Enable SubIFD tag (330) support */
  68. #cmakedefine SUBIFD_SUPPORT 1
  69. /* Treat extra sample as alpha (default enabled). The RGBA interface will
  70. treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
  71. packages produce RGBA files but don't mark the alpha properly. */
  72. #cmakedefine DEFAULT_EXTRASAMPLE_AS_ALPHA 1
  73. /* Pick up YCbCr subsampling info from the JPEG data stream to support files
  74. lacking the tag (default enabled). */
  75. #cmakedefine CHECK_JPEG_YCBCR_SUBSAMPLING 1
  76. /* Support MS MDI magic number files as TIFF */
  77. #cmakedefine MDI_SUPPORT 1
  78. /*
  79. * Feature support definitions.
  80. * XXX: These macros are obsoleted. Don't use them in your apps!
  81. * Macros stays here for backward compatibility and should be always defined.
  82. */
  83. #define COLORIMETRY_SUPPORT
  84. #define YCBCR_SUPPORT
  85. #define CMYK_SUPPORT
  86. #define ICC_SUPPORT
  87. #define PHOTOSHOP_SUPPORT
  88. #define IPTC_SUPPORT
  89. #endif /* _TIFFCONF_ */