author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Mon, 04 Oct 2010 01:19:32 +0300 | |
changeset 37 | 758a864f9613 |
parent 30 | 5dc02b23752f |
permissions | -rw-r--r-- |
0 | 1 |
/* |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
2 |
Configuration defines for Qt. |
0 | 3 |
This file maintained for backward compatibility. Do not use definitions |
4 |
from this file in your programs. |
|
5 |
*/ |
|
6 |
||
7 |
#ifndef _TIFFCONF_ |
|
8 |
#define _TIFFCONF_ |
|
9 |
||
10 |
#include <qglobal.h> |
|
11 |
||
12 |
/* Define to 1 if the system has the type `int16'. */ |
|
13 |
/* #undef HAVE_INT16 */ |
|
14 |
||
15 |
/* Define to 1 if the system has the type `int32'. */ |
|
16 |
/* #undef HAVE_INT32 */ |
|
17 |
||
18 |
/* Define to 1 if the system has the type `int8'. */ |
|
19 |
/* #undef HAVE_INT8 */ |
|
20 |
||
21 |
/* The size of a `int', as computed by sizeof. */ |
|
22 |
#define SIZEOF_INT 4 |
|
23 |
||
24 |
/* The size of a `long', as computed by sizeof. */ |
|
25 |
#if (QT_POINTER_SIZE == 8) && !defined(Q_OS_WIN64) |
|
26 |
#define SIZEOF_LONG 8 |
|
27 |
#else |
|
28 |
#define SIZEOF_LONG 4 |
|
29 |
#endif |
|
30 |
||
31 |
/* Compatibility stuff. */ |
|
32 |
||
33 |
/* Define as 0 or 1 according to the floating point format suported by the |
|
34 |
machine */ |
|
35 |
#define HAVE_IEEEFP 1 |
|
36 |
||
37 |
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */ |
|
38 |
#define HOST_FILLORDER FILLORDER_LSB2MSB |
|
39 |
||
40 |
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian |
|
41 |
(Intel) */ |
|
42 |
#if (Q_BYTE_ORDER == Q_BIG_ENDIAN) |
|
43 |
#define HOST_BIGENDIAN 1 |
|
44 |
#else |
|
45 |
#define HOST_BIGENDIAN 0 |
|
46 |
#endif |
|
47 |
||
48 |
/* Support CCITT Group 3 & 4 algorithms */ |
|
49 |
#define CCITT_SUPPORT 1 |
|
50 |
||
51 |
/* Support JPEG compression (requires IJG JPEG library) */ |
|
52 |
/* #undef JPEG_SUPPORT */ |
|
53 |
||
54 |
/* Support LogLuv high dynamic range encoding */ |
|
55 |
#define LOGLUV_SUPPORT 1 |
|
56 |
||
57 |
/* Support LZW algorithm */ |
|
58 |
#define LZW_SUPPORT 1 |
|
59 |
||
60 |
/* Support NeXT 2-bit RLE algorithm */ |
|
61 |
#define NEXT_SUPPORT 1 |
|
62 |
||
63 |
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation |
|
64 |
fails with unpatched IJG JPEG library) */ |
|
65 |
/* #undef OJPEG_SUPPORT */ |
|
66 |
||
67 |
/* Support Macintosh PackBits algorithm */ |
|
68 |
#define PACKBITS_SUPPORT 1 |
|
69 |
||
70 |
/* Support Pixar log-format algorithm (requires Zlib) */ |
|
71 |
#define PIXARLOG_SUPPORT 1 |
|
72 |
||
73 |
/* Support ThunderScan 4-bit RLE algorithm */ |
|
74 |
#define THUNDER_SUPPORT 1 |
|
75 |
||
76 |
/* Support Deflate compression */ |
|
77 |
#define ZIP_SUPPORT 1 |
|
78 |
||
79 |
/* Support strip chopping (whether or not to convert single-strip uncompressed |
|
80 |
images to mutiple strips of ~8Kb to reduce memory usage) */ |
|
81 |
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP |
|
82 |
||
83 |
/* Enable SubIFD tag (330) support */ |
|
84 |
#define SUBIFD_SUPPORT 1 |
|
85 |
||
86 |
/* Treat extra sample as alpha (default enabled). The RGBA interface will |
|
87 |
treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many |
|
88 |
packages produce RGBA files but don't mark the alpha properly. */ |
|
89 |
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1 |
|
90 |
||
91 |
/* Pick up YCbCr subsampling info from the JPEG data stream to support files |
|
92 |
lacking the tag (default enabled). */ |
|
93 |
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1 |
|
94 |
||
95 |
/* Support MS MDI magic number files as TIFF */ |
|
96 |
#define MDI_SUPPORT 1 |
|
97 |
||
98 |
/* |
|
99 |
* Feature support definitions. |
|
100 |
* XXX: These macros are obsoleted. Don't use them in your apps! |
|
101 |
* Macros stays here for backward compatibility and should be always defined. |
|
102 |
*/ |
|
103 |
#define COLORIMETRY_SUPPORT |
|
104 |
#define YCBCR_SUPPORT |
|
105 |
#define CMYK_SUPPORT |
|
106 |
#define ICC_SUPPORT |
|
107 |
#define PHOTOSHOP_SUPPORT |
|
108 |
#define IPTC_SUPPORT |
|
109 |
||
110 |
#endif /* _TIFFCONF_ */ |