1 | /* jconfig.h. Generated from jconfig.h.in by configure. */ |
2 | /* Version ID for the JPEG library. |
3 | * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". |
4 | */ |
5 | #define JPEG_LIB_VERSION 62 |
6 | |
7 | /* libjpeg-turbo version */ |
8 | #define LIBJPEG_TURBO_VERSION 2.0.0 |
9 | |
10 | /* |
11 | * Add support for arithmetic encoding (C_) and decoding (D_). |
12 | * This matches Android. Note that such JPEGs are likely rare, given lack of |
13 | * support by major browsers. |
14 | */ |
15 | /* Support arithmetic encoding */ |
16 | #define C_ARITH_CODING_SUPPORTED 1 |
17 | |
18 | /* Support arithmetic decoding */ |
19 | #define D_ARITH_CODING_SUPPORTED 1 |
20 | |
21 | /* |
22 | * Define BITS_IN_JSAMPLE as either |
23 | * 8 for 8-bit sample values (the usual setting) |
24 | * 12 for 12-bit sample values |
25 | * Only 8 and 12 are legal data precisions for lossy JPEG according to the |
26 | * JPEG standard, and the IJG code does not support anything else! |
27 | * We do not support run-time selection of data precision, sorry. |
28 | */ |
29 | |
30 | #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ |
31 | |
32 | /* Define to 1 if you have the <locale.h> header file. */ |
33 | #define HAVE_LOCALE_H 1 |
34 | |
35 | /* Define to 1 if you have the <stddef.h> header file. */ |
36 | #define HAVE_STDDEF_H 1 |
37 | |
38 | /* Define to 1 if you have the <stdlib.h> header file. */ |
39 | #define HAVE_STDLIB_H 1 |
40 | |
41 | /* Define to 1 if the system has the type `unsigned char'. */ |
42 | #define HAVE_UNSIGNED_CHAR 1 |
43 | |
44 | /* Define to 1 if the system has the type `unsigned short'. */ |
45 | #define HAVE_UNSIGNED_SHORT 1 |
46 | |
47 | /* Compiler does not support pointers to undefined structures. */ |
48 | /* #undef INCOMPLETE_TYPES_BROKEN */ |
49 | |
50 | /* Support in-memory source/destination managers */ |
51 | #define MEM_SRCDST_SUPPORTED 1 |
52 | |
53 | /* Define if you have BSD-like bzero and bcopy in <strings.h> rather than |
54 | memset/memcpy in <string.h>. */ |
55 | /* #undef NEED_BSD_STRINGS */ |
56 | |
57 | /* Define if you need to include <sys/types.h> to get size_t. */ |
58 | /* #undef NEED_SYS_TYPES_H 1 */ |
59 | |
60 | /* Define if your (broken) compiler shifts signed values as if they were |
61 | unsigned. */ |
62 | /* #undef RIGHT_SHIFT_IS_UNSIGNED */ |
63 | |
64 | /* Use accelerated SIMD routines. */ |
65 | #define WITH_SIMD 1 |
66 | |
67 | /* Define to 1 if type `char' is unsigned and you are not using gcc. */ |
68 | #ifndef __CHAR_UNSIGNED__ |
69 | /* # undef __CHAR_UNSIGNED__ */ |
70 | #endif |
71 | |
72 | /* Define to empty if `const' does not conform to ANSI C. */ |
73 | /* #undef const */ |
74 | |
75 | /* Define to `unsigned int' if <sys/types.h> does not define. */ |
76 | /* #undef size_t */ |
77 | |