summaryrefslogtreecommitdiff
path: root/pngstruct.h
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-06-10 07:06:42 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-06-10 07:06:42 -0500
commit81487c8b540d916a16d8cc34baa0c2b1baffde13 (patch)
tree6d3ed8d4f6e92486f3afda4eb7bb6e32c4e78701 /pngstruct.h
parentf6e7551f06a1c2447ad0737ff72cb5ddd2a310e4 (diff)
downloadlibpng-81487c8b540d916a16d8cc34baa0c2b1baffde13.tar.gz
[libpng16] Removed some unused WEIGHTED_FILTER macros from png.h and pngstruct.h
Diffstat (limited to 'pngstruct.h')
-rw-r--r--pngstruct.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/pngstruct.h b/pngstruct.h
index a3d674c4f..a51123afb 100644
--- a/pngstruct.h
+++ b/pngstruct.h
@@ -348,17 +348,7 @@ struct png_struct_def
png_bytep quantize_index; /* index translation for palette files */
#endif
-#ifdef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
- png_byte heuristic_method; /* heuristic for row filter selection */
- png_byte num_prev_filters; /* number of weights for previous rows */
- png_bytep prev_filters; /* filter type(s) of previous row(s) */
- png_uint_16p filter_weights; /* weight(s) for previous line(s) */
- png_uint_16p inv_filter_weights; /* 1/weight(s) for previous line(s) */
- png_uint_16p filter_costs; /* relative filter calculation cost */
- png_uint_16p inv_filter_costs; /* 1/relative filter calculation cost */
-#endif
-
- /* Options */
+/* Options */
#ifdef PNG_SET_OPTION_SUPPORTED
png_byte options; /* On/off state (up to 4 options) */
#endif