1 /* libtiff/tif_config.h.  Generated from tif_config.h.in by configure.  */
2 /* libtiff/tif_config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 /* Support CCITT Group 3 & 4 algorithms */
5 #define CCITT_SUPPORT 1
6 
7 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
8    lacking the tag (default enabled). */
9 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
10 
11 /* enable partial strip reading for large strips (experimental) */
12 #undef CHUNKY_STRIP_READ_SUPPORT
13 
14 /* Treat extra sample as alpha (default enabled). The RGBA interface will
15    treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
16    packages produce RGBA files but don't mark the alpha properly. */
17 #define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
18 
19 /* enable deferred strip/tile offset/size loading (experimental) */
20 #undef DEFER_STRILE_LOAD
21 
22 /* Define to 1 if you have the <assert.h> header file. */
23 #define HAVE_ASSERT_H
24 
25 /* Define to 1 if you have the <fcntl.h> header file. */
26 #define HAVE_FCNTL_H
27 
28 /* Define as 0 or 1 according to the floating point format suported by the
29    machine */
30 #define HAVE_IEEEFP 1
31 
32 /* Define to 1 if you have the <io.h> header file. */
33 /* #undef HAVE_IO_H */
34 
35 /* Define to 1 if you have the `jbg_newlen' function. */
36 /* #undef HAVE_JBG_NEWLEN */
37 
38 /* Define to 1 if you have the `mmap' function. */
39 #define HAVE_MMAP
40 
41 /* Define to 1 if you have the <search.h> header file. */
42 /* #undef HAVE_SEARCH_H */
43 
44 /* Define to 1 if you have the <string.h> header file. */
45 #define HAVE_STRING_H
46 
47 /* Define to 1 if you have the <sys/types.h> header file. */
48 #define HAVE_SYS_TYPES_H
49 
50 /* Define to 1 if you have the <unistd.h> header file. */
51 #ifndef HAVE_UNISTD_H
52 #define HAVE_UNISTD_H
53 #endif
54 
55 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
56    (Intel) */
57 #define HOST_BIGENDIAN 0
58 
59 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
60 #define HOST_FILLORDER FILLORDER_LSB2MSB
61 
62 /* Support ISO JBIG compression (requires JBIG-KIT library) */
63 #undef JBIG_SUPPORT
64 
65 /* 8/12 bit libjpeg dual mode enabled */
66 /* #undef JPEG_DUAL_MODE_8_12 */
67 
68 /* Support JPEG compression (requires IJG JPEG library) */
69 #undef JPEG_SUPPORT
70 
71 /* 12bit libjpeg primary include file with path */
72 /* #undef LIBJPEG_12_PATH */
73 
74 /* Support LogLuv high dynamic range encoding */
75 #define LOGLUV_SUPPORT 1
76 
77 /* Support LZMA2 compression */
78 /* #undef LZMA_SUPPORT */
79 
80 /* Support LZW algorithm */
81 #define LZW_SUPPORT 1
82 
83 /* Support Microsoft Document Imaging format */
84 #define MDI_SUPPORT 1
85 
86 /* Support NeXT 2-bit RLE algorithm */
87 #define NEXT_SUPPORT 1
88 
89 /* Support Old JPEG compresson (read-only) */
90 #undef OJPEG_SUPPORT
91 
92 /* Support Macintosh PackBits algorithm */
93 #define PACKBITS_SUPPORT 1
94 
95 /* Support Pixar log-format algorithm (requires Zlib) */
96 #define PIXARLOG_SUPPORT 1
97 
98 /* The size of `unsigned long', as computed by sizeof. */
99 #define SIZEOF_UNSIGNED_LONG 8
100 
101 /* Support strip chopping (whether or not to convert single-strip uncompressed
102    images to mutiple strips of specified size to reduce memory usage) */
103 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
104 
105 /* Default size of the strip in bytes (when strip chopping enabled) */
106 //#define STRIP_SIZE_DEFAULT 8192
107 
108 /* Support ThunderScan 4-bit RLE algorithm */
109 #define THUNDER_SUPPORT 1
110 
111 /* Signed 8-bit type */
112 #define TIFF_INT8_T signed char
113 
114 /* Signed 16-bit type */
115 #define TIFF_INT16_T signed short
116 
117 /* Signed 32-bit type */
118 #define TIFF_INT32_T signed int
119 
120 /* Signed size type */
121 #define TIFF_SSIZE_T size_t
122 
123 /* Unsigned 8-bit type */
124 #define TIFF_UINT8_T unsigned char
125 
126 /* Unsigned 16-bit type */
127 #define TIFF_UINT16_T unsigned short
128 
129 /* Unsigned 32-bit type */
130 #define TIFF_UINT32_T unsigned int
131 
132 #ifdef _MSC_VER
133 /* Signed 64-bit type */
134 # define TIFF_INT64_T signed __int64
135 /* Unsigned 64-bit type */
136 # define TIFF_UINT64_T unsigned __int64
137 #else
138 /* Signed 64-bit type */
139 # define TIFF_INT64_T long long
140 /* Signed 64-bit type */
141 # define TIFF_UINT64_T unsigned long long
142 #endif
143 
144 /* Signed 64-bit type formatter */
145 /* Unsigned 64-bit type formatter */
146 #if defined _MSC_VER || defined __MINGW__ || defined __MINGW32__
147 # define TIFF_UINT64_FORMAT "%I64u"
148 # define TIFF_SSIZE_FORMAT "%Iu"
149 #else
150 # define TIFF_UINT64_FORMAT "%llu"
151 # define TIFF_SSIZE_FORMAT "%zd"
152 #endif
153 
154 /* define to use win32 IO system */
155 /* #undef USE_WIN32_FILEIO */
156 
157 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
158    significant byte first (like Motorola and SPARC, unlike Intel). */
159 /* #undef WORDS_BIGENDIAN */
160 
161 /* Support Deflate compression */
162 #define ZIP_SUPPORT 1
163