huangcm
2025-08-14 5d6606c55520a76d5bb8297d83fd9bbf967e5244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Any Android specific modifications to upstream libjpeg-turbo (the version
specified in METADATA) should be listed here:
 
(1) jconfig.h and jconfigint.h
 
These are included upstream as jconfig.h.in and jconfigint.h.in.
We have the option autogenerate these platform/version specific files (using
the libjpeg-turbo build system) or to manually create them.
 
Autogenerating these files on linux gets us most of the way, but we've needed
to add some multi-platform flexibility to the INLINE and SIZEOF_SIZE_T macros.
 
(2) simd/arm64/jsimd_neon.S
 
To support execute-only memory layouts, constants in handwritten assembly have
been moved into a dedicated rodata section.
 
There's a pull request upstream for this as well. If that's accepted, this
can be removed as an Android-specific modification.
https://github.com/libjpeg-turbo/libjpeg-turbo/pull/318
 
(3) Cherry-pick of 2a9e3b and 15902850 from upstream
 
These fix a bug in TurboJPEG's handling of gigapixel images.