Chromium Code Reviews| Index: jconfig.h |
| diff --git a/jconfig.h b/jconfig.h |
| index b6191812d1385f76f1d0bdf06ba6d8661b938a81..5230294e98dd4ed52e7028280e452ad2585b0a2c 100644 |
| --- a/jconfig.h |
| +++ b/jconfig.h |
| @@ -5,7 +5,7 @@ |
| #define JPEG_LIB_VERSION 62 |
| /* libjpeg-turbo version */ |
| -#define LIBJPEG_TURBO_VERSION 1.3.1 |
| +#define LIBJPEG_TURBO_VERSION 1.4.90 |
| /* Support arithmetic encoding */ |
| /* #undef C_ARITH_CODING_SUPPORTED */ |
| @@ -13,11 +13,19 @@ |
| /* Support arithmetic decoding */ |
| /* #undef D_ARITH_CODING_SUPPORTED */ |
| -/* Support in-memory source/destination managers */ |
| -/* #undef MEM_SRCDST_SUPPORTED */ |
| +/* |
| + * 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. |
| + */ |
| + |
| +#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ |
| -/* Define if your compiler supports prototypes */ |
| -#define HAVE_PROTOTYPES 1 |
|
msarett
2016/05/02 13:29:15
I can confirm that HAVE_PROTOTYPES was dropped.
ht
|
| +/* Define to 1 if you have the <locale.h> header file. */ |
| +#define HAVE_LOCALE_H 1 |
|
msarett
2016/05/02 13:29:15
This seems fine. Here is where HAVE_LOCALE_H was
|
| /* Define to 1 if you have the <stddef.h> header file. */ |
| #define HAVE_STDDEF_H 1 |
| @@ -31,19 +39,21 @@ |
| /* Define to 1 if the system has the type `unsigned short'. */ |
| #define HAVE_UNSIGNED_SHORT 1 |
| -/* Define if you want use complete types */ |
| +/* Compiler does not support pointers to undefined structures. */ |
| /* #undef INCOMPLETE_TYPES_BROKEN */ |
| -/* Define if you have BSD-like bzero and bcopy */ |
| -/* #undef NEED_BSD_STRINGS */ |
| +/* Support in-memory source/destination managers */ |
| +/* #undef MEM_SRCDST_SUPPORTED */ |
| -/* Define if you need short function names */ |
| -/* #undef NEED_SHORT_EXTERNAL_NAMES */ |
| +/* Define if you have BSD-like bzero and bcopy in <strings.h> rather than |
| + memset/memcpy in <string.h>. */ |
| +/* #undef NEED_BSD_STRINGS */ |
| -/* Define if you have sys/types.h */ |
| -/* #undef NEED_SYS_TYPES_H */ |
| +/* Define if you need to include <sys/types.h> to get size_t. */ |
| +#define NEED_SYS_TYPES_H 1 |
|
msarett
2016/05/02 13:29:15
Why did this change?
|
| -/* Define if shift is unsigned */ |
| +/* Define if your (broken) compiler shifts signed values as if they were |
| + unsigned. */ |
| /* #undef RIGHT_SHIFT_IS_UNSIGNED */ |
| /* Use accelerated SIMD routines. */ |