avcodec: [loongarch] Optimize hpeldsp with LASX.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Wed, 29 Dec 2021 10:18:20 +0000 (18:18 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 4 Jan 2022 14:55:05 +0000 (15:55 +0100)
commit5d58355bf1a7bd07b0f08bf1f90f4aba8b89d727
tree7d30e37bef88f51ec149788b05e92bb8c15de856
parent10e4b2b1d243435445ff537cc9e3948b7490eb5b
avcodec: [loongarch] Optimize hpeldsp with LASX.

./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an
before:376fps
after :433fps

Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hpeldsp.c
libavcodec/hpeldsp.h
libavcodec/loongarch/Makefile
libavcodec/loongarch/hpeldsp_init_loongarch.c [new file with mode: 0644]
libavcodec/loongarch/hpeldsp_lasx.c [new file with mode: 0644]
libavcodec/loongarch/hpeldsp_lasx.h [new file with mode: 0644]