cv::pow (integer power)
[profile/ivi/opencv.git] / 3rdparty / libjpeg / jconfig.h
1 #define HAVE_PROTOTYPES
2 #define HAVE_UNSIGNED_CHAR
3 #define HAVE_UNSIGNED_SHORT
4
5 /* Define this if an ordinary "char" type is unsigned.
6  * If you're not sure, leaving it undefined will work at some cost in speed.
7  * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal.
8  */
9 #undef CHAR_IS_UNSIGNED
10
11 #if defined __MINGW__ || defined __MINGW32__ || (!defined WIN32 && !defined _WIN32)
12 /* Define this if your system has an ANSI-conforming <stddef.h> file.
13  */
14 #define HAVE_STDDEF_H
15
16 /* Define this if your system has an ANSI-conforming <stdlib.h> file.
17  */
18 #define HAVE_STDLIB_H
19 #endif
20
21 /* Define this if your system does not have an ANSI/SysV <string.h>,
22  * but does have a BSD-style <strings.h>.
23  */
24 #undef NEED_BSD_STRINGS
25
26 /* Define this if your system does not provide typedef size_t in any of the
27  * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in
28  * <sys/types.h> instead.
29  */
30 #undef NEED_SYS_TYPES_H
31
32 /* For 80x86 machines, you need to define NEED_FAR_POINTERS,
33  * unless you are using a large-data memory model or 80386 flat-memory mode.
34  * On less brain-damaged CPUs this symbol must not be defined.
35  * (Defining this symbol causes large data structures to be referenced through
36  * "far" pointers and to be allocated with a special version of malloc.)
37  */
38 #undef NEED_FAR_POINTERS
39
40 /* Define this if your linker needs global names to be unique in less
41  * than the first 15 characters.
42  */
43 #undef NEED_SHORT_EXTERNAL_NAMES
44
45 /* Although a real ANSI C compiler can deal perfectly well with pointers to
46  * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI
47  * and pseudo-ANSI compilers get confused.  To keep one of these bozos happy,
48  * define INCOMPLETE_TYPES_BROKEN.  This is not recommended unless you
49  * actually get "missing structure definition" warnings or errors while
50  * compiling the JPEG code.
51  */
52 #undef INCOMPLETE_TYPES_BROKEN
53
54 /* Define "boolean" as unsigned char, not int, on Windows systems.
55  */
56 #ifdef _WIN32
57 #ifndef __RPCNDR_H__            /* don't conflict if rpcndr.h already read */
58 typedef unsigned char boolean;
59 #endif
60 #define HAVE_BOOLEAN            /* prevent jmorecfg.h from redefining it */
61 #endif
62
63
64 /*
65  * The following options affect code selection within the JPEG library,
66  * but they don't need to be visible to applications using the library.
67  * To minimize application namespace pollution, the symbols won't be
68  * defined unless JPEG_INTERNALS has been defined.
69  */
70
71 #ifdef JPEG_INTERNALS
72
73 /* Define this if your compiler implements ">>" on signed values as a logical
74  * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
75  * which is the normal and rational definition.
76  */
77 #undef RIGHT_SHIFT_IS_UNSIGNED
78
79 /* These are for configuring the JPEG memory manager. */
80 #define DEFAULT_MAX_MEM 1073741824 /*1Gb*/
81
82 #if !defined WIN32 && !defined _WIN32
83 #define INLINE __inline__
84 #undef NO_MKTEMP
85 #endif
86
87 #endif /* JPEG_INTERNALS */
88
89
90 /*
91  * The remaining options do not affect the JPEG library proper,
92  * but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c).
93  * Other applications can ignore these.
94  */
95
96 #ifdef JPEG_CJPEG_DJPEG
97
98 /* These defines indicate which image (non-JPEG) file formats are allowed. */
99
100 #define BMP_SUPPORTED           /* BMP image file format */
101 #define GIF_SUPPORTED           /* GIF image file format */
102 #define PPM_SUPPORTED           /* PBMPLUS PPM/PGM image file format */
103 #undef RLE_SUPPORTED            /* Utah RLE image file format */
104 #define TARGA_SUPPORTED         /* Targa image file format */
105
106 /* Define this if you want to name both input and output files on the command
107  * line, rather than using stdout and optionally stdin.  You MUST do this if
108  * your system can't cope with binary I/O to stdin/stdout.  See comments at
109  * head of cjpeg.c or djpeg.c.
110  */
111 #if defined WIN32 || defined _WIN32
112 #define TWO_FILE_COMMANDLINE    /* optional */
113 #define USE_SETMODE             /* Microsoft has setmode() */
114 #else
115 #undef TWO_FILE_COMMANDLINE
116 #endif
117
118 /* Define this if your system needs explicit cleanup of temporary files.
119  * This is crucial under MS-DOS, where the temporary "files" may be areas
120  * of extended memory; on most other systems it's not as important.
121  */
122 #undef NEED_SIGNAL_CATCHER
123
124 /* By default, we open image files with fopen(...,"rb") or fopen(...,"wb").
125  * This is necessary on systems that distinguish text files from binary files,
126  * and is harmless on most systems that don't.  If you have one of the rare
127  * systems that complains about the "b" spec, define this symbol.
128  */
129 #undef DONT_USE_B_MODE
130
131 /* Define this if you want percent-done progress reports from cjpeg/djpeg.
132  */
133 #undef PROGRESS_REPORT
134
135
136 #endif /* JPEG_CJPEG_DJPEG */