/src/libjpeg-turbo.main/jconfig.h
Line | Count | Source |
1 | | /* Version ID for the JPEG library. |
2 | | * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". |
3 | | */ |
4 | 272k | #define JPEG_LIB_VERSION 62 |
5 | | |
6 | | /* libjpeg-turbo version */ |
7 | | #define LIBJPEG_TURBO_VERSION 2.1.5 |
8 | | |
9 | | /* libjpeg-turbo version in integer form */ |
10 | | #define LIBJPEG_TURBO_VERSION_NUMBER 2001005 |
11 | | |
12 | | /* Support arithmetic encoding */ |
13 | | #define C_ARITH_CODING_SUPPORTED 1 |
14 | | |
15 | | /* Support arithmetic decoding */ |
16 | | #define D_ARITH_CODING_SUPPORTED 1 |
17 | | |
18 | | /* Support in-memory source/destination managers */ |
19 | | #define MEM_SRCDST_SUPPORTED 1 |
20 | | |
21 | | /* Use accelerated SIMD routines. */ |
22 | | #define WITH_SIMD 1 |
23 | | |
24 | | /* |
25 | | * Define BITS_IN_JSAMPLE as either |
26 | | * 8 for 8-bit sample values (the usual setting) |
27 | | * 12 for 12-bit sample values |
28 | | * Only 8 and 12 are legal data precisions for lossy JPEG according to the |
29 | | * JPEG standard, and the IJG code does not support anything else! |
30 | | * We do not support run-time selection of data precision, sorry. |
31 | | */ |
32 | | |
33 | 1.01M | #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ |
34 | | |
35 | | /* Define if your (broken) compiler shifts signed values as if they were |
36 | | unsigned. */ |
37 | | /* #undef RIGHT_SHIFT_IS_UNSIGNED */ |