diff options
author | John Bowler <jbowler@acm.org> | 2013-03-04 16:26:31 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2013-03-04 16:26:31 -0600 |
commit | f3728100d940723f04ccbe0f52352c07aa5c7a6d (patch) | |
tree | 7d950f31cf11c8f63fb84e460798a7cc219c71cf /pngstruct.h | |
parent | e15b53782517308e7bedbfbe17785ddc1ab119dc (diff) |
[libpng16] 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.
Diffstat (limited to 'pngstruct.h')
-rw-r--r-- | pngstruct.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pngstruct.h b/pngstruct.h index 776284a73..181b82f77 100644 --- a/pngstruct.h +++ b/pngstruct.h @@ -357,6 +357,11 @@ struct png_struct_def png_uint_16p inv_filter_costs; /* 1/relative filter calculation cost */ #endif + /* Options */ +#ifdef PNG_SET_OPTION_SUPPORTED + png_byte options; /* On/off state (up to 4 options) */ +#endif + #if PNG_LIBPNG_VER < 10700 /* To do: remove this from libpng-1.7 */ #ifdef PNG_TIME_RFC1123_SUPPORTED |