Index: third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h |
diff --git a/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h b/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h |
index f72e439836ca0625a7c71ae725cf55d08b8722a2..f7a92279a1def0ccb27a74b48baeffb193b0aa81 100644 |
--- a/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h |
+++ b/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h |
@@ -302,7 +302,8 @@ void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a |
RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coeff); |
-#define vpx_hadamard_16x16 vpx_hadamard_16x16_c |
+void vpx_hadamard_16x16_neon(const int16_t *src_diff, int src_stride, int16_t *coeff); |
+RTCD_EXTERN void (*vpx_hadamard_16x16)(const int16_t *src_diff, int src_stride, int16_t *coeff); |
void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff); |
void vpx_hadamard_8x8_neon(const int16_t *src_diff, int src_stride, int16_t *coeff); |
@@ -924,6 +925,8 @@ static void setup_rtcd_internal(void) |
if (flags & HAS_NEON) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_neon; |
vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c; |
if (flags & HAS_NEON) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_neon; |
+ vpx_hadamard_16x16 = vpx_hadamard_16x16_c; |
+ if (flags & HAS_NEON) vpx_hadamard_16x16 = vpx_hadamard_16x16_neon; |
vpx_hadamard_8x8 = vpx_hadamard_8x8_c; |
if (flags & HAS_NEON) vpx_hadamard_8x8 = vpx_hadamard_8x8_neon; |
vpx_idct16x16_10_add = vpx_idct16x16_10_add_c; |