DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 1 | /* Version ID for the JPEG library. |
| 2 | * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". |
| 3 | */ |
Haibo Huang | 090811c | 2019-03-15 09:25:39 -0700 | [diff] [blame] | 4 | #define JPEG_LIB_VERSION 62 |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 5 | |
DRC | ab64b62 | 2011-12-18 16:29:35 +0000 | [diff] [blame] | 6 | /* libjpeg-turbo version */ |
Haibo Huang | 090811c | 2019-03-15 09:25:39 -0700 | [diff] [blame] | 7 | #define LIBJPEG_TURBO_VERSION 2.0.2 |
Alex Naidis | 6eb7d37 | 2016-10-16 23:10:08 +0200 | [diff] [blame] | 8 | |
| 9 | /* libjpeg-turbo version in integer form */ |
Haibo Huang | 090811c | 2019-03-15 09:25:39 -0700 | [diff] [blame] | 10 | #define LIBJPEG_TURBO_VERSION_NUMBER 2000002 |
DRC | ab64b62 | 2011-12-18 16:29:35 +0000 | [diff] [blame] | 11 | |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 12 | /* Support arithmetic encoding */ |
Alex Naidis | 9004320 | 2016-10-18 15:18:47 +0200 | [diff] [blame] | 13 | #define C_ARITH_CODING_SUPPORTED 1 |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 14 | |
| 15 | /* Support arithmetic decoding */ |
Alex Naidis | 9004320 | 2016-10-18 15:18:47 +0200 | [diff] [blame] | 16 | #define D_ARITH_CODING_SUPPORTED 1 |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 17 | |
Haibo Huang | 090811c | 2019-03-15 09:25:39 -0700 | [diff] [blame] | 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 | |
DRC | aee4f72 | 2014-08-09 23:06:07 +0000 | [diff] [blame] | 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 | #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ |
| 34 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 35 | /* Define to 1 if you have the <locale.h> header file. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 36 | #define HAVE_LOCALE_H 1 |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 37 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 38 | /* Define to 1 if you have the <stddef.h> header file. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 39 | #define HAVE_STDDEF_H 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 40 | |
| 41 | /* Define to 1 if you have the <stdlib.h> header file. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 42 | #define HAVE_STDLIB_H 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 43 | |
Haibo Huang | 090811c | 2019-03-15 09:25:39 -0700 | [diff] [blame] | 44 | /* Define if you need to include <sys/types.h> to get size_t. */ |
| 45 | #define NEED_SYS_TYPES_H 1 |
| 46 | |
| 47 | /* Define if you have BSD-like bzero and bcopy in <strings.h> rather than |
| 48 | memset/memcpy in <string.h>. */ |
| 49 | /* #undef NEED_BSD_STRINGS */ |
| 50 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 51 | /* Define to 1 if the system has the type `unsigned char'. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 52 | #define HAVE_UNSIGNED_CHAR 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 53 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 54 | /* Define to 1 if the system has the type `unsigned short'. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 55 | #define HAVE_UNSIGNED_SHORT 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 56 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 57 | /* Compiler does not support pointers to undefined structures. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 58 | /* #undef INCOMPLETE_TYPES_BROKEN */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 59 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 60 | /* Define if your (broken) compiler shifts signed values as if they were |
| 61 | unsigned. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 62 | /* #undef RIGHT_SHIFT_IS_UNSIGNED */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 63 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 64 | /* Define to 1 if type `char' is unsigned and you are not using gcc. */ |
| 65 | #ifndef __CHAR_UNSIGNED__ |
Haibo Huang | 090811c | 2019-03-15 09:25:39 -0700 | [diff] [blame] | 66 | /* #undef __CHAR_UNSIGNED__ */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 67 | #endif |
| 68 | |
| 69 | /* Define to empty if `const' does not conform to ANSI C. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 70 | /* #undef const */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 71 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 72 | /* Define to `unsigned int' if <sys/types.h> does not define. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 73 | /* #undef size_t */ |