[master] Revised png_push_save_buffer() to do fewer but larger png_mallocs

Eliminated use of png_ptr->irowbytes and reused the slot in png_ptr as
png_ptr->png_user_chunk_malloc_max.
This commit is contained in:
Glenn Randers-Pehrson
2010-02-06 12:15:07 -06:00
parent f3c42680db
commit 4bd73b6947
12 changed files with 93 additions and 60 deletions

View File

@@ -1,4 +1,4 @@
.TH LIBPNG 3 "February 5, 2010"
.TH LIBPNG 3 "February 6, 2010"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1beta07
.SH SYNOPSIS
@@ -192,7 +192,7 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1beta07
\fI\fB
\fBpng_uint_32 png_get_chunk_malloc_max (png_structp \fIpng_ptr\fP\fB);\fP
\fBpng_alloc_size_t png_get_chunk_malloc_max (png_structp \fIpng_ptr\fP\fB);\fP
\fI\fB
@@ -542,7 +542,7 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1beta07
\fI\fB
\fBvoid png_set_chunk_malloc_max (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIuser_chunk_cache_max\fP\fB);\fP
\fBvoid png_set_chunk_malloc_max (png_structp \fP\fIpng_ptr\fP\fB, png_alloc_size_t \fIuser_chunk_cache_max\fP\fB);\fP
\fI\fB
@@ -785,7 +785,7 @@ Following is a copy of the libpng.txt file that accompanies libpng.
.SH LIBPNG.TXT
libpng.txt - A description on how to use and modify libpng
libpng version 1.4.1beta07 - February 5, 2010
libpng version 1.4.1beta07 - February 6, 2010
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
@@ -796,7 +796,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.4.1beta07 - February 5, 2010
libpng versions 0.97, January 1998, through 1.4.1beta07 - February 6, 2010
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
@@ -4030,7 +4030,7 @@ Other rules can be inferred by inspecting the libpng source.
.SH XIII. Y2K Compliance in libpng
February 5, 2010
February 6, 2010
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
@@ -4211,7 +4211,7 @@ the first widely used release:
1.4.0 14 10400 14.so.14.0[.0]
1.4.1beta01-03 14 10401 14.so.14.1[.0]
1.4.1rc01 14 10401 14.so.14.1[.0]
1.4.1beta04 14 10401 14.so.14.1[.0]
1.4.1beta04-07 14 10401 14.so.14.1[.0]
Henceforth the source version will match the shared-library minor
and patch numbers; the shared-library major version number will be
@@ -4267,7 +4267,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.4.1beta07 - February 5, 2010:
Libpng version 1.4.1beta07 - February 6, 2010:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
@@ -4290,7 +4290,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.4.1beta07, February 5, 2010, are
libpng versions 1.2.6, August 15, 2004, through 1.4.1beta07, February 6, 2010, are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors
@@ -4389,7 +4389,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
February 5, 2010
February 6, 2010
.\" end of man page