From cba7c0267dad3963ff52f146012dd99fd5b55c2c Mon Sep 17 00:00:00 2001 From: Shiyou Yin Date: Wed, 15 Dec 2021 11:51:06 +0800 Subject: avcodec: [loongarch] Optimize h264qpel with LASX. ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:183 after :225 Change-Id: I7c7d2f34cd82ef728aab5ce8f6bfb46dd81f0da4 Reviewed-by: Shiyou Yin Reviewed-by: guxiwei Signed-off-by: Michael Niedermayer --- libavcodec/h264qpel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/h264qpel.c') diff --git a/libavcodec/h264qpel.c b/libavcodec/h264qpel.c index 50e82e23b0..535ebd25b4 100644 --- a/libavcodec/h264qpel.c +++ b/libavcodec/h264qpel.c @@ -106,4 +106,6 @@ av_cold void ff_h264qpel_init(H264QpelContext *c, int bit_depth) ff_h264qpel_init_x86(c, bit_depth); if (ARCH_MIPS) ff_h264qpel_init_mips(c, bit_depth); + if (ARCH_LOONGARCH64) + ff_h264qpel_init_loongarch(c, bit_depth); } -- cgit v1.2.3