avcodec: [loongarch] Optimize vp9_mc/intra with LSX.
authorHao Chen <chenhao@loongson.cn>
Sat, 18 Dec 2021 14:27:55 +0000 (22:27 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 23 Dec 2021 11:28:54 +0000 (12:28 +0100)
commit2fd914e079645ad08a4068b46c161f4a01b5b996
treef264511fa5893a10813f13614dd5417fc381816f
parent72bcbe216ef3d47498392ed2bada83994cd9fc86
avcodec: [loongarch] Optimize vp9_mc/intra with LSX.

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

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