[libpng17] Rearranged ARM-NEON optimizations to isolate the machine specific

code to the hardware subdirectory, and add comments to pngrutil.c so that
implementors of other optimizations will know what to do.
This commit is contained in:
John Bowler
2012-12-14 23:12:16 -06:00
committed by Glenn Randers-Pehrson
parent eac85878bf
commit 0f2a5bac64
8 changed files with 110 additions and 67 deletions

View File

@@ -1872,6 +1872,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"