Age | Commit message (Collapse) | Author |
|
Change libpng build configuration to optimize for speed on Arm
platforms. This allows the compiler to inline some of the NEON filter
functions and significantly increase performance.
Binary size increase is minimal (<10KB increase in normalized Android
APK size.)
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1071398
Chromium-Change-Id: I109dea8b490bfdd2c0a80e2f1259797f1485e14f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2149331
Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org>
Reviewed-by: Chris Blume <cblume@chromium.org>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Cr-Commit-Position: refs/heads/master@{#760551}
[This was originally applied to BUILD.gn in Chromium
and I ported the change to Android.bp.]
Change-Id: I5e5aa40cce2c82b2c13947c3fecb44c86d2f3076
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libpng/+/12128186
Change-Id: I59d8416fb50de7386cc88fbd0649281eaa03885d
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libpng/+/12128186
Change-Id: Id93901fdd4cdc02e073da06acae9b3f52c13a9a4
|
|
Bug: http://b/153609531
Test: m libpng.native_bridge
Change-Id: Icdaec158a0a9fb2f0c3bdf0796e834346578e620
Merged-In: Icdaec158a0a9fb2f0c3bdf0796e834346578e620
|
|
490afb6c02
am: 54ca51b2ee
Change-Id: Ie28ab673ec855738e26ca3ba06a061856ca07045
|
|
am: 490afb6c02
Change-Id: Iae0f97a038a679d50a719acd9fb9951b53f96a85
|
|
am: aa0ce810a6
Change-Id: I100bb2612d1d9df7b2dfed94a1e39bf6a1271c89
|
|
am: 7794b22253
Change-Id: Icd76c301afccd9c4afb39b0d27e84bf39512c81a
|
|
|
|
Test: build
Bug: 134761359
Change-Id: Iee93c2907d93430a8de681f2e987d37f4b3b17bc
|
|
2c58cd950f
am: d38b284c27
Change-Id: I81e73cf8defb0b57bb54f7216b651245e5720573
|
|
am: 2c58cd950f
Change-Id: I2a04f2d47e3fd1950e08b74a5771351b73be9d35
|
|
am: d22b720111
Change-Id: I825a0892db9b54cf0a01a498e40b1a6f41fa2782
|
|
am: 9ef33ccf9b
Change-Id: I424ace2e996f03eb6430ad7d7a88d80e9ecfd225
|
|
|
|
This is a dummy change just to merge the git histories. There's no change to any file.
After this I'll send change to merge v1.6.37.
Bug: 134761359
Change-Id: If4203e6271b2728467ae93afd84bb56bdc6615fa
|
|
am: bc4e8aa3e1
Change-Id: I7225fd1ed7704ce829c5caedfebd8bf4fc48c28f
|
|
am: d0e1c14526
Change-Id: I431c3657181939270ed1e1fd173b268eb373888a
|
|
am: 0b43b07a04
Change-Id: I0414e491d58bd82d27db87c7bc70e4a385941759
|
|
am: fcc074772f
Change-Id: I70166a8ec149e77f0dc2f18c4860392e80a460f1
|
|
|
|
Test: treehugger
Change-Id: I3d18ef1ddb6fce05004d4d0fa355f9996bb47da0
|
|
am: 84a68a43e5
Change-Id: Iec4422c305d7ad27ff101de195b7f62c1c92413a
|
|
am: 4fae3c1bbc
Change-Id: I24ab778cc4acf1d89ac82be2f0d282409a8db748
|
|
am: 7ad9526619
Change-Id: Ib6d3ec6007610ed910045573a42d91a76ed07a9b
|
|
am: 3a08d09702
Change-Id: I031d30f71acb1dd6ac4f80a3f46135ad1083d1e4
|
|
|
|
(Modelled after libjpeg-turbo in
I12305d5136ef98b2e768ddfdc4b60b8d3c088965.)
This will help us to automatically update this library to newer releases
upstream using tools/external_updater.
Remove README.version, which is redundant and no longer used.
Update README.android to be less redundant and include other additions.
Test: make; CtsGraphicsTestCases
Change-Id: I03b2cf1e568eea326281dc691bd087c242cae9cf
|
|
|
|
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
|
|
If a zlib source tree exists besides the libpng source tree in the
same parent directory, the pngminus build may fail, unless the zlib
tree is built fully. In order to avoid this failing scenario, do not
use the custom-built zlib by default.
(The custom-built zlib is still necessary on platforms that lack a
system-built zlib.)
|
|
Change the license to MIT.
Move the license text from the source files to a LICENSE file.
Move the change log from the source files to a CHANGES file.
Delete the Turbo C makefile and simplify the Linux makefile heavily.
Create explicitly named static and shared executables in the makefile.
Refresh the README file a bit from the twenty year old one.
Signed-off-by: Willem van Schaik <willem@schaik.com>
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
|
|
|
|
|
|
|
|
|
|
The memory leak remains fixed, but the associated refactoring is
being reverted. Moving the initialization of the riffled palette
from png_do_read_transformations to png_init_palette_transformations
has caused a regression in some of the test programs.
Although png_init_palette_transformations is the proper place to
perform this initialization, and the test programs are technically
incorrect to fail, we are still undoing that refactoring for the
time being.
|
|
|
|
am: 77a88c0b05
Change-Id: I3d5b24aa2cbc18ad3c106052d724105a0cb934e5
|
|
Bug: 126125118
Change-Id: I815cdd40657a568f68cc50552af2735906aefefe
|
|
Bug: 120848293
Change-Id: I8ff52d50c5769b6d22f72bb9b60e6de6683f33f4
|
|
png_image_free_function (or any other destructor) should never fail.
Destructors need not and must not be executed under png_safe_execute.
Reference: CVE-2019-7317, use-after-free in png_image_free
|
|
Ensure that row_buf is deallocated not only after a read error, but
also after a write error.
Use the format "%p" instead of "0x%08lx" for printf-ing row_buf in
a portable manner.
|
|
Move deallocation of riffled_palette from png_write_destroy to
png_read_destroy. The reader (not the writer) is the owner of
riffled_palette.
Move allocation and initialization of riffled_palette from
png_do_read_transformations to png_init_palette_transformations.
Allow riffled_palette inside png_struct only if the ARM Neon
optimizations are enabled.
Rename png_riffle_palette_rgba to png_riffle_palette_rgba8, etc.,
to better indicate the strict applicability of these routines.
Fix an unused parameter warning in the build configurations where
riffled palette optimization is not enabled.
Fix indentation.
|
|
Also apply minor updates to makefile.gcc and makefile.msys
|
|
|
|
am: e7c582ab3b
Change-Id: Id0c6bdfa7bc0d62e59b2d382449c0852155a6b7a
|
|
am: e206bd344b
Change-Id: Icaf754e869fdd12ea3e98f162911679cefbac71e
|
|
am: 7ab540bb24
Change-Id: I82f5c4de4e87b5cf4a4c5416265b6b3bfd543b0f
|
|
|