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 45cc943b94d11ffa0cc5d9af7ae68ab82f3056c9..c818a5184dfe1fab34e4a469ea8630323aae2825 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 |
@@ -228,7 +228,8 @@ void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); |
#define vpx_fdct32x32_rd vpx_fdct32x32_rd_c |
void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); |
-#define vpx_fdct4x4 vpx_fdct4x4_c |
+void vpx_fdct4x4_neon(const int16_t *input, tran_low_t *output, int stride); |
+RTCD_EXTERN void (*vpx_fdct4x4)(const int16_t *input, tran_low_t *output, int stride); |
void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); |
#define vpx_fdct4x4_1 vpx_fdct4x4_1_c |
@@ -897,6 +898,8 @@ static void setup_rtcd_internal(void) |
if (flags & HAS_NEON) vpx_dc_top_predictor_4x4 = vpx_dc_top_predictor_4x4_neon; |
vpx_dc_top_predictor_8x8 = vpx_dc_top_predictor_8x8_c; |
if (flags & HAS_NEON) vpx_dc_top_predictor_8x8 = vpx_dc_top_predictor_8x8_neon; |
+ vpx_fdct4x4 = vpx_fdct4x4_c; |
+ if (flags & HAS_NEON) vpx_fdct4x4 = vpx_fdct4x4_neon; |
vpx_fdct8x8 = vpx_fdct8x8_c; |
if (flags & HAS_NEON) vpx_fdct8x8 = vpx_fdct8x8_neon; |
vpx_fdct8x8_1 = vpx_fdct8x8_1_c; |