tiffconf.h 3.1 KB

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