From a0fc780a2093784e8664f88205ee1b215e109cee Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 3 Dec 2015 11:04:29 +0100 Subject: arm64: int32_to_float_fmul neon asm 3% faster dts decoding on a cortex-a57. cortex-a57 cortex-a53 int32_to_float_fmul_array8_c: 1270.9 4475.6 int32_to_float_fmul_array8_neon: 328.6 569.2 int32_to_float_fmul_scalar_c: 928.5 4119.6 int32_to_float_fmul_scalar_neon: 309.1 524.1 --- libavcodec/fmtconvert.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libavcodec/fmtconvert.c') diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c index 2dff704aa2..5e29bfa20a 100644 --- a/libavcodec/fmtconvert.c +++ b/libavcodec/fmtconvert.c @@ -46,7 +46,12 @@ av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx) c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_c; c->int32_to_float_fmul_array8 = int32_to_float_fmul_array8_c; - if (ARCH_ARM) ff_fmt_convert_init_arm(c, avctx); - if (ARCH_PPC) ff_fmt_convert_init_ppc(c, avctx); - if (ARCH_X86) ff_fmt_convert_init_x86(c, avctx); + if (ARCH_AARCH64) + ff_fmt_convert_init_aarch64(c, avctx); + if (ARCH_ARM) + ff_fmt_convert_init_arm(c, avctx); + if (ARCH_PPC) + ff_fmt_convert_init_ppc(c, avctx); + if (ARCH_X86) + ff_fmt_convert_init_x86(c, avctx); } -- cgit v1.2.3