1*dfc6aa5cSAndroid Build Coastguard Worker/* Version ID for the JPEG library. 2*dfc6aa5cSAndroid Build Coastguard Worker * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". 3*dfc6aa5cSAndroid Build Coastguard Worker */ 4*dfc6aa5cSAndroid Build Coastguard Worker#define JPEG_LIB_VERSION @JPEG_LIB_VERSION@ 5*dfc6aa5cSAndroid Build Coastguard Worker 6*dfc6aa5cSAndroid Build Coastguard Worker/* libjpeg-turbo version */ 7*dfc6aa5cSAndroid Build Coastguard Worker#define LIBJPEG_TURBO_VERSION @VERSION@ 8*dfc6aa5cSAndroid Build Coastguard Worker 9*dfc6aa5cSAndroid Build Coastguard Worker/* libjpeg-turbo version in integer form */ 10*dfc6aa5cSAndroid Build Coastguard Worker#define LIBJPEG_TURBO_VERSION_NUMBER @LIBJPEG_TURBO_VERSION_NUMBER@ 11*dfc6aa5cSAndroid Build Coastguard Worker 12*dfc6aa5cSAndroid Build Coastguard Worker/* Support arithmetic encoding */ 13*dfc6aa5cSAndroid Build Coastguard Worker#cmakedefine C_ARITH_CODING_SUPPORTED 1 14*dfc6aa5cSAndroid Build Coastguard Worker 15*dfc6aa5cSAndroid Build Coastguard Worker/* Support arithmetic decoding */ 16*dfc6aa5cSAndroid Build Coastguard Worker#cmakedefine D_ARITH_CODING_SUPPORTED 1 17*dfc6aa5cSAndroid Build Coastguard Worker 18*dfc6aa5cSAndroid Build Coastguard Worker/* Support in-memory source/destination managers */ 19*dfc6aa5cSAndroid Build Coastguard Worker#cmakedefine MEM_SRCDST_SUPPORTED 1 20*dfc6aa5cSAndroid Build Coastguard Worker 21*dfc6aa5cSAndroid Build Coastguard Worker/* Use accelerated SIMD routines. */ 22*dfc6aa5cSAndroid Build Coastguard Worker#cmakedefine WITH_SIMD 1 23*dfc6aa5cSAndroid Build Coastguard Worker 24*dfc6aa5cSAndroid Build Coastguard Worker#ifdef _WIN32 25*dfc6aa5cSAndroid Build Coastguard Worker/* Define "boolean" as unsigned char, not int, per Windows custom */ 26*dfc6aa5cSAndroid Build Coastguard Worker#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ 27*dfc6aa5cSAndroid Build Coastguard Workertypedef unsigned char boolean; 28*dfc6aa5cSAndroid Build Coastguard Worker#endif 29*dfc6aa5cSAndroid Build Coastguard Worker#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ 30*dfc6aa5cSAndroid Build Coastguard Worker#endif 31*dfc6aa5cSAndroid Build Coastguard Worker 32*dfc6aa5cSAndroid Build Coastguard Worker/* 33*dfc6aa5cSAndroid Build Coastguard Worker * Define BITS_IN_JSAMPLE as either 34*dfc6aa5cSAndroid Build Coastguard Worker * 8 for 8-bit sample values (the usual setting) 35*dfc6aa5cSAndroid Build Coastguard Worker * 12 for 12-bit sample values 36*dfc6aa5cSAndroid Build Coastguard Worker * Only 8 and 12 are legal data precisions for lossy JPEG according to the 37*dfc6aa5cSAndroid Build Coastguard Worker * JPEG standard, and the IJG code does not support anything else! 38*dfc6aa5cSAndroid Build Coastguard Worker * We do not support run-time selection of data precision, sorry. 39*dfc6aa5cSAndroid Build Coastguard Worker */ 40*dfc6aa5cSAndroid Build Coastguard Worker 41*dfc6aa5cSAndroid Build Coastguard Worker#define BITS_IN_JSAMPLE @BITS_IN_JSAMPLE@ /* use 8 or 12 */ 42*dfc6aa5cSAndroid Build Coastguard Worker 43*dfc6aa5cSAndroid Build Coastguard Worker/* Define if your (broken) compiler shifts signed values as if they were 44*dfc6aa5cSAndroid Build Coastguard Worker unsigned. */ 45*dfc6aa5cSAndroid Build Coastguard Worker#cmakedefine RIGHT_SHIFT_IS_UNSIGNED 1 46