2020-11-16 14:47:43 +08:00
|
|
|
/* Version ID for the JPEG library.
|
|
|
|
* Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
|
|
|
|
*/
|
2021-06-08 17:32:00 +08:00
|
|
|
#define JPEG_LIB_VERSION 80
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/* libjpeg-turbo version */
|
2022-08-14 11:19:56 +08:00
|
|
|
#define LIBJPEG_TURBO_VERSION 2.1.4
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/* libjpeg-turbo version in integer form */
|
2022-08-14 11:19:56 +08:00
|
|
|
#define LIBJPEG_TURBO_VERSION_NUMBER 2001004
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/* Support arithmetic encoding */
|
2021-06-08 17:32:00 +08:00
|
|
|
#define C_ARITH_CODING_SUPPORTED 1
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/* Support arithmetic decoding */
|
2021-06-08 17:32:00 +08:00
|
|
|
#define D_ARITH_CODING_SUPPORTED 1
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/* Support in-memory source/destination managers */
|
2021-06-08 17:32:00 +08:00
|
|
|
/* #undef MEM_SRCDST_SUPPORTED */
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/* Use accelerated SIMD routines. */
|
2021-06-08 17:32:00 +08:00
|
|
|
#define WITH_SIMD 1
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Define BITS_IN_JSAMPLE as either
|
|
|
|
* 8 for 8-bit sample values (the usual setting)
|
|
|
|
* 12 for 12-bit sample values
|
|
|
|
* Only 8 and 12 are legal data precisions for lossy JPEG according to the
|
|
|
|
* JPEG standard, and the IJG code does not support anything else!
|
|
|
|
* We do not support run-time selection of data precision, sorry.
|
|
|
|
*/
|
|
|
|
|
2021-06-08 17:32:00 +08:00
|
|
|
#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
|
2020-11-16 14:47:43 +08:00
|
|
|
|
|
|
|
/* Define if your (broken) compiler shifts signed values as if they were
|
|
|
|
unsigned. */
|
2021-06-08 17:32:00 +08:00
|
|
|
/* #undef RIGHT_SHIFT_IS_UNSIGNED */
|