summaryrefslogtreecommitdiff
path: root/jconfig.h
AgeCommit message (Collapse)Author
2020-12-07Update to bbb828223e9c8f83f0e84db1e98b116029e62765.Elliott Hughes
Test: treehugger Change-Id: I5608ab5b6eb0f2225cd578a711ea0fa3be09f5e8
2020-12-02Switch to chromium upstream.Elliott Hughes
Bug: https://issuetracker.google.com/135180511 Test: treehugger Change-Id: I0c78ec9b07debdb501a96df0d6cb2f9a24b5fc84
2020-11-30Update libjpeg-turbo to v2.0.90 (2.1 beta1)Jonathan Wright
Update Chromium's copy of libjpeg-turbo to the latest upstream release (v2.0.90) and re-apply our local changes documented in README.chromium. Cherry-pick two additional changes from upstream to fix bugs found by fuzzers: 1) https://github.com/libjpeg-turbo/libjpeg-turbo/commit/ccaba5d7894ecfb5a8f11e48d3f86e1f14d5a469 2) https://github.com/libjpeg-turbo/libjpeg-turbo/commit/c7ca521bc85b57d41d3ad4963c13fc0100481084 Significant changes provided by this update: 1) A large performance boost to JPEG encoding due to an improved Huffman encoding implementation. 2) The complete removal of Arm Neon assembly code. This allows Arm's control-flow integrity security features (Armv8.3-A Pointer Authentication and Armv8.5-A Branch Target Identification) to be switched on with the appropriate compiler flags. Bug: 922430 Bug: b/135180511 Bug: 919548, 1145581 Change-Id: I319fcdc55b3fd5b219425c07a4e4a03587f4e06d
2019-03-18Upgrade libjpeg to 2.0.2Haibo Huang
Test: build Change-Id: If51cbf56f0b48fde26fac4f36d4f0219068659ac
2019-03-01Update libjpeg-turbo to v2.0.1Chris Blume
In order to apply some performance updates from ARM, we need to update libjpeg-turbo. These performance updates have yielded a 50% speedup on some devices. This CL updates our copy of libjpeg-turbo to v2.0.1 and re-applies our local patches. This patch also deletes some extra files which were not being used locally. Update our local patch that was applied to fix http://crbug.com/398235 (https://codereview.appspot.com/229430043/). The original patch incorrectly removed "& 0xFF" which limited an array index to within that array's bounds (effectively reverting https://github.com/libjpeg-turbo/libjpeg-turbo/commit/fa1d18385d904d530b4aec83ab7757a33397de6e). Restore the mask, making the array access safe and fixing a graphical glitch which would otherwise be introduced by this change. Bug:922430 Change-Id: I3860fdb424deecf7a17818ed09a640e632e71f8d
2018-08-28Update libjpeg-turbo to 2.0.0Leon Scroggins III
Bug: 78329453 Update to upstream at https://github.com/libjpeg-turbo/libjpeg-turbo/tree/2.0.0 This includes a fix for a bug that could result in an infinite loop. ChangeLog.md contains detailed changes about the upstream library. Changes I made are below: - Remove files that are no longer in upstream, and include all current files from upstream. - Update various references to the version. Android.bp: - Update to build new files/files in new locations. - Run bpfmt README.android: - Remove cherry-pick references, as they are no longer needed. - Remove modification in jsimdext.inc, which no longer appears to be necessary. README.version: - Use the github URL, as it is now the official upstream build - Replace msarett as OWNER, as he no longer works on this project - Update the version Change-Id: Ie6cfee5a8f820f28656bbb305f500e75e7ce7915
2017-01-17Enable Arithmetic Encoding/DecodingAlex Naidis
This commit adds the needed files for the Arithmetic Encoder/Decoder to compilation and enables Arithmetic Encoding/Decoding support in the proper configuration file. Test: Displaying appropriate JPEG files. Change-Id: I1745464a9af46ac8abfe6722f666589cb82ef59d Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-10-23libjpeg-turbo: Upgrade to 1.5.1Alex Naidis
The changes from 1.4.2 to 1.5.1 include a big amount of fixes and huge performance improvements. As highlights there is a full ARM 64-bit (ARMv8) NEON SIMD implementation which improves compression of full-color JPEGs by about 2-2.5x on average on Cortex-A53 and Cortex-A57 cores. Also SIMD acceleration for Huffman encoding on NEON-capable ARM 32-bit and 64-bit platforms was added. Performance on x86/x86_64 was also improved by adding better optimized SSE2 routines. For the full changelog, please see the ChangeLog.md file. Partial decoding optimizations, the security fix to adress b/27494207 and the fix for the AARCH64 conformance issueare present in the release. The README.android file was edited to reflect this. The configuration files were regenerated and all Android specific changes were applied. BUG:28268702 Change-Id: I538291d894df1da01d3f733771647df1fb61ec42 Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-09-12fix word size detectionJanis Danisevskis
Due to the order in which jconfig.h was included in jinclude.h, __WORDSIZE was not yet defined, so that SIZEOF_SIZE_T was always defined as 4 even on 64bit architectures. Also jinclude.h and jconfig.h had no include guard and where included more than once which lead to redefinitions of the SIZEOF_SIZE_T macro. This patch * makes SIZEOF_SIZE_T defined as __SIZEOF_SIZE_T__, which is predefined by the compiler, * makes the preprocessor emit an error if __SIZEOF_SIZE_T__ is not predefined, and * adds an include guard to jconfig.h. (cherrypick of b4ab00215cfc72d42f6e19684fa7375203b2f675.) Change-Id: Icb029a6faafdc847e2b735bd9adb465868f1b17d
2016-05-04Update to libjpeg_turbo 1.4.90Tom Hudson
(Duplicate of https://codereview.chromium.org/1939823002/ for landing.) TBR=noel@chromium.org,thakis@chromium.org BUG=608347, 398235, 591927 Review URL: https://codereview.chromium.org/1953443002 .
2015-11-23Set up config filesMatt Sarett
2014-04-14Upgrade libjpeg_turbo to 1.3.1 (r1219)noel@chromium.org
Remove google.jdmarker.patch, since the fixes for CVE-2013-6629 and CVE-2013-6630 are upstream most everywhere now [1]. Version number to 1.3.1 (config.h, jconfig.h). README.chromium: "Fixed valgrind error" patch was upstreamed in r839 http://sourceforge.net/p/libjpeg-turbo/code/839. The r1188 cherry-pick was put in config.h, say that. [1] http://seclists.org/fulldisclosure/2013/Nov/83 TBR=darin@chromium.org BUG=258723, 299835 Review URL: https://codereview.appspot.com/87110044 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@263594 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-11Update libjpeg-turbo.hbono@chromium.org
This change updates our copy of libjpeg-turbo to r829. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10386084 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@136524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-18Update libjpeg-turbo to 1.2.0.hbono@chromium.org
This change applies the upstream changes from 1.1.90 to 1.2.0 (r733). BUG=none TEST=webkit layout_tests Review URL: https://chromiumcodereview.appspot.com/9232002 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@118072 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-29Update libjpeg-turbo to r722.hbono@chromium.org
This change just updates our copy of libjpeg-turbo to r722. BUG=none TEST=none Review URL: http://codereview.chromium.org/8720003 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@111873 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-03Updates libjpeg-turbo to 1.1.90hbono@chromium.org
This change updates our copy of libjpeg-turbo to 1.1.90 (r677), which supports ARM NEON. BUG=none TEST=none Review URL: http://codereview.chromium.org/7554002 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@95196 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-22Add build files for libjpeg-turbo.hbono@chromium.org
This change adds a GYP file, header files, and a README file used for building libjpeg-turbo. (This GYP file builds libjpeg-turbo only on Windows and Mac since Linux uses the system libjpeg.) BUG=48789 TEST=build libjpeg-turbo on Windows and Mac. Review URL: http://codereview.chromium.org/4298001 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@66929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-09-28Merged changes from branches/1.5-xserver (revision range 2432:2631) back to ↵Constantin Kaplinsky
trunk. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@2 632fc199-4ca6-4c93-a231-07263d6284db
2006-05-25Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky
More changes will follow. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1 632fc199-4ca6-4c93-a231-07263d6284db
2015-07-29The Independent JPEG Group's JPEG software v5Thomas G. Lane
2015-07-29The Independent JPEG Group's JPEG software v4aThomas G. Lane
2015-07-29The Independent JPEG Group's JPEG software v4Thomas G. Lane
2015-07-29The Independent JPEG Group's JPEG software v3Thomas G. Lane
2015-07-29The Independent JPEG Group's JPEG software v2Thomas G. Lane
2015-07-29The Independent JPEG Group's JPEG software v1Thomas G. Lane