diff options
Diffstat (limited to 'media/ffvpx/libavcodec/vp8dsp.c')
-rw-r--r-- | media/ffvpx/libavcodec/vp8dsp.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/media/ffvpx/libavcodec/vp8dsp.c b/media/ffvpx/libavcodec/vp8dsp.c index 4ff63d0784..efaf3e71a7 100644 --- a/media/ffvpx/libavcodec/vp8dsp.c +++ b/media/ffvpx/libavcodec/vp8dsp.c @@ -673,14 +673,15 @@ av_cold void ff_vp78dsp_init(VP8DSPContext *dsp) VP78_BILINEAR_MC_FUNC(1, 8); VP78_BILINEAR_MC_FUNC(2, 4); - if (ARCH_AARCH64) + #if ARCH_AARCH64 == 1 ff_vp78dsp_init_aarch64(dsp); - if (ARCH_ARM) + #elif ARCH_ARM == 1 ff_vp78dsp_init_arm(dsp); - if (ARCH_PPC) + #elif ARCH_PPC == 1 ff_vp78dsp_init_ppc(dsp); - if (ARCH_X86) + #elif ARCH_X86 == 1 ff_vp78dsp_init_x86(dsp); + #endif } #if CONFIG_VP7_DECODER @@ -735,13 +736,14 @@ av_cold void ff_vp8dsp_init(VP8DSPContext *dsp) dsp->vp8_v_loop_filter_simple = vp8_v_loop_filter_simple_c; dsp->vp8_h_loop_filter_simple = vp8_h_loop_filter_simple_c; - if (ARCH_AARCH64) + #if ARCH_AARCH64 == 1 ff_vp8dsp_init_aarch64(dsp); - if (ARCH_ARM) + #elif ARCH_ARM == 1 ff_vp8dsp_init_arm(dsp); - if (ARCH_X86) + #elif ARCH_X86 == 1 ff_vp8dsp_init_x86(dsp); - if (ARCH_MIPS) + #elif ARCH_MIPS == 1 ff_vp8dsp_init_mips(dsp); + #endif } #endif /* CONFIG_VP8_DECODER */ |