[libpng16] Conditionally compile arm/filter_neon_intrinsics.c

if PNG_READ_SUPPORTED and PNG_ARM_NEON_OPT > 0
This commit is contained in:
Glenn Randers-Pehrson 2013-10-14 12:47:49 -05:00
parent e1540e3b4c
commit 19e4edaf3f

View File

@ -10,9 +10,13 @@
* and license in png.h
*/
#include <arm_neon.h>
#include "pngpriv.h"
#ifdef PNG_READ_SUPPORTED
#if PNG_ARM_NEON_OPT > 0
#include <arm_neon.h>
void
png_read_filter_row_up_neon(png_row_infop row_info, png_bytep row,
png_const_bytep prev_row)
@ -308,3 +312,5 @@ png_read_filter_row_paeth4_neon(png_row_infop row_info, png_bytep row,
}
}
#endif /* PNG_ARM_NEON_OPT > 0 */
#endif /* PNG_READ_SUPPORTED */