blob: d4284d97b8124865eed7bfab4d23a4bdeba541dc [file] [log] [blame]
Tom Hudson0d47d2d2016-05-04 13:22:56 -04001/* Version ID for the JPEG library.
2 * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
3 */
Chris Blumecca8c4d2019-03-01 01:09:50 -08004#define JPEG_LIB_VERSION @JPEG_LIB_VERSION@
Tom Hudson0d47d2d2016-05-04 13:22:56 -04005
6/* libjpeg-turbo version */
Chris Blumecca8c4d2019-03-01 01:09:50 -08007#define LIBJPEG_TURBO_VERSION @VERSION@
8
9/* libjpeg-turbo version in integer form */
10#define LIBJPEG_TURBO_VERSION_NUMBER @LIBJPEG_TURBO_VERSION_NUMBER@
Tom Hudson0d47d2d2016-05-04 13:22:56 -040011
12/* Support arithmetic encoding */
Chris Blumecca8c4d2019-03-01 01:09:50 -080013#cmakedefine C_ARITH_CODING_SUPPORTED 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040014
15/* Support arithmetic decoding */
Chris Blumecca8c4d2019-03-01 01:09:50 -080016#cmakedefine D_ARITH_CODING_SUPPORTED 1
17
18/* Support in-memory source/destination managers */
19#cmakedefine MEM_SRCDST_SUPPORTED 1
20
21/* Use accelerated SIMD routines. */
22#cmakedefine WITH_SIMD 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040023
24/*
25 * Define BITS_IN_JSAMPLE as either
26 * 8 for 8-bit sample values (the usual setting)
27 * 12 for 12-bit sample values
28 * Only 8 and 12 are legal data precisions for lossy JPEG according to the
29 * JPEG standard, and the IJG code does not support anything else!
30 * We do not support run-time selection of data precision, sorry.
31 */
32
Chris Blumecca8c4d2019-03-01 01:09:50 -080033#define BITS_IN_JSAMPLE @BITS_IN_JSAMPLE@ /* use 8 or 12 */
Tom Hudson0d47d2d2016-05-04 13:22:56 -040034
35/* Define to 1 if you have the <locale.h> header file. */
Chris Blumecca8c4d2019-03-01 01:09:50 -080036#cmakedefine HAVE_LOCALE_H 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040037
38/* Define to 1 if you have the <stddef.h> header file. */
Chris Blumecca8c4d2019-03-01 01:09:50 -080039#cmakedefine HAVE_STDDEF_H 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040040
41/* Define to 1 if you have the <stdlib.h> header file. */
Chris Blumecca8c4d2019-03-01 01:09:50 -080042#cmakedefine HAVE_STDLIB_H 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040043
Chris Blumecca8c4d2019-03-01 01:09:50 -080044/* Define if you need to include <sys/types.h> to get size_t. */
45#cmakedefine NEED_SYS_TYPES_H 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040046
47/* Define if you have BSD-like bzero and bcopy in <strings.h> rather than
48 memset/memcpy in <string.h>. */
Chris Blumecca8c4d2019-03-01 01:09:50 -080049#cmakedefine NEED_BSD_STRINGS 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040050
Chris Blumecca8c4d2019-03-01 01:09:50 -080051/* Define to 1 if the system has the type `unsigned char'. */
52#cmakedefine HAVE_UNSIGNED_CHAR 1
53
54/* Define to 1 if the system has the type `unsigned short'. */
55#cmakedefine HAVE_UNSIGNED_SHORT 1
56
57/* Compiler does not support pointers to undefined structures. */
58#cmakedefine INCOMPLETE_TYPES_BROKEN 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040059
60/* Define if your (broken) compiler shifts signed values as if they were
61 unsigned. */
Chris Blumecca8c4d2019-03-01 01:09:50 -080062#cmakedefine RIGHT_SHIFT_IS_UNSIGNED 1
Tom Hudson0d47d2d2016-05-04 13:22:56 -040063
Tom Hudson0d47d2d2016-05-04 13:22:56 -040064/* Define to empty if `const' does not conform to ANSI C. */
Chris Blumecca8c4d2019-03-01 01:09:50 -080065/* #undef const */
Tom Hudson0d47d2d2016-05-04 13:22:56 -040066
67/* Define to `unsigned int' if <sys/types.h> does not define. */
Chris Blumecca8c4d2019-03-01 01:09:50 -080068/* #undef size_t */