LEFT | RIGHT |
1 Name: libjpeg-turbo | 1 Name: libjpeg-turbo |
2 URL: http://sourceforge.net/projects/libjpeg-turbo/ | 2 URL: http://sourceforge.net/projects/libjpeg-turbo/ |
3 Version: 1.3.1 | 3 Version: 1.3.1 |
4 License: Custom license | 4 License: Custom license |
5 License File: LICENSE.txt | 5 License File: LICENSE.txt |
6 Security Critical: yes | 6 Security Critical: yes |
7 License Android Compatible: yes | 7 License Android Compatible: yes |
8 | 8 |
9 Description: | 9 Description: |
10 This consists of the components: | 10 This consists of the components: |
11 * A partial copy of libjpeg-turbo 1.3.1 (r1219); | 11 * A partial copy of libjpeg-turbo 1.3.1 (r1219); |
12 * Revision r1188 cherry-picked from upstream trunk into config.h; | 12 * Revision r1188 cherry-picked from upstream trunk into config.h to fix |
13 * Revision r1220 cherry-picked from upstream trunk into jchuff.c; | 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); |
14 * Revisions r1108, r1109, r1333, r1375, r1386, r1389 and r1390 cherry-picked | 17 * Revisions r1108, r1109, r1333, r1375, r1386, r1389 and r1390 cherry-picked |
15 from upstream trunk for Arm64; | 18 from upstream trunk for Arm64 NEON SIMD support; |
16 * Revisions r1582, r1583, r1586, r1587, r1591, and | 19 * CR Bug 515694: Revisions r1582, r1583, r1586, r1587, r1591, and |
17 commit 91eceba0a132a3fc70388a82c75616e67725a93a (code moved to GitHub) | 20 commit 91eceba0a132a3fc70388a82c75616e67725a93a (code moved to GitHub) |
18 cherry-picked from upstream trunk for partial decoding optimization. | 21 cherry-picked from upstream trunk for partial decoding optimization. |
19 * A build file (libjpeg.gyp), and; | 22 * A build file (libjpeg.gyp), and; |
20 * Patched header files used by Chromium. | 23 * Patched header files used by Chromium. |
| 24 |
| 25 More details on cherry-picked revisions and commits can be found at: |
| 26 https://sourceforge.net/p/libjpeg-turbo/code/commit_browser |
| 27 https://github.com/libjpeg-turbo/libjpeg-turbo/commits/master |
21 | 28 |
22 This libjpeg-turbo can replace our libjpeg-6b without any modifications in the | 29 This libjpeg-turbo can replace our libjpeg-6b without any modifications in the |
23 Chromium code. | 30 Chromium code. |
24 | 31 |
25 Same as our copy of libjpeg-6b, this libjpeg-turbo also added a new file | 32 Same as our copy of libjpeg-6b, this libjpeg-turbo also added a new file |
26 jpeglibmangler.h and included it from jpeglib.h that changes the names of all | 33 jpeglibmangler.h and included it from jpeglib.h that changes the names of all |
27 externally visible functions to chromium_* so that we can avoid conflicts that | 34 externally visible functions to chromium_* so that we can avoid conflicts that |
28 arise when system libraries attempt to use our libjpeg. Also, we applied the | 35 arise when system libraries attempt to use our libjpeg. Also, we applied the |
29 following changes which are not merged to upstream: | 36 following changes which are not merged to upstream: |
30 | 37 |
31 * Added the 'private_extern' flags on Mac (or the 'hidden' flags on Linux) to | 38 * Added the 'private_extern' flags on Mac (or the 'hidden' flags on Linux) to |
32 all the global symbols in '.asm' files to prevent making them external ones. | 39 all the global symbols in '.asm' files to prevent making them external ones. |
33 * Supported motion-JPEG frames that do not have DHT markers. | 40 * Supported motion-JPEG frames that do not have DHT markers. |
34 * Fix libjpeg_turbo svn r64 libjpeg6b compat issue: make the fast path Huffman | 41 * Fix libjpeg_turbo svn r64 libjpeg6b compat issue: make the fast path Huffman |
35 decoder fallback to slow decoding if the Huffman decoding bit sentinel > 16, | 42 decoder fallback to slow decoding if the Huffman decoding bit sentinel > 16, |
36 this to match the exact behavior of jpeg_huff_decode(). | 43 this to match the exact behavior of jpeg_huff_decode(). |
37 http://crbug.com/398235 | 44 http://crbug.com/398235 |
38 * Fixed an issue with the ARM NEON build. | 45 * Fixed an issue with the ARM NEON build. |
39 http://crbug.com/451035 | 46 http://crbug.com/451035 |
40 | 47 |
41 The 'google.patch' file represents our changes from the original | |
42 libjpeg-turbo-1.2. | |
43 | |
44 Refer to working-with-nested-repos [1] for details of how to setup your git | 48 Refer to working-with-nested-repos [1] for details of how to setup your git |
45 svn client to update the code (for making local changes, cherry picking from | 49 svn client to update the code (for making local changes, cherry picking from |
46 upstream, etc). | 50 upstream, etc). |
47 | 51 |
48 [1] https://www.chromium.org/developers/how-tos/get-the-code/working-with-nested
-repos | 52 [1] https://www.chromium.org/developers/how-tos/get-the-code/working-with-nested
-repos |
LEFT | RIGHT |