Index: source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h |
diff --git a/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h b/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h |
index b664b187c8b3e34e2e99d24f2400b285454f16bd..7d69b4c9720a2135eb5ebdcce13138efa5ddce7e 100644 |
--- a/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h |
+++ b/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h |
@@ -131,7 +131,8 @@ void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * |
#define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); |
-#define vp9_vector_var vp9_vector_var_c |
+int vp9_vector_var_neon(int16_t const *ref, int16_t const *src, const int bwl); |
+RTCD_EXTERN int (*vp9_vector_var)(int16_t const *ref, int16_t const *src, const int bwl); |
void vp9_rtcd(void); |
@@ -161,6 +162,8 @@ static void setup_rtcd_internal(void) |
if (flags & HAS_NEON) vp9_int_pro_row = vp9_int_pro_row_neon; |
vp9_quantize_fp = vp9_quantize_fp_c; |
if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon; |
+ vp9_vector_var = vp9_vector_var_c; |
+ if (flags & HAS_NEON) vp9_vector_var = vp9_vector_var_neon; |
} |
#endif |