Matt Sarett | b3ffc5a | 2015-11-24 12:18:04 -0500 | [diff] [blame] | 1 | Any Android specific modifications to upstream libjpeg-turbo (1.4.2) should |
| 2 | be listed here: |
| 3 | |
| 4 | (1) jconfig.h and jconfigint.h |
| 5 | |
| 6 | These are included upstream as jconfig.h.in and jconfigint.h.in. |
| 7 | We have the option autogenerate these platform/version specific files (using |
| 8 | the libjpeg-turbo build system) or to manually create them. |
| 9 | |
| 10 | Autogenerating these files on linux gets us most of the way, but we've needed |
| 11 | to add some multi-platform flexibility to the INLINE and SIZEOF_SIZE_T macros. |
| 12 | |
| 13 | (2) Partial decoding optimizations |
| 14 | |
| 15 | These have been cherry picked from upstream and will be included in the 1.5 |
DRC | 0ef076f | 2016-02-19 18:32:10 -0600 | [diff] [blame] | 16 | release. |
Matt Sarett | b3ffc5a | 2015-11-24 12:18:04 -0500 | [diff] [blame] | 17 | |
DRC | 4c0cab9 | 2016-02-04 18:34:38 -0600 | [diff] [blame] | 18 | (3) Security fix |
| 19 | |
| 20 | Cherry picked from upstream to address b/27494207. |
| 21 | |
| 22 | (4) simd/jsimdext.inc |
Matt Sarett | b3ffc5a | 2015-11-24 12:18:04 -0500 | [diff] [blame] | 23 | |
| 24 | The modification enables us to compile x86 SIMD. |
| 25 | |
| 26 | The original code was: |
| 27 | %define EXTN(name) _ %+ name |
| 28 | The new code is: |
| 29 | %define EXTN(name) name |
| 30 | |
| 31 | It is unclear why the unmodified code from upstream appends an underscore |
| 32 | to name. Before removing the underscore, the code failed to link because |
| 33 | the function names in the SIMD code did not match the callers (because of |
| 34 | the extra underscore). |