summaryrefslogtreecommitdiff
path: root/pngpriv.h
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2012-12-13 11:26:50 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2012-12-13 11:26:50 -0600
commitf758d6c8137fa3fda76620982feee04eb3773fe0 (patch)
tree368e083de76f1cf4af56a23d588b8736e247a7ce /pngpriv.h
parent5c2d76fdef08cd01354cba9fc3ce97bca94c1499 (diff)
downloadlibpng-f758d6c8137fa3fda76620982feee04eb3773fe0.tar.gz
[libpng16] Rearranged the ARM-NEON optimizations: Isolated the machine specific
code to the hardware subdirectory and added comments to pngrutil.c so that implementors of other optimizations know what to do.
Diffstat (limited to 'pngpriv.h')
-rw-r--r--pngpriv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pngpriv.h b/pngpriv.h
index 1a5636389..afad74324 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -1862,6 +1862,15 @@ PNG_INTERNAL_FUNCTION(void, png_image_free, (png_imagep image), PNG_EMPTY);
#endif /* SIMPLIFIED READ/WRITE */
+#ifdef PNG_FILTER_OPTIMIZATIONS
+PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
+ /* This is the initialization function for hardware specific optimizations,
+ * one implementation (for ARM NEON machines) is contained in
+ * arm/filter_neon.c. It need not be defined - the generic code will be used
+ * if not.
+ */
+#endif
+
/* Maintainer: Put new private prototypes here ^ */
#include "pngdebug.h"