hbono@chromium.org | 920a8a9 | 2010-11-22 09:17:38 +0000 | [diff] [blame] | 1 | Name: libjpeg-turbo |
| 2 | URL: http://sourceforge.net/projects/libjpeg-turbo/ |
noel@chromium.org | 3395bcc | 2014-04-14 06:56:00 +0000 | [diff] [blame] | 3 | Version: 1.3.1 |
steveblock@chromium.org | 4c16080 | 2012-08-01 00:42:33 +0000 | [diff] [blame] | 4 | License: Custom license |
hbono@chromium.org | 920a8a9 | 2010-11-22 09:17:38 +0000 | [diff] [blame] | 5 | License File: LICENSE.txt |
hbono@chromium.org | 9862697 | 2011-08-03 03:13:08 +0000 | [diff] [blame] | 6 | Security Critical: yes |
torne@chromium.org | 3963fbc | 2014-09-04 12:56:33 +0000 | [diff] [blame] | 7 | License Android Compatible: yes |
hbono@chromium.org | 920a8a9 | 2010-11-22 09:17:38 +0000 | [diff] [blame] | 8 | |
cdn@chromium.org | 7deb8d6 | 2011-03-14 19:29:03 +0000 | [diff] [blame] | 9 | Description: |
noel@chromium.org | 3395bcc | 2014-04-14 06:56:00 +0000 | [diff] [blame] | 10 | This consists of the components: |
| 11 | * A partial copy of libjpeg-turbo 1.3.1 (r1219); |
Aaron Gable | c9c8755 | 2015-08-03 09:34:32 -0700 | [diff] [blame] | 12 | * Revision r1188 cherry-picked from upstream trunk into config.h to fix |
| 13 | compiler warning on newer versions of gcc; |
| 14 | * Revision r1220 cherry-picked from upstream trunk into jchuff.c to use |
| 15 | clz/bsr instructions on ARM for bit counting rather than the lookup table |
| 16 | (reduces memory footprint and can improve performance in some cases); |
rmcilroy@chromium.org | 2ed5319 | 2014-08-29 12:32:19 +0000 | [diff] [blame] | 17 | * Revisions r1108, r1109, r1333, r1375, r1386, r1389 and r1390 cherry-picked |
Aaron Gable | c9c8755 | 2015-08-03 09:34:32 -0700 | [diff] [blame] | 18 | from upstream trunk for Arm64 NEON SIMD support; |
Aaron Gable | feec46f | 2015-08-06 09:54:48 -0700 | [diff] [blame] | 19 | * Revisions r1582, r1583, r1586, r1587, r1591, and |
Aaron Gable | c9c8755 | 2015-08-03 09:34:32 -0700 | [diff] [blame] | 20 | commit 91eceba0a132a3fc70388a82c75616e67725a93a (code moved to GitHub) |
Aaron Gable | feec46f | 2015-08-06 09:54:48 -0700 | [diff] [blame] | 21 | cherry-picked from upstream trunk for partial decoding optimization; |
| 22 | http://crbug.com/515694 |
| 23 | * Revisions r1295, r1385, r1398, and r1402 (r1386 is also required but has |
| 24 | already been cherry-picked) cherry-picked from upstream trunk to enable |
| 25 | decoding to 565 as a memory optimization; |
| 26 | http://crbug.com/516761 |
hbono@chromium.org | 920a8a9 | 2010-11-22 09:17:38 +0000 | [diff] [blame] | 27 | * A build file (libjpeg.gyp), and; |
| 28 | * Patched header files used by Chromium. |
| 29 | |
Aaron Gable | c9c8755 | 2015-08-03 09:34:32 -0700 | [diff] [blame] | 30 | More details on cherry-picked revisions and commits can be found at: |
| 31 | https://sourceforge.net/p/libjpeg-turbo/code/commit_browser |
| 32 | https://github.com/libjpeg-turbo/libjpeg-turbo/commits/master |
| 33 | |
hbono@chromium.org | 920a8a9 | 2010-11-22 09:17:38 +0000 | [diff] [blame] | 34 | This libjpeg-turbo can replace our libjpeg-6b without any modifications in the |
| 35 | Chromium code. |
| 36 | |
| 37 | Same as our copy of libjpeg-6b, this libjpeg-turbo also added a new file |
| 38 | jpeglibmangler.h and included it from jpeglib.h that changes the names of all |
| 39 | externally visible functions to chromium_* so that we can avoid conflicts that |
hbono@chromium.org | 9862697 | 2011-08-03 03:13:08 +0000 | [diff] [blame] | 40 | arise when system libraries attempt to use our libjpeg. Also, we applied the |
| 41 | following changes which are not merged to upstream: |
noel@chromium.org | 3395bcc | 2014-04-14 06:56:00 +0000 | [diff] [blame] | 42 | |
hbono@chromium.org | 9862697 | 2011-08-03 03:13:08 +0000 | [diff] [blame] | 43 | * Added the 'private_extern' flags on Mac (or the 'hidden' flags on Linux) to |
| 44 | all the global symbols in '.asm' files to prevent making them external ones. |
| 45 | * Supported motion-JPEG frames that do not have DHT markers. |
noel@chromium.org | 8ee9bdd | 2015-04-27 11:27:28 +0000 | [diff] [blame] | 46 | * Fix libjpeg_turbo svn r64 libjpeg6b compat issue: make the fast path Huffman |
| 47 | decoder fallback to slow decoding if the Huffman decoding bit sentinel > 16, |
| 48 | this to match the exact behavior of jpeg_huff_decode(). |
| 49 | http://crbug.com/398235 |
noel@chromium.org | f4631b6 | 2015-06-09 14:32:36 +0000 | [diff] [blame] | 50 | * Fixed an issue with the ARM NEON build. |
| 51 | http://crbug.com/451035 |
noel@chromium.org | 3395bcc | 2014-04-14 06:56:00 +0000 | [diff] [blame] | 52 | |
noel@chromium.org | 9e9058b | 2015-04-27 03:30:31 +0000 | [diff] [blame] | 53 | Refer to working-with-nested-repos [1] for details of how to setup your git |
| 54 | svn client to update the code (for making local changes, cherry picking from |
| 55 | upstream, etc). |
| 56 | |
| 57 | [1] https://www.chromium.org/developers/how-tos/get-the-code/working-with-nested-repos |