Skip to content

Latest commit

 

History

History
123 lines (90 loc) · 3.2 KB

tiffconf.h

File metadata and controls

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