lavc/aacencdsp: fix rounding in R-V V quantize_bands

We need to round toward zero here.
release/7.1
Rémi Denis-Courmont 8 months ago
parent 658439934b
commit daac101e61
  1. 2
      libavcodec/riscv/aacencdsp_rvv.S

@ -59,7 +59,7 @@ NOHWF fmv.w.x fa1, a7
.if \signed
vfsgnjx.vv v16, v16, v8
.endif
vfcvt.x.f.v v16, v16
vfcvt.rtz.x.f.v v16, v16
vse32.v v16, (a0)
sh2add a0, t0, a0
bnez a3, .L\signed

Loading…
Cancel
Save