Glenn Randers-Pehrson
3524b0d201
[libpng16] Update "Last changed" dates and some copyright years
2017-07-31 17:03:17 -05:00
Glenn Randers-Pehrson
c77274ffa9
[libpng16] Committed png.h and pngpriv.h that were omitted from previous checkin
2017-07-31 16:43:19 -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
68cb0aaee3
[libpng16] Implement eXIf chunk support
2017-07-13 11:22:48 -05:00
Glenn Randers-Pehrson
54126d5c59
[libpng16] Revised pngpriv.h to use PNG_VERSION_INFO_ONLY instead of
...
PNG_ARM_NEON_IMPLEMENTATION == 2 to exclude some definitions that assembler
cannot recognize.
2017-07-02 07:35:17 -05:00
Glenn Randers-Pehrson
660ce58597
[libpng16] Revised pngpriv.h to work around failure to compile arm/filter_neon.S
...
("typedef" directive is unrecognized by the assembler).
2017-07-01 16:29:42 -05:00
Glenn Randers-Pehrson
9f7134c3fc
[libpng16] Update some "last changed" dates
2017-06-29 17:52:18 -05:00
Glenn Randers-Pehrson
e744ee1338
[libpng16] Update CHANGES, ANNOUNCE, and "last changed" dates.
2017-03-30 12:24:55 -05:00
Viktor Szakats
7bbd665b34
tweak
2017-03-30 12:25:33 +00:00
Viktor Szakats
dce241c107
silence clang -Wcast-qual const drop warnings
2017-03-30 00:12:53 +00:00
Glenn Randers-Pehrson
d42e88d5b3
[libpng16] Imported from libpng-1.6.29.tar
2017-03-16 07:26:33 -05:00
Vadim Barkov
29775cef5e
Fixed VSX compilation time checks
...
__ppc64__ -> __PPC64__
2017-02-12 09:57:16 +00:00
Vadim Barkov
0aa1b967f0
Removed PNG_ALIGN dependency from VSX since it is not needed
2017-01-31 15:09:48 +03:00
Vadim Barkov
c47ddcf22b
Merge branch 'libpng16' into libpng16
2017-01-30 18:44:09 +03:00
Vadim Barkov
2b6e59d968
Added initial code for PowerPC VSX optimisation
2017-01-14 16:05:33 +03:00
Glenn Randers-Pehrson
8c6c9e6d56
[libpng16] Update credits to include Google Inc, for the Intel/SSE patch.
2017-01-12 09:45:02 -06:00
Glenn Randers-Pehrson
bef76802de
[libpng16] Moved SSE2 optimization code into the main libpng source directory.
...
Configure libpng with "configure --enable-intel-sse" or compile
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it. This patch was
previously applied to libpng-1.6.28rc03 but withdrawn to allow time for QA.
2017-01-05 18:09:33 -06:00
Glenn Randers-Pehrson
93b3476358
[libpng16] Imported from libpng-1.6.28rc03.tar
2017-01-03 22:25:10 -06:00
Glenn Randers-Pehrson
edef058e18
[libpng16] Moved SSE2 optimization code into the main libpng source directory.
...
Configure libpng with "configure --enable-intel-see" or compile
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
2017-01-03 19:15:15 -06:00
Glenn Randers-Pehrson
0c440812db
[libpng16] Imported from libpng-1.6.26.tar
2016-10-19 19:11:38 -05:00
Glenn Randers-Pehrson
890611200a
[libpng16] Imported from libpng-1.6.26beta03.tar
2016-10-02 19:10:10 -05:00
Glenn Randers-Pehrson
fbe3e002bc
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-09-30 21:51:27 -05:00
John Bowler
319c9852bf
Unsigned overflow
...
Remove all currently detected cases of unsigned overflow. Detection is
runtime, so test case dependent. The changes to pngvalid.c eliminate
spurious and probably invalid tests with one while loop exception.
Apart from that and the change to the dependence on the intended
unsigned overflow in pngtrans.c the changes are limited to altering the
meme for an unsigned 'x' from:
while (x-- > 0)
to
for (; x > 0; --x)
This works because, in all cases, the control variable is not used in
the loop. The 'while' meme was, at one time, warn'ed by GCC so it is
probably a good change, for some weird religious value of good.
Signed-off-by: John Bowler <jbowler@acm.org>
2016-09-30 18:37:22 -07:00
Glenn Randers-Pehrson
fa24421216
[libpng16] Quieted 74 (out of 288) -Wconversion compiler warnings by changing
...
flag definitions in pngpriv.h from 0xnnnn to 0xnnnnU.
2016-09-30 16:26:07 -05:00
Glenn Randers-Pehrson
7835716cef
[libpng16] Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngpriv.h, pngstruct.h,
...
and pngrutil.c.
2016-09-19 16:46:54 -05:00
Glenn Randers-Pehrson
e3a6631123
[libpng16] Imported from libpng-1.6.25.tar
2016-08-31 22:30:47 -05:00
Glenn Randers-Pehrson
4ade4e8a0d
[libpng16] Updated CHANGES and ANNOUNCE
2016-08-30 04:26:29 -05:00
Mandar Sahastrabuddhe
d1f14c829a
Added MIPS MSA optimization for following functions:
...
1. png_read_filter_row_sub4_msa
2. png_read_filter_row_avg4_msa
3. png_read_filter_row_paeth4_msa
4. png_read_filter_row_sub3_msa
5. png_read_filter_row_avg3_msa
6. png_read_filter_row_paeth3_msa
Signed-off-by: Mandar Sahastrabuddhe <Mandar.Sahastrabuddhe@imgtec.com>
2016-08-30 13:51:25 +05:30
Glenn Randers-Pehrson
05a4db1fcd
[libpng16] Update CHANGES, ANNOUNCE with entry about MIPS support
2016-08-29 09:13:09 -05:00
Mandar Sahastrabuddhe
ee5e39835c
Added build support for MIPS MSA
...
Also added one msa optimized function: png_read_filter_row_up_msa
Signed-off-by: Mandar Sahastrabuddhe <Mandar.Sahastrabuddhe@imgtec.com>
2016-08-29 19:07:25 +05:30
Glenn Randers-Pehrson
e018ab98be
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-08-10 20:49:48 -05:00
John Bowler
92a7c79db2
[libpng16] Reject oversized iCCP profile length
...
The code now validates the ICC profile length against the user chunk limit
before the buffer is allocated, as opposed to doing it while the buffer is read.
This removes the potential to consume virtual address space with a carefully
crafted ICC profile; only an issue on 32-bit systems where a valid profile can
be up to 2^32-4 bytes in length. libpng never writes beyond the application
supplied limit, but previously it did allocate a buffer of the size specified in
the profile header. The exploitability of this is almost zero; the address
space is released as soon as the PNG read completes.
Also clean up PNG_DEBUG compile of pngtest.c.
Signed-off-by: John Bowler <jbowler@acm.org>
2016-08-10 15:35:09 -07:00
Glenn Randers-Pehrson
b50d5cea2b
[libpng16] Imported from libpng-1.6.24.tar
2016-08-03 21:32:26 -05:00
Glenn Randers-Pehrson
96db0fff50
[libpng16] Conditionally compile ARM_NEON headers in pngpriv.h
...
Updated contrib/intel/intel_sse.patch
2016-08-02 09:31:05 -05:00
Glenn Randers-Pehrson
0fd9a249de
[libpng16] Update "last changed" dates
2016-07-13 16:29:22 -05:00
Glenn Randers-Pehrson
192e92d681
[libpng16] Fixed some indentation to comply with our coding style.
2016-07-13 14:43:42 -05:00
Glenn Randers-Pehrson
f757d74898
[libpng16] Moved sse2 prototype from pngpriv.h to contrib/intel/intel_sse.patch.
2016-05-31 09:45:17 -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
a967818235
[libpng16] Moved INTEL-SSE code from pngpriv.h to contrib/intel/intel_sse.patch.
2016-04-19 08:23:10 -05:00
Glenn Randers-Pehrson
1a3fa1e091
[libpng16] Imported from libpng-1.6.22beta03.tar
2016-03-09 12:04:40 -06:00
Matt Sarett
342c4eab2a
Move sse opts into contrib/intel
2016-02-18 12:43:50 -05:00
Matt Sarett
9a308a3344
Add intel opts to Makefile and configure.ac
2016-02-17 11:43:34 -05:00
Matt Sarett
5bc58a0ebc
Use immintrin, tweak checks for SSE4, SSSE3
2016-02-16 10:53:36 -05:00
Matt Sarett
577c1f0305
Reformat a bit, add MSVS checks, add SSE4
2016-02-16 10:10:11 -05:00
Matt Sarett
f84f957881
Use PNG_INTEL_SSE_OPT instead of PNG_INTEL_SSE2_OPT
2016-02-15 14:45:14 -05:00
Matt Sarett
9c946e22fc
Add SSSE3 and SSE2 optimized png filter functions
2016-02-15 14:41:27 -05:00
Glenn Randers-Pehrson
5031c77d85
[libpng16] Bump version to 1.6.22beta01
2016-01-16 08:00:09 -06:00
Glenn Randers-Pehrson
fc0786a442
[libpng16] Imported from libpng-1.6.21.tar
2016-01-15 13:51:06 -06:00
Glenn Randers-Pehrson
092b8d7bf3
[libpng16] Imported from libpng-1.6.21rc01.tar
2016-01-04 08:24:14 -06:00
Glenn Randers-Pehrson
975cbbb029
[libpng16] Moved png_check_keyword() from pngwutil.c to pngset.c
2015-12-13 15:04:18 -06:00