[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.
This commit is contained in:
Glenn Randers-Pehrson
2017-01-05 18:09:33 -06:00
parent ebede25ceb
commit bef76802de
8 changed files with 80 additions and 367 deletions

11
png.h
View File

@@ -1,7 +1,7 @@
/* png.h - header file for PNG reference library
*
* libpng version 1.6.29beta01, January 5, 2017
* libpng version 1.6.29beta01, January 6, 2017
*
* Copyright (c) 1998-2002,2004,2006-2017 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -12,7 +12,7 @@
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.6.29beta01, January 5, 2017:
* libpng versions 0.97, January 1998, through 1.6.29beta01, January 6, 2017:
* Glenn Randers-Pehrson.
* See also "Contributing Authors", below.
*/
@@ -25,7 +25,7 @@
*
* This code is released under the libpng license.
*
* libpng versions 1.0.7, July 1, 2000 through 1.6.29beta01, January 5, 2017 are
* libpng versions 1.0.7, July 1, 2000 through 1.6.29beta01, January 6, 2017 are
* Copyright (c) 2000-2002, 2004, 2006-2017 Glenn Randers-Pehrson, are
* derived from libpng-1.0.6, and are distributed according to the same
* disclaimer and license as libpng-1.0.6 with the following individuals
@@ -38,6 +38,7 @@
* Gilles Vollant
* James Yu
* Mandar Sahastrabuddhe
* Google Inc.
*
* and with the following additions to the disclaimer:
*
@@ -239,7 +240,7 @@
* Y2K compliance in libpng:
* =========================
*
* January 5, 2017
* January 6, 2017
*
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
@@ -308,7 +309,7 @@
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.6.29beta01"
#define PNG_HEADER_VERSION_STRING " libpng version 1.6.29beta01 - January 5, 2017\n"
#define PNG_HEADER_VERSION_STRING " libpng version 1.6.29beta01 - January 6, 2017\n"
#define PNG_LIBPNG_VER_SONUM 16
#define PNG_LIBPNG_VER_DLLNUM 16