1
0
Fork 0

lavc/idctdsp: require Zve64x for R-V V functions

This will be required for the following changesets.
This commit is contained in:
Rémi Denis-Courmont 2023-10-27 22:22:22 +03:00
parent 300ee8b02d
commit 3ea2310e89
1 changed files with 1 additions and 1 deletions

View File

@ -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;