Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 1 | /* jconfig.h. Generated from jconfig.h.in by configure. */ |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 2 | /* Version ID for the JPEG library. |
| 3 | * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". |
| 4 | */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 5 | #define JPEG_LIB_VERSION 62 |
DRC | 36a6eec | 2010-10-08 08:05:44 +0000 | [diff] [blame] | 6 | |
DRC | ab64b62 | 2011-12-18 16:29:35 +0000 | [diff] [blame] | 7 | /* libjpeg-turbo version */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 8 | #define LIBJPEG_TURBO_VERSION 1.4.2 |
DRC | ab64b62 | 2011-12-18 16:29:35 +0000 | [diff] [blame] | 9 | |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 10 | /* Support arithmetic encoding */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 11 | /* #define C_ARITH_CODING_SUPPORTED 1 */ |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 12 | |
| 13 | /* Support arithmetic decoding */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 14 | /* #define D_ARITH_CODING_SUPPORTED 1 */ |
DRC | e372004 | 2010-11-23 06:50:14 +0000 | [diff] [blame] | 15 | |
DRC | aee4f72 | 2014-08-09 23:06:07 +0000 | [diff] [blame] | 16 | /* |
| 17 | * Define BITS_IN_JSAMPLE as either |
| 18 | * 8 for 8-bit sample values (the usual setting) |
| 19 | * 12 for 12-bit sample values |
| 20 | * Only 8 and 12 are legal data precisions for lossy JPEG according to the |
| 21 | * JPEG standard, and the IJG code does not support anything else! |
| 22 | * We do not support run-time selection of data precision, sorry. |
| 23 | */ |
| 24 | |
| 25 | #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ |
| 26 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 27 | /* Define to 1 if you have the <locale.h> header file. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 28 | #define HAVE_LOCALE_H 1 |
DRC | ab70623 | 2013-01-18 23:42:31 +0000 | [diff] [blame] | 29 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 30 | /* Define to 1 if you have the <stddef.h> header file. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 31 | #define HAVE_STDDEF_H 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 32 | |
| 33 | /* Define to 1 if you have the <stdlib.h> header file. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 34 | #define HAVE_STDLIB_H 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 35 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 36 | /* Define to 1 if the system has the type `unsigned char'. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 37 | #define HAVE_UNSIGNED_CHAR 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 38 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 39 | /* Define to 1 if the system has the type `unsigned short'. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 40 | #define HAVE_UNSIGNED_SHORT 1 |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 41 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 42 | /* Compiler does not support pointers to undefined structures. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 43 | /* #undef INCOMPLETE_TYPES_BROKEN */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 44 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 45 | /* Support in-memory source/destination managers */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 46 | #define MEM_SRCDST_SUPPORTED 1 |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 47 | |
| 48 | /* Define if you have BSD-like bzero and bcopy in <strings.h> rather than |
| 49 | memset/memcpy in <string.h>. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 50 | /* #undef NEED_BSD_STRINGS */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 51 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 52 | /* Define if you need to include <sys/types.h> to get size_t. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 53 | /* #undef NEED_SYS_TYPES_H 1 */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 54 | |
DRC | ff6961f | 2014-04-20 09:17:11 +0000 | [diff] [blame] | 55 | /* Define if your (broken) compiler shifts signed values as if they were |
| 56 | unsigned. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 57 | /* #undef RIGHT_SHIFT_IS_UNSIGNED */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 58 | |
Pierre Ossman | 59a3938 | 2009-03-09 13:15:56 +0000 | [diff] [blame] | 59 | /* Use accelerated SIMD routines. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 60 | #define WITH_SIMD 1 |
Pierre Ossman | 59a3938 | 2009-03-09 13:15:56 +0000 | [diff] [blame] | 61 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 62 | /* Define to 1 if type `char' is unsigned and you are not using gcc. */ |
| 63 | #ifndef __CHAR_UNSIGNED__ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 64 | /* # undef __CHAR_UNSIGNED__ */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 65 | #endif |
| 66 | |
| 67 | /* Define to empty if `const' does not conform to ANSI C. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 68 | /* #undef const */ |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 69 | |
Constantin Kaplinsky | 0ca4425 | 2008-09-28 05:08:48 +0000 | [diff] [blame] | 70 | /* Define to `unsigned int' if <sys/types.h> does not define. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 71 | /* #undef size_t */ |
DRC | 3ebcc32 | 2015-05-15 19:09:44 +0000 | [diff] [blame] | 72 | |
| 73 | /* The size of `size_t', as computed by sizeof. */ |
Matt Sarett | 8f30059 | 2015-11-23 17:28:50 -0500 | [diff] [blame] | 74 | #if __WORDSIZE==64 || defined(_WIN64) |
| 75 | #define SIZEOF_SIZE_T 8 |
| 76 | #else |
| 77 | #define SIZEOF_SIZE_T 4 |
| 78 | #endif |