aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorHao Chen <chenhao@loongson.cn>2022-09-09 17:00:24 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2022-09-10 22:56:38 +0200
commit38cacce22a613d660d4d78e65b0ecdb7be0b908c (patch)
tree2368d69307256f398900a4af4b91bd9bf239fceb /libswscale/swscale.c
parent09cce812453f989a0537c62b6db1020ea266553d (diff)
downloadffmpeg-38cacce22a613d660d4d78e65b0ecdb7be0b908c.tar.gz
swscale/la: Optimize hscale functions with lasx.
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen <chenhao@loongson.cn> Reviewed-by: yinshiyou-hf@loongson.cn Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 7b40f49da4..367d045a02 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -598,6 +598,8 @@ void ff_sws_init_scale(SwsContext *c)
ff_sws_init_swscale_aarch64(c);
#elif ARCH_ARM
ff_sws_init_swscale_arm(c);
+#elif ARCH_LOONGARCH64
+ ff_sws_init_swscale_loongarch(c);
#endif
}