1 /* Version ID for the JPEG library.
2 * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
4 #define JPEG_LIB_VERSION @JPEG_LIB_VERSION@
6 /* libjpeg-turbo version */
7 #define LIBJPEG_TURBO_VERSION @VERSION@
9 /* libjpeg-turbo version in integer form */
10 #define LIBJPEG_TURBO_VERSION_NUMBER @LIBJPEG_TURBO_VERSION_NUMBER@
13 #define COLOR_PICKER_ENABLE @COLOR_PICKER_ENABLE@
15 /* Support arithmetic encoding when using 8-bit samples */
16 #cmakedefine C_ARITH_CODING_SUPPORTED 1
18 /* Support arithmetic decoding when using 8-bit samples */
19 #cmakedefine D_ARITH_CODING_SUPPORTED 1
21 /* Support in-memory source/destination managers */
22 #define MEM_SRCDST_SUPPORTED 1
24 /* Use accelerated SIMD routines when using 8-bit samples */
25 #cmakedefine WITH_SIMD 1
27 /* This version of libjpeg-turbo supports run-time selection of data precision,
28 * so BITS_IN_JSAMPLE is no longer used to specify the data precision at build
29 * time. However, some downstream software expects the macro to be defined.
30 * Since 12-bit data precision is an opt-in feature that requires explicitly
31 * calling 12-bit-specific libjpeg API functions and using 12-bit-specific data
32 * types, the unmodified portion of the libjpeg API still behaves as if it were
33 * built for 8-bit precision, and JSAMPLE is still literally an 8-bit data
34 * type. Thus, it is correct to define BITS_IN_JSAMPLE to 8 here.
36 #ifndef BITS_IN_JSAMPLE
37 #define BITS_IN_JSAMPLE 8
42 #undef RIGHT_SHIFT_IS_UNSIGNED
44 /* Define "boolean" as unsigned char, not int, per Windows custom */
45 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
46 typedef unsigned char boolean;
48 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
50 /* Define "INT32" as int, not long, per Windows custom */
51 #if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
53 typedef signed int INT32;
55 #define XMD_H /* prevent jmorecfg.h from redefining it */
59 /* Define if your (broken) compiler shifts signed values as if they were
61 #cmakedefine RIGHT_SHIFT_IS_UNSIGNED 1