mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Separate png_compress_IDAT into w/c
I.e. write/compress, also remove some trailing spaces and clean up pnglibconf stuff. Signed-off-by: John Bowler <jbowler@acm.org>
This commit is contained in:
@@ -243,7 +243,7 @@ $1 == "file" && NF >= 2{
|
||||
|
||||
# option NAME ( (requires|enables|if) NAME* | on | off | disabled |
|
||||
# sets SETTING VALUE+ )*
|
||||
#
|
||||
#
|
||||
# Declares an option 'NAME' and describes its default setting (disabled)
|
||||
# and its relationship to other options. The option is disabled
|
||||
# unless *all* the options listed after 'requires' are set and at
|
||||
|
||||
@@ -125,7 +125,7 @@ file pnglibconf.h scripts/pnglibconf.dfa PNGLCONF_H
|
||||
#
|
||||
# To avoid confusion use -DPNG_foo_SUPPORTED= on the command line, which does
|
||||
# the same thing as the #define.
|
||||
#
|
||||
#
|
||||
# SUMMARY:
|
||||
# These lines/macro settings are equivalent:
|
||||
#
|
||||
@@ -460,7 +460,7 @@ option SET_USER_LIMITS requires USER_LIMITS
|
||||
# See the comments above about how to change options and settings.
|
||||
|
||||
# READ/WRITE tranform support
|
||||
#
|
||||
#
|
||||
# The internal TRANSFORM_MECH options are used to turn on (or off) the required
|
||||
# support code for the read and write transforms. They are off by default,
|
||||
# switching them on is not a good idea. Switching them off will cause the build
|
||||
@@ -496,7 +496,7 @@ option READ_16BIT requires READ enables 16BIT
|
||||
option READ_TRANSFORMS requires READ
|
||||
= NO_READ_TRANSFORMS READ_TRANSFORMS_NOT_SUPPORTED
|
||||
|
||||
option READ_QUANTIZE requires READ_TRANSFORMS enables TRANFORM_MECH
|
||||
option READ_QUANTIZE requires READ_TRANSFORMS enables TRANSFORM_MECH
|
||||
|
||||
# Read gamma handling. Gamma processing is a core part of libpng and many of
|
||||
# the capabilities are dependent on libpng performing gamma correction.
|
||||
|
||||
@@ -116,7 +116,6 @@
|
||||
#define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
|
||||
#define PNG_TEXT_SUPPORTED
|
||||
#define PNG_TIME_RFC1123_SUPPORTED
|
||||
#define PNG_TRANFORM_MECH_SUPPORTED
|
||||
#define PNG_TRANSFORM_MECH_SUPPORTED
|
||||
#define PNG_UNKNOWN_CHUNKS_SUPPORTED
|
||||
#define PNG_USER_CHUNKS_SUPPORTED
|
||||
@@ -194,7 +193,7 @@
|
||||
#define PNG_DEFAULT_GAMMA_ACCURACY 665
|
||||
#define PNG_DEFAULT_READ_MACROS 1
|
||||
#define PNG_GAMMA_THRESHOLD_FIXED 153
|
||||
#define PNG_IDAT_READ_SIZE PNG_ZBUF_SIZE
|
||||
#define PNG_IDAT_READ_SIZE 4096
|
||||
#define PNG_INFLATE_BUF_SIZE 1024
|
||||
#define PNG_MAX_GAMMA_8 11
|
||||
#define PNG_QUANTIZE_BLUE_BITS 5
|
||||
@@ -206,7 +205,7 @@
|
||||
#define PNG_USER_CHUNK_MALLOC_MAX 8000000
|
||||
#define PNG_USER_HEIGHT_MAX 1000000
|
||||
#define PNG_USER_WIDTH_MAX 1000000
|
||||
#define PNG_ZBUF_SIZE 8192
|
||||
#define PNG_ZBUF_SIZE 4096
|
||||
#define PNG_ZLIB_HEADER <zlib.h>
|
||||
#define PNG_ZLIB_VERNUM 0
|
||||
#define PNG_Z_DEFAULT_COMPRESSION (-1)
|
||||
|
||||
Reference in New Issue
Block a user