aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/me_cmp.c
diff options
context:
space:
mode:
authorsunyuechi <sunyuechi@iscas.ac.cn>2024-02-03 10:58:13 +0800
committerRémi Denis-Courmont <remi@remlab.net>2024-02-21 20:08:25 +0200
commitb41e115ddec4f2566246919a42990f529766f436 (patch)
tree58b5fff48e54a3fa97b8770319cd6c508d9f13fc /libavcodec/me_cmp.c
parente9cc9e492f987ce23ce8c514258a17952dd20401 (diff)
downloadffmpeg-b41e115ddec4f2566246919a42990f529766f436.tar.gz
lavc/me_cmp: R-V V pix_abs
C908: pix_abs_0_0_c: 534.0 pix_abs_0_0_rvv_i32: 136.2 pix_abs_1_0_c: 287.7 pix_abs_1_0_rvv_i32: 125.2 sad_0_c: 534.0 sad_0_rvv_i32: 136.2 sad_1_c: 287.7 sad_1_rvv_i32: 125.2 Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Diffstat (limited to 'libavcodec/me_cmp.c')
-rw-r--r--libavcodec/me_cmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/me_cmp.c b/libavcodec/me_cmp.c
index cd05e63ffd..db3fb1260c 100644
--- a/libavcodec/me_cmp.c
+++ b/libavcodec/me_cmp.c
@@ -1064,6 +1064,8 @@ av_cold void ff_me_cmp_init(MECmpContext *c, AVCodecContext *avctx)
ff_me_cmp_init_arm(c, avctx);
#elif ARCH_PPC
ff_me_cmp_init_ppc(c, avctx);
+#elif ARCH_RISCV
+ ff_me_cmp_init_riscv(c, avctx);
#elif ARCH_X86
ff_me_cmp_init_x86(c, avctx);
#elif ARCH_MIPS