~ubuntu-branches/ubuntu/trusty/freeimage/trusty-proposed

« back to all changes in this revision

Viewing changes to Source/LibTIFF/tiffconf.wince.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard
  • Date: 2014-01-13 21:57:45 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140113215745-3y21c8ro0ih30hfg
Tags: 3.15.4-1
* QA Upload
* New upstream minor release 
  - Includes fix to build on !linux (Closes: #650485)
* Refreshed patches (line endings had to change)
  - Remove document-mode.patch (accepted upstream)
* Lintian fixes: S-V 3.9.5, DM-Upload-Allowed removed
* Remove document-mode.patch (accepted upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: tiffconf.wince.h,v 1.21 2011/04/10 17:14:09 drolon Exp $ */
2
 
 
3
 
/*
4
 
 * Windows CE platform tiffconf.wince.h
5
 
 * Created by Mateusz Loskot (mateusz@loskot.net)
6
 
 *
7
 
 * NOTE: Requires WCELIBCEX library with wceex_* functions,
8
 
 * It's an extension to C library on Windows CE platform.
9
 
 * For example, HAVE_STDIO_H definition indicates there are
10
 
 * following files available:
11
 
 * stdio.h - from Windows CE / Windows Mobile SDK 
12
 
 * wce_stdio.h - from WCELIBCEX library
13
 
 */
14
 
 
15
 
 
16
 
/*
17
 
  Configuration defines for installed libtiff.
18
 
  This file maintained for backward compatibility. Do not use definitions
19
 
  from this file in your programs.
20
 
*/
21
 
 
22
 
#ifndef _WIN32_WCE
23
 
# error This version of tif_config.h header is dedicated for Windows CE platform!
24
 
#endif
25
 
 
26
 
 
27
 
#ifndef _TIFFCONF_
28
 
#define _TIFFCONF_
29
 
 
30
 
/* Define to 1 if the system has the type `int16'. */
31
 
/* #undef HAVE_INT16 */
32
 
 
33
 
/* Define to 1 if the system has the type `int32'. */
34
 
/* #undef HAVE_INT32 */
35
 
 
36
 
/* Define to 1 if the system has the type `int8'. */
37
 
/* #undef HAVE_INT8 */
38
 
 
39
 
/* The size of a `int', as computed by sizeof. */
40
 
#define SIZEOF_INT 4
41
 
 
42
 
/* The size of a `long', as computed by sizeof. */
43
 
#define SIZEOF_LONG 4
44
 
 
45
 
/* Signed 64-bit type formatter */
46
 
#define TIFF_INT64_FORMAT "%I64d"
47
 
 
48
 
/* Signed 64-bit type */
49
 
#define TIFF_INT64_T signed __int64
50
 
 
51
 
/* Unsigned 64-bit type formatter */
52
 
#define TIFF_UINT64_FORMAT "%I64u"
53
 
 
54
 
/* Unsigned 64-bit type */
55
 
#define TIFF_UINT64_T unsigned __int64
56
 
 
57
 
/* Compatibility stuff. */
58
 
 
59
 
/* Define as 0 or 1 according to the floating point format suported by the
60
 
   machine */
61
 
#define HAVE_IEEEFP 1
62
 
 
63
 
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
64
 
#define HOST_FILLORDER FILLORDER_LSB2MSB
65
 
 
66
 
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
67
 
   (Intel) */
68
 
#define HOST_BIGENDIAN 0
69
 
 
70
 
/* Support CCITT Group 3 & 4 algorithms */
71
 
#define CCITT_SUPPORT 1
72
 
 
73
 
/* Support JPEG compression (requires IJG JPEG library) */
74
 
/* #undef JPEG_SUPPORT */
75
 
 
76
 
/* Support LogLuv high dynamic range encoding */
77
 
#define LOGLUV_SUPPORT 1
78
 
 
79
 
/* Support LZW algorithm */
80
 
#define LZW_SUPPORT 1
81
 
 
82
 
/* Support NeXT 2-bit RLE algorithm */
83
 
#define NEXT_SUPPORT 1
84
 
 
85
 
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
86
 
   fails with unpatched IJG JPEG library) */
87
 
/* #undef OJPEG_SUPPORT */
88
 
 
89
 
/* Support Macintosh PackBits algorithm */
90
 
#define PACKBITS_SUPPORT 1
91
 
 
92
 
/* Support Pixar log-format algorithm (requires Zlib) */
93
 
/* #undef PIXARLOG_SUPPORT */
94
 
 
95
 
/* Support ThunderScan 4-bit RLE algorithm */
96
 
#define THUNDER_SUPPORT 1
97
 
 
98
 
/* Support Deflate compression */
99
 
/* #undef ZIP_SUPPORT */
100
 
 
101
 
/* Support strip chopping (whether or not to convert single-strip uncompressed
102
 
   images to mutiple strips of ~8Kb to reduce memory usage) */
103
 
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
104
 
 
105
 
/* Enable SubIFD tag (330) support */
106
 
#define SUBIFD_SUPPORT 1
107
 
 
108
 
/* Treat extra sample as alpha (default enabled). The RGBA interface will
109
 
   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
110
 
   packages produce RGBA files but don't mark the alpha properly. */
111
 
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
112
 
 
113
 
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
114
 
   lacking the tag (default enabled). */
115
 
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
116
 
 
117
 
/*
118
 
 * Feature support definitions.
119
 
 * XXX: These macros are obsoleted. Don't use them in your apps!
120
 
 * Macros stays here for backward compatibility and should be always defined.
121
 
 */
122
 
#define COLORIMETRY_SUPPORT
123
 
#define YCBCR_SUPPORT
124
 
#define CMYK_SUPPORT
125
 
#define ICC_SUPPORT
126
 
#define PHOTOSHOP_SUPPORT
127
 
#define IPTC_SUPPORT
128
 
 
129
 
#endif /* _TIFFCONF_ */
130
 
/*
131
 
 * Local Variables:
132
 
 * mode: c
133
 
 * c-basic-offset: 8
134
 
 * fill-column: 78
135
 
 * End:
136
 
 */
 
1
/* $Id: tiffconf.wince.h,v 1.21 2011/04/10 17:14:09 drolon Exp $ */
 
2
 
 
3
/*
 
4
 * Windows CE platform tiffconf.wince.h
 
5
 * Created by Mateusz Loskot (mateusz@loskot.net)
 
6
 *
 
7
 * NOTE: Requires WCELIBCEX library with wceex_* functions,
 
8
 * It's an extension to C library on Windows CE platform.
 
9
 * For example, HAVE_STDIO_H definition indicates there are
 
10
 * following files available:
 
11
 * stdio.h - from Windows CE / Windows Mobile SDK 
 
12
 * wce_stdio.h - from WCELIBCEX library
 
13
 */
 
14
 
 
15
 
 
16
/*
 
17
  Configuration defines for installed libtiff.
 
18
  This file maintained for backward compatibility. Do not use definitions
 
19
  from this file in your programs.
 
20
*/
 
21
 
 
22
#ifndef _WIN32_WCE
 
23
# error This version of tif_config.h header is dedicated for Windows CE platform!
 
24
#endif
 
25
 
 
26
 
 
27
#ifndef _TIFFCONF_
 
28
#define _TIFFCONF_
 
29
 
 
30
/* Define to 1 if the system has the type `int16'. */
 
31
/* #undef HAVE_INT16 */
 
32
 
 
33
/* Define to 1 if the system has the type `int32'. */
 
34
/* #undef HAVE_INT32 */
 
35
 
 
36
/* Define to 1 if the system has the type `int8'. */
 
37
/* #undef HAVE_INT8 */
 
38
 
 
39
/* The size of a `int', as computed by sizeof. */
 
40
#define SIZEOF_INT 4
 
41
 
 
42
/* The size of a `long', as computed by sizeof. */
 
43
#define SIZEOF_LONG 4
 
44
 
 
45
/* Signed 64-bit type formatter */
 
46
#define TIFF_INT64_FORMAT "%I64d"
 
47
 
 
48
/* Signed 64-bit type */
 
49
#define TIFF_INT64_T signed __int64
 
50
 
 
51
/* Unsigned 64-bit type formatter */
 
52
#define TIFF_UINT64_FORMAT "%I64u"
 
53
 
 
54
/* Unsigned 64-bit type */
 
55
#define TIFF_UINT64_T unsigned __int64
 
56
 
 
57
/* Compatibility stuff. */
 
58
 
 
59
/* Define as 0 or 1 according to the floating point format suported by the
 
60
   machine */
 
61
#define HAVE_IEEEFP 1
 
62
 
 
63
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
 
64
#define HOST_FILLORDER FILLORDER_LSB2MSB
 
65
 
 
66
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
 
67
   (Intel) */
 
68
#define HOST_BIGENDIAN 0
 
69
 
 
70
/* Support CCITT Group 3 & 4 algorithms */
 
71
#define CCITT_SUPPORT 1
 
72
 
 
73
/* Support JPEG compression (requires IJG JPEG library) */
 
74
/* #undef JPEG_SUPPORT */
 
75
 
 
76
/* Support LogLuv high dynamic range encoding */
 
77
#define LOGLUV_SUPPORT 1
 
78
 
 
79
/* Support LZW algorithm */
 
80
#define LZW_SUPPORT 1
 
81
 
 
82
/* Support NeXT 2-bit RLE algorithm */
 
83
#define NEXT_SUPPORT 1
 
84
 
 
85
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
 
86
   fails with unpatched IJG JPEG library) */
 
87
/* #undef OJPEG_SUPPORT */
 
88
 
 
89
/* Support Macintosh PackBits algorithm */
 
90
#define PACKBITS_SUPPORT 1
 
91
 
 
92
/* Support Pixar log-format algorithm (requires Zlib) */
 
93
/* #undef PIXARLOG_SUPPORT */
 
94
 
 
95
/* Support ThunderScan 4-bit RLE algorithm */
 
96
#define THUNDER_SUPPORT 1
 
97
 
 
98
/* Support Deflate compression */
 
99
/* #undef ZIP_SUPPORT */
 
100
 
 
101
/* Support strip chopping (whether or not to convert single-strip uncompressed
 
102
   images to mutiple strips of ~8Kb to reduce memory usage) */
 
103
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
 
104
 
 
105
/* Enable SubIFD tag (330) support */
 
106
#define SUBIFD_SUPPORT 1
 
107
 
 
108
/* Treat extra sample as alpha (default enabled). The RGBA interface will
 
109
   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
 
110
   packages produce RGBA files but don't mark the alpha properly. */
 
111
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
 
112
 
 
113
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
 
114
   lacking the tag (default enabled). */
 
115
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
 
116
 
 
117
/*
 
118
 * Feature support definitions.
 
119
 * XXX: These macros are obsoleted. Don't use them in your apps!
 
120
 * Macros stays here for backward compatibility and should be always defined.
 
121
 */
 
122
#define COLORIMETRY_SUPPORT
 
123
#define YCBCR_SUPPORT
 
124
#define CMYK_SUPPORT
 
125
#define ICC_SUPPORT
 
126
#define PHOTOSHOP_SUPPORT
 
127
#define IPTC_SUPPORT
 
128
 
 
129
#endif /* _TIFFCONF_ */
 
130
/*
 
131
 * Local Variables:
 
132
 * mode: c
 
133
 * c-basic-offset: 8
 
134
 * fill-column: 78
 
135
 * End:
 
136
 */