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@
12 /* Support arithmetic encoding when using 8-bit samples */
13 #cmakedefine C_ARITH_CODING_SUPPORTED 1
15 /* Support arithmetic decoding when using 8-bit samples */
16 #cmakedefine D_ARITH_CODING_SUPPORTED 1
18 /* Support in-memory source/destination managers */
19 #define MEM_SRCDST_SUPPORTED 1
21 /* Use accelerated SIMD routines when using 8-bit samples */
22 #cmakedefine WITH_SIMD 1
24 /* This version of libjpeg-turbo supports run-time selection of data precision,
25 * so BITS_IN_JSAMPLE is no longer used to specify the data precision at build
26 * time. However, some downstream software expects the macro to be defined.
27 * Since 12-bit data precision is an opt-in feature that requires explicitly
28 * calling 12-bit-specific libjpeg API functions and using 12-bit-specific data
29 * types, the unmodified portion of the libjpeg API still behaves as if it were
30 * built for 8-bit precision, and JSAMPLE is still literally an 8-bit data
31 * type. Thus, it is correct to define BITS_IN_JSAMPLE to 8 here.
33 #ifndef BITS_IN_JSAMPLE
34 #define BITS_IN_JSAMPLE 8
39 #undef RIGHT_SHIFT_IS_UNSIGNED
41 /* Define "boolean" as unsigned char, not int, per Windows custom */
42 #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
43 typedef unsigned char boolean;
45 #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
47 /* Define "INT32" as int, not long, per Windows custom */
48 #if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
50 typedef signed int INT32;
52 #define XMD_H /* prevent jmorecfg.h from redefining it */
56 /* Define if your (broken) compiler shifts signed values as if they were
58 #cmakedefine RIGHT_SHIFT_IS_UNSIGNED 1