[libpng17] Corrected Android builds and corrected libpng.vers with symbol

prefixing. This adds an API to set optimization options externally,
providing an alternative and general solution for the non-portable
run-time tests used by the ARM Neon code.  It also makes those tests
compile and link on Android.  The order of settings vs options in
pnglibconf.h is reversed to allow settings to depend on options and
options can now set (or override) the defaults for settings.
This commit is contained in:
John Bowler
2013-03-03 21:29:36 -06:00
committed by Glenn Randers-Pehrson
parent ec89aefb44
commit 808ea281a4
14 changed files with 454 additions and 211 deletions

View File

@@ -508,6 +508,11 @@ struct png_struct_def
png_byte filter_type;
#endif
/* Options */
#ifdef PNG_SET_OPTION_SUPPORTED
png_byte options; /* On/off state (up to 4 options) */
#endif
/* COMPRESSION AND DECOMPRESSION SUPPORT.
*
* zlib expects a 'zstream' as the fundamental control structure, it allows