lavc/vp8dsp: fix compilation for RV32IMA

master
Rémi Denis-Courmont 1 month ago
parent d3acffae7a
commit f2b945147d
  1. 2
      libavcodec/riscv/vp8dsp_init.c
  2. 2
      libavcodec/riscv/vp8dsp_rvv.S

@ -129,8 +129,8 @@ av_cold void ff_vp8dsp_init_riscv(VP8DSPContext *c)
#if __riscv_xlen >= 64
if (flags & AV_CPU_FLAG_RVV_I64)
c->vp8_luma_dc_wht = ff_vp8_luma_dc_wht_rvv;
#endif
c->vp8_idct_add = ff_vp8_idct_add_rvv;
#endif
c->vp8_idct_dc_add = ff_vp8_idct_dc_add_rvv;
c->vp8_idct_dc_add4y = ff_vp8_idct_dc_add4y_rvv;
if (flags & AV_CPU_FLAG_RVV_I64)

@ -97,7 +97,6 @@ func ff_vp8_luma_dc_wht_rvv, zve64x
vsse16.v v3, (t3), t0
ret
endfunc
#endif
func ff_vp8_idct_add_rvv, zve32x
lpad 0
@ -158,6 +157,7 @@ func ff_vp8_idct_add_rvv, zve32x
vsub.vv v3, v4, v7
jr t0
endfunc
#endif
func ff_vp8_idct_dc_add_rvv, zve32x
lpad 0

Loading…
Cancel
Save