[FFmpeg-cvslog] lavc/idctdsp: require Zve64x for R-V V functions
Rémi Denis-Courmont
git at videolan.org
Mon Oct 30 22:24:07 EET 2023
ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Oct 27 22:22:22 2023 +0300| [3ea2310e8978dfbdc5b78124d6c65ecc759fbb46] | committer: Rémi Denis-Courmont
lavc/idctdsp: require Zve64x for R-V V functions
This will be required for the following changesets.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ea2310e8978dfbdc5b78124d6c65ecc759fbb46
---
libavcodec/riscv/idctdsp_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/riscv/idctdsp_init.c b/libavcodec/riscv/idctdsp_init.c
index e6e616a555..4106d90c55 100644
--- a/libavcodec/riscv/idctdsp_init.c
+++ b/libavcodec/riscv/idctdsp_init.c
@@ -39,7 +39,7 @@ av_cold void ff_idctdsp_init_riscv(IDCTDSPContext *c, AVCodecContext *avctx,
#if HAVE_RVV
int flags = av_get_cpu_flags();
- if ((flags & AV_CPU_FLAG_RVV_I32) && ff_get_rv_vlenb() >= 16) {
+ if ((flags & AV_CPU_FLAG_RVV_I64) && ff_get_rv_vlenb() >= 16) {
c->put_pixels_clamped = ff_put_pixels_clamped_rvv;
c->put_signed_pixels_clamped = ff_put_signed_pixels_clamped_rvv;
c->add_pixels_clamped = ff_add_pixels_clamped_rvv;
More information about the ffmpeg-cvslog
mailing list