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 5bfb6e773395c0527a2f7df6d358c2b2f13b412b..2712530f99c719eca013dde93624caeff2356644 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 |
@@ -427,10 +427,12 @@ void vpx_lpf_vertical_8_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0, |
RTCD_EXTERN void (*vpx_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); |
void vpx_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit); |
-#define vpx_mbpost_proc_across_ip vpx_mbpost_proc_across_ip_c |
+void vpx_mbpost_proc_across_ip_neon(unsigned char *dst, int pitch, int rows, int cols,int flimit); |
+RTCD_EXTERN void (*vpx_mbpost_proc_across_ip)(unsigned char *dst, int pitch, int rows, int cols,int flimit); |
void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit); |
-#define vpx_mbpost_proc_down vpx_mbpost_proc_down_c |
+void vpx_mbpost_proc_down_neon(unsigned char *dst, int pitch, int rows, int cols,int flimit); |
+RTCD_EXTERN void (*vpx_mbpost_proc_down)(unsigned char *dst, int pitch, int rows, int cols,int flimit); |
void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max); |
void vpx_minmax_8x8_neon(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max); |
@@ -988,6 +990,10 @@ static void setup_rtcd_internal(void) |
if (flags & HAS_NEON) vpx_lpf_vertical_8 = vpx_lpf_vertical_8_neon; |
vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_c; |
if (flags & HAS_NEON) vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_neon; |
+ vpx_mbpost_proc_across_ip = vpx_mbpost_proc_across_ip_c; |
+ if (flags & HAS_NEON) vpx_mbpost_proc_across_ip = vpx_mbpost_proc_across_ip_neon; |
+ vpx_mbpost_proc_down = vpx_mbpost_proc_down_c; |
+ if (flags & HAS_NEON) vpx_mbpost_proc_down = vpx_mbpost_proc_down_neon; |
vpx_minmax_8x8 = vpx_minmax_8x8_c; |
if (flags & HAS_NEON) vpx_minmax_8x8 = vpx_minmax_8x8_neon; |
vpx_mse16x16 = vpx_mse16x16_c; |