aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-08-21 22:55:07 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-09-01 10:52:26 +0300
commit3a5365683799ded2df974671928b545a153650ca (patch)
treef210f8a6d108048eb4eac361918afba02df27fed /libavcodec
parentb5daaa1503fd149a8e6c4964266ceb93fd7d09cd (diff)
downloadffmpeg-3a5365683799ded2df974671928b545a153650ca.tar.gz
lavc/h264dsp: do not write back unmodified rows in R-V V loop filter
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/riscv/h264dsp_rvv.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/riscv/h264dsp_rvv.S b/libavcodec/riscv/h264dsp_rvv.S
index 0d641008cb..2149c4217f 100644
--- a/libavcodec/riscv/h264dsp_rvv.S
+++ b/libavcodec/riscv/h264dsp_rvv.S
@@ -301,8 +301,9 @@ func ff_h264_h_loop_filter_luma_8_rvv, zve32x
vmul.vx v6, v6, t0
vsetivli zero, 16, e8, m1, ta, ma
vlsseg6e8.v v8, (a0), a1
+ addi a0, a0, 1
jal t0, ff_h264_loop_filter_luma_8_rvv
- vssseg6e8.v v8, (a0), a1
+ vssseg4e8.v v9, (a0), a1
ret
endfunc
@@ -316,7 +317,8 @@ func ff_h264_h_loop_filter_luma_mbaff_8_rvv, zve32x
vmul.vx v6, v6, t0 # tc_orig
vsetivli zero, 8, e8, m1, ta, ma
vlsseg6e8.v v8, (a0), a1
+ addi a0, a0, 1
jal t0, ff_h264_loop_filter_luma_8_rvv
- vssseg6e8.v v8, (a0), a1
+ vssseg4e8.v v9, (a0), a1
ret
endfunc