jconfig.h (1485B)
1 /* Version ID for the JPEG library. 2 * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". 3 */ 4 #define JPEG_LIB_VERSION 62 5 6 /* libjpeg-turbo version */ 7 #define LIBJPEG_TURBO_VERSION 3.0.4 8 9 /* libjpeg-turbo version in integer form */ 10 #define LIBJPEG_TURBO_VERSION_NUMBER 3000004 11 12 /* Support arithmetic encoding when using 8-bit samples */ 13 /* #undef C_ARITH_CODING_SUPPORTED */ 14 15 /* Support arithmetic decoding when using 8-bit samples */ 16 /* #undef D_ARITH_CODING_SUPPORTED */ 17 18 /* Support in-memory source/destination managers */ 19 #define MEM_SRCDST_SUPPORTED 1 20 21 /* Use accelerated SIMD routines. */ 22 #ifdef MOZ_WITH_SIMD 23 #define WITH_SIMD 1 24 #else 25 #undef WITH_SIMD 26 #endif 27 28 /* This version of libjpeg-turbo supports run-time selection of data precision, 29 * so BITS_IN_JSAMPLE is no longer used to specify the data precision at build 30 * time. However, some downstream software expects the macro to be defined. 31 * Since 12-bit data precision is an opt-in feature that requires explicitly 32 * calling 12-bit-specific libjpeg API functions and using 12-bit-specific data 33 * types, the unmodified portion of the libjpeg API still behaves as if it were 34 * built for 8-bit precision, and JSAMPLE is still literally an 8-bit data 35 * type. Thus, it is correct to define BITS_IN_JSAMPLE to 8 here. 36 */ 37 #ifndef BITS_IN_JSAMPLE 38 #define BITS_IN_JSAMPLE 8 39 #endif 40 41 /* Define if your (broken) compiler shifts signed values as if they were 42 unsigned. */ 43 /* #undef RIGHT_SHIFT_IS_UNSIGNED */