avcodec: [loongarch] Optimize vp9_lpf/idct with LSX.
authorJin Bo <jinbo@loongson.cn>
Sat, 18 Dec 2021 14:27:56 +0000 (22:27 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 23 Dec 2021 11:28:54 +0000 (12:28 +0100)
commitfea299f8768adbbddcb5b26a34f622a8606945a6
treee12f5d06a28b97ebbab4d8144c4f8c851c59fcae
parent2fd914e079645ad08a4068b46c161f4a01b5b996
avcodec: [loongarch] Optimize vp9_lpf/idct with LSX.

ffmpeg -i ../10_vp9_1080p_30fps_3Mbps.webm -f rawvideo -y /dev/null -an
before:294fps
after :567fps

Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/loongarch/Makefile
libavcodec/loongarch/vp9_idct_lsx.c [new file with mode: 0644]
libavcodec/loongarch/vp9_lpf_lsx.c [new file with mode: 0644]
libavcodec/loongarch/vp9dsp_init_loongarch.c
libavcodec/loongarch/vp9dsp_loongarch.h