diff options
author | gxw <guxiwei-hf@loongson.cn> | 2021-12-29 18:18:22 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-01-04 15:55:05 +0100 |
commit | 8ca7d474c19f856b28fa588e040b23b1a58368ed (patch) | |
tree | 28c339ae50fb60984f9a896db5cb11c9229f5759 /libavcodec/videodsp.h | |
parent | 555b850bd56c87007c6b7b02dbb1e474e9911dfa (diff) | |
download | ffmpeg-8ca7d474c19f856b28fa588e040b23b1a58368ed.tar.gz |
avcodec: [loongarch] Optimize prefetch with loongarch.
./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an
before:296
after :308
Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/videodsp.h')
-rw-r--r-- | libavcodec/videodsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/videodsp.h b/libavcodec/videodsp.h index c0545f22b0..ac971dc57f 100644 --- a/libavcodec/videodsp.h +++ b/libavcodec/videodsp.h @@ -84,5 +84,6 @@ void ff_videodsp_init_arm(VideoDSPContext *ctx, int bpc); void ff_videodsp_init_ppc(VideoDSPContext *ctx, int bpc); void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc); void ff_videodsp_init_mips(VideoDSPContext *ctx, int bpc); +void ff_videodsp_init_loongarch(VideoDSPContext *ctx, int bpc); #endif /* AVCODEC_VIDEODSP_H */ |