mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Simplified conditional compilation in pngvalid.c, for AIX (Michael Felt).
This commit is contained in:
parent
8c6c9e6d56
commit
4c0740c8de
5
ANNOUNCE
5
ANNOUNCE
@ -1,4 +1,4 @@
|
|||||||
Libpng 1.6.29beta01 - January 6, 2017
|
Libpng 1.6.29beta01 - January 12, 2017
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -25,11 +25,12 @@ Other information:
|
|||||||
|
|
||||||
Changes since the last public release (1.6.28):
|
Changes since the last public release (1.6.28):
|
||||||
|
|
||||||
Version 1.6.29beta01 [January 6, 2017]
|
Version 1.6.29beta01 [January 12, 2017]
|
||||||
Readded "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco Costamagna).
|
Readded "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco Costamagna).
|
||||||
Moved SSE2 optimization code into the main libpng source directory.
|
Moved SSE2 optimization code into the main libpng source directory.
|
||||||
Configure libpng with "configure --enable-intel-sse" or compile
|
Configure libpng with "configure --enable-intel-sse" or compile
|
||||||
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
|
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
|
||||||
|
Simplified conditional compilation in pngvalid.c, for AIX (Michael Felt).
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
3
CHANGES
3
CHANGES
@ -5794,11 +5794,12 @@ Version 1.6.28rc03 [January 4, 2017]
|
|||||||
Version 1.6.28 [January 5, 2017]
|
Version 1.6.28 [January 5, 2017]
|
||||||
No changes.
|
No changes.
|
||||||
|
|
||||||
Version 1.6.29beta01 [January 6, 2017]
|
Version 1.6.29beta01 [January 12, 2017]
|
||||||
Readded "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco Costamagna).
|
Readded "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco Costamagna).
|
||||||
Moved SSE2 optimization code into the main libpng source directory.
|
Moved SSE2 optimization code into the main libpng source directory.
|
||||||
Configure libpng with "configure --enable-intel-sse" or compile
|
Configure libpng with "configure --enable-intel-sse" or compile
|
||||||
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
|
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
|
||||||
|
Simplified conditional compilation in pngvalid.c, for AIX (Michael Felt).
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
@ -7742,13 +7742,11 @@ image_transform_png_set_rgb_to_gray_ini(const image_transform *this,
|
|||||||
* NOTE: this number only affects the internal limit check in pngvalid,
|
* NOTE: this number only affects the internal limit check in pngvalid,
|
||||||
* it has no effect on the limits applied to the libpng values.
|
* it has no effect on the limits applied to the libpng values.
|
||||||
*/
|
*/
|
||||||
that->pm->limit += pow(
|
|
||||||
#if DIGITIZE
|
#if DIGITIZE
|
||||||
2.0
|
that->pm->limit += pow( 2.0/255, data.gamma);
|
||||||
#else
|
#else
|
||||||
1.0
|
that->pm->limit += pow( 1.0/255, data.gamma);
|
||||||
#endif
|
#endif
|
||||||
/255, data.gamma);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user