tiffconf.h 3.4 KB

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