Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxw <guxiwei-hf@loongson.cn>2021-12-29 13:18:22 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2022-01-04 17:55:05 +0300
commit8ca7d474c19f856b28fa588e040b23b1a58368ed (patch)
tree28c339ae50fb60984f9a896db5cb11c9229f5759 /libavcodec/videodsp.c
parent555b850bd56c87007c6b7b02dbb1e474e9911dfa (diff)
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.c')
-rw-r--r--libavcodec/videodsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/videodsp.c b/libavcodec/videodsp.c
index ce9e9eb143..212147984f 100644
--- a/libavcodec/videodsp.c
+++ b/libavcodec/videodsp.c
@@ -54,4 +54,6 @@ av_cold void ff_videodsp_init(VideoDSPContext *ctx, int bpc)
ff_videodsp_init_x86(ctx, bpc);
if (ARCH_MIPS)
ff_videodsp_init_mips(ctx, bpc);
+ if (ARCH_LOONGARCH64)
+ ff_videodsp_init_loongarch(ctx, bpc);
}