diff options
author | Shiyou Yin <yinshiyou-hf@loongson.cn> | 2021-12-29 18:18:20 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-01-04 15:55:05 +0100 |
commit | 5d58355bf1a7bd07b0f08bf1f90f4aba8b89d727 (patch) | |
tree | 7d30e37bef88f51ec149788b05e92bb8c15de856 /libavcodec/hpeldsp.c | |
parent | 10e4b2b1d243435445ff537cc9e3948b7490eb5b (diff) | |
download | ffmpeg-5d58355bf1a7bd07b0f08bf1f90f4aba8b89d727.tar.gz |
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>
Diffstat (limited to 'libavcodec/hpeldsp.c')
-rw-r--r-- | libavcodec/hpeldsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hpeldsp.c b/libavcodec/hpeldsp.c index 8e2fd8fcf5..843ba399c5 100644 --- a/libavcodec/hpeldsp.c +++ b/libavcodec/hpeldsp.c @@ -367,4 +367,6 @@ av_cold void ff_hpeldsp_init(HpelDSPContext *c, int flags) ff_hpeldsp_init_x86(c, flags); if (ARCH_MIPS) ff_hpeldsp_init_mips(c, flags); + if (ARCH_LOONGARCH64) + ff_hpeldsp_init_loongarch(c, flags); } |