Cosmin Truta
82ae623ec9
arm: Rename all functions to the pattern png_*_neon; add debug traces
2019-03-31 09:44:45 -04:00
Cosmin Truta
70d122aac4
Fix a memory leak in the riffled palette optimization on ARM; refactor
...
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.
2019-02-03 19:51:18 -05:00
Cosmin Truta
94429a335b
Remove the "last changed" version information from source comments
2018-09-04 00:58:55 -04:00
Cosmin Truta
1ceaa83a84
Fix the build with MSVC ARM64
2018-09-04 00:53:38 -04:00
Cosmin Truta
b66ed71131
Restore the ANSI C compliance after adding the ARM optimization
...
Also apply style and formatting fixes
2018-09-04 00:15:30 -04:00
Richard Townsend
7734cda20c
Optimize png_do_expand_palette for ARM
...
ARM-specific optimization processes 8 or 4 pixels at once.
Improves performance by around 10-22% on a recent ARM Chromebook.
2018-09-04 00:04:58 -04:00
Cosmin Truta
2fc5ddff18
Restore the ANSI C compliance after applying the MSVC ARM64 fix
2018-09-03 22:27:45 -04:00
zzzzRuby
8033c96f32
Fix build errors with MSVC ARM64
...
(Contributed by Zhijie Liang)
2018-09-03 22:26:06 -04:00
Glenn Randers-Pehrson
df7e9dae0c
[libpng16] Imported from libpng-1.6.32.tar
2017-08-24 16:39:02 -05:00
Glenn Randers-Pehrson
b73c891891
[libpng16] Bump version to 1.6.32beta01
2017-07-27 14:18:21 -05:00
Glenn Randers-Pehrson
9fcb846402
[libpng16] Imported from libpng-1.6.31.tar
2017-07-27 05:27:17 -05:00
Glenn Randers-Pehrson
77417b8ea0
[libpng16] Imported from libpng-1.6.31beta01.tar
2017-07-05 06:45:46 -05:00
Glenn Randers-Pehrson
eed9efec4e
[libpng16] Added special case for FreeBSD in arm/filter_neon.S (Maya Rashish).
2017-07-05 05:36:59 -05:00
Glenn Randers-Pehrson
428f5ddabd
[libpng16] Bump version to 1.6.24beta01
2016-06-11 14:10:03 -05:00
Glenn Randers-Pehrson
ed6db9d86b
[libpng16] Imported from libpng-1.6.23.tar
2016-06-09 06:49:42 -05:00
Glenn Randers-Pehrson
4e34fd3b8a
[libpng16] Bump version to 1.6.23beta01
2016-05-27 19:48:24 -05:00
Glenn Randers-Pehrson
ac43a87820
[libpng16] Imported from libpng-1.6.22.tar
2016-05-26 07:25:14 -05:00
Glenn Randers-Pehrson
da9d1d7aa6
[libpng16] Added pngdebug() statements to the new intel code and the arm code.
2016-02-19 14:58:59 -06:00
Glenn Randers-Pehrson
018b4fccb9
[libpng16] Happy New Year! Update copyright year.
2014-12-31 18:45:23 -06:00
Glenn Randers-Pehrson
ecd074945c
[libpng16] Bump version to 1.6.17beta01
2014-12-21 22:56:42 -06:00
Glenn Randers-Pehrson
88dd30b232
[libpng16] Imported from libpng-1.6.16.tar
2014-12-21 21:53:00 -06:00
Glenn Randers-Pehrson
7c5d037032
[libpng16] Update arm/*.c to libpng coding style.
2014-11-29 17:04:35 -06:00
Glenn Randers-Pehrson
ee16fc4a6f
[libpng16] Added ".align 2" to arm/filter_neon.S to support old GAS assemblers
...
that don't do alignment correctly.
2014-11-29 16:27:27 -06:00
Glenn Randers-Pehrson
26a94ab06f
[libpng16] Imported from libpng-1.6.13rc01.tar
2014-08-13 22:08:01 -05:00
Glenn Randers-Pehrson
212fd5745d
[libpng16] Bump version to 1.6.13beta01
2014-06-11 21:13:33 -05:00
Glenn Randers-Pehrson
e429c66cea
[libpng16] Imported from libpng-1.6.12.tar
2014-06-11 20:41:51 -05:00
Glenn Randers-Pehrson
da7b692ce0
[libpng16] Bump version to 1.6.12beta01
2014-06-06 11:57:30 -05:00
Glenn Randers-Pehrson
c4e0f3de64
[libpng16] Imported from libpng-1.6.11.tar
2014-06-05 10:00:45 -05:00
Glenn Randers-Pehrson
149eea29b6
[libpng16] Imported from libpng-1.6.11beta01.tar
2014-03-17 13:19:41 -05:00
Glenn Randers-Pehrson
71d23c4d6e
[libpng16] Bump version to 1.6.11beta01
2014-03-06 21:09:24 -06:00
Glenn Randers-Pehrson
4df37bfa4f
[libpng16] Imported from libpng-1.6.10.tar
2014-03-06 12:49:17 -06:00
Glenn Randers-Pehrson
78c28fea51
[libpng16] Imported from libpng-1.6.10beta02.tar
2014-02-22 23:12:02 -06:00
John Bowler
dba54b8888
[libpng16] Moved OS dependent code from arm/arm_init.c, to allow the included
...
implementation of the ARM NEON discovery function to be set at
build-time and provide sample implementations from the current code in the
contrib/arm-neon subdirectory. The __linux__ code has also been changed to
compile and link on Android by using /proc/cpuinfo, and the old linux code
is in contrib/arm-neon/linux-auxv.c. The new code avoids POSIX and Linux
dependencies apart from opening /proc/cpuinfo and is C90 compliant.
2014-02-16 14:00:06 -06:00
Glenn Randers-Pehrson
9eec159ab0
[libpng16] Imported from libpng-1.6.10beta01.tar
2014-02-09 13:00:23 -06:00
Glenn Randers-Pehrson
38f49403bd
[libpng16] Update "last changed" dates in recently-patched files.
2013-12-22 15:04:00 -06:00
Glenn Randers-Pehrson
be3977de2c
[libpng16] Imported from libpng-1.6.8.tar
2013-12-19 09:11:01 -06:00
Glenn Randers-Pehrson
1c6e5f8caa
[libpng16] Imported from libpng-1.6.8beta01.tar
2013-11-23 18:41:43 -06:00
Glenn Randers-Pehrson
0ea69cdfa9
[libpng16] Imported from libpng-1.6.7.tar
2013-11-14 12:28:05 -06:00
John Bowler
08b0620202
[libpng16] Fixed #include in filter_neon_intrinsics.c and ctype macros. The
...
ctype char checking macros take an unsigned char argument, not a signed char.
2013-11-04 13:44:37 -06:00
Glenn Randers-Pehrson
d2d09e5bf9
[libpng16] Imported from libpng-1.6.7rc01.tar
2013-11-02 15:48:28 -05:00
John Bowler
fd8bba4b80
[libpng16] Changed NEON implementation selection mechanism to allow assembler
...
or intrinsics to be turned on during the build by defining
PNG_ARM_NEON_IMPLEMENTATION to the correct value (2 or 1). The
default is "undefined" and the build type is selected in pngpriv.h.
2013-10-25 16:11:57 -05:00
John Bowler
db9d96840d
[libpng16] Cleaned up ARM NEON compilation handling. The tests are now in
...
pngpriv.h and detect the broken GCC compilers.
2013-10-18 15:28:00 -05:00
John Bowler
681b731151
[libpng16] Fixed loop end condition in filter_neon_intrinsics.c
2013-10-17 08:12:55 -05:00
John Bowler
83a841ab7c
[libpng16] Fix compilation errors in filter_neon_intrinsics.c
...
Use filter_neon_intrinsics.c in preference to filter_neon.S when possible.
2013-10-15 21:19:56 -05:00
Glenn Randers-Pehrson
cf644fa901
[libpng16] Update "last changed" dates in arm/filter_neon_intrinsics.c and
...
pngrtran.c
2013-10-14 13:16:38 -05:00
Glenn Randers-Pehrson
19e4edaf3f
[libpng16] Conditionally compile arm/filter_neon_intrinsics.c
...
if PNG_READ_SUPPORTED and PNG_ARM_NEON_OPT > 0
2013-10-14 12:47:49 -05:00
Glenn Randers-Pehrson
063eb1b497
[libpng16] Added ARMv8 support (James Yu <james.yu at linaro.org>). Added file
...
arm/filter_neon_intrinsics.c; enable with configuration flag
PNG_ARM_NEON_INTRINSICS.
2013-10-14 11:14:36 -05:00
John Bowler
8f381901e3
[libpng16] Avoid up-cast warnings in pngvalid.c. On ARM the alignment
...
requirements of png_modifier are greater than that of png_store and as a
consequence compilation of pngvalid.c results in a warning about increased
alignment requirements because of the bare cast to (png_modifier*). The code
is safe, because the pointer is known to point to a stack allocated
png_modifier, but this change avoids the warning.
Fixed default behavior of ARM_NEON_API. If the ARM NEON API option was
compiled without the CHECK option it defaulted to on, not off.
Check user callback behavior in pngunknown.c. Previous versions compiled
if SAVE_UNKNOWN was not available but did nothing since the callback
was never implemented.
Merged pngunknown.c with 1.7 version and back ported 1.7 improvements/fixes
2013-09-30 11:24:17 -05:00
Glenn Randers-Pehrson
7ae451f527
[libpng16] Bump version to 1.6.7beta01
2013-09-16 11:47:17 -05:00
Glenn Randers-Pehrson
391459424e
[libpng16] Imported from libpng-1.6.6.tar
2013-09-16 10:39:16 -05:00