aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000dsp.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2023-10-28 19:29:12 +0300
committerRémi Denis-Courmont <remi@remlab.net>2023-11-01 18:52:55 +0200
commit73dea2bb917456e197cbb57b31275b6231e07acc (patch)
treea885449431c15eda8aa1398df1df5b1d3e4415ca /libavcodec/jpeg2000dsp.c
parentb2a441a3bed281a74b7fced77ef974897e407e32 (diff)
downloadffmpeg-73dea2bb917456e197cbb57b31275b6231e07acc.tar.gz
lavc/jpeg2000dsp: R-V V ict_float
jpeg2000_ict_float_c: 3112.2 jpeg2000_ict_float_rvv_f32: 1225.0
Diffstat (limited to 'libavcodec/jpeg2000dsp.c')
-rw-r--r--libavcodec/jpeg2000dsp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dsp.c b/libavcodec/jpeg2000dsp.c
index 50bc1ecee6..7840fdc357 100644
--- a/libavcodec/jpeg2000dsp.c
+++ b/libavcodec/jpeg2000dsp.c
@@ -96,7 +96,9 @@ av_cold void ff_jpeg2000dsp_init(Jpeg2000DSPContext *c)
c->mct_decode[FF_DWT53] = rct_int;
c->mct_decode[FF_DWT97_INT] = ict_int;
-#if ARCH_X86
+#if ARCH_RISCV
+ ff_jpeg2000dsp_init_riscv(c);
+#elif ARCH_X86
ff_jpeg2000dsp_init_x86(c);
#endif
}