summaryrefslogtreecommitdiffstats
path: root/libavcodec/fmtconvert.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2015-12-03 11:04:29 +0100
committerJanne Grunau <janne-libav@jannau.net>2015-12-14 16:45:02 +0100
commita0fc780a2093784e8664f88205ee1b215e109cee (patch)
tree3d4f4fbf79d02f6eb93fd93d304af9a6e10e0691 /libavcodec/fmtconvert.c
parent705f5e5e155f6f280a360af220fc5b30cfcee702 (diff)
downloadffmpeg-streaming-a0fc780a2093784e8664f88205ee1b215e109cee.zip
ffmpeg-streaming-a0fc780a2093784e8664f88205ee1b215e109cee.tar.gz
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
Diffstat (limited to 'libavcodec/fmtconvert.c')
-rw-r--r--libavcodec/fmtconvert.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c
index 2dff704..5e29bfa 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);
}
OpenPOWER on IntegriCloud