diff options
author | yuanhecai <yuanhecai@loongson.cn> | 2021-12-18 22:27:54 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-12-23 12:28:54 +0100 |
commit | 72bcbe216ef3d47498392ed2bada83994cd9fc86 (patch) | |
tree | 27ec14e4088e463580ef473cfce2634a347c3782 /libavcodec/vp8dsp.h | |
parent | ed6c5c13b10930ea95c622d6ef6e32a6e2077018 (diff) | |
download | ffmpeg-72bcbe216ef3d47498392ed2bada83994cd9fc86.tar.gz |
avcodec: [loongarch] Optimize vp8_lpf/mc with LSX.
./ffmpeg -i ../9_vp8_1080p_30fps_2Mbps.webm -f rawvideo -y /dev/null -an
before: 210fps
after : 585fps
Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vp8dsp.h')
-rw-r--r-- | libavcodec/vp8dsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp8dsp.h b/libavcodec/vp8dsp.h index cfe1524b0b..7c6208df39 100644 --- a/libavcodec/vp8dsp.h +++ b/libavcodec/vp8dsp.h @@ -101,6 +101,7 @@ void ff_vp8dsp_init_aarch64(VP8DSPContext *c); void ff_vp8dsp_init_arm(VP8DSPContext *c); void ff_vp8dsp_init_x86(VP8DSPContext *c); void ff_vp8dsp_init_mips(VP8DSPContext *c); +void ff_vp8dsp_init_loongarch(VP8DSPContext *c); #define IS_VP7 1 #define IS_VP8 0 |