avcodec: [loongarch] Optimize vc1dsp with LASX.
authorHao Chen <chenhao@loongson.cn>
Sat, 18 Dec 2021 14:27:57 +0000 (22:27 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 23 Dec 2021 11:28:54 +0000 (12:28 +0100)
commit60ead5cd68586d25bd6a0c285907f72b8a2534bf
tree76260412cb0515a5befa5804a7416298d47269b8
parentfea299f8768adbbddcb5b26a34f622a8606945a6
avcodec: [loongarch] Optimize vc1dsp with LASX.

./ffmpeg -i 11_wmv3_720p_24fps_7Mbps.wmv -f rawvideo -y /dev/null -an
before:131fps
after :229fps

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