Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: jconfig.h

Issue 1934113002: Update libjpeg_turbo to 1.4.90 from https://github.com/libjpeg-turbo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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. */

Powered by Google App Engine
This is Rietveld 408576698