tiffconf.h 3.2 KB

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