History

lavc/h264dsp: fix R-V V weight_pixels pointer arithmetic

As of 459a1512f13ae1fdd404ff9281b02d225ac70a09, the code is unrolled to process two rows per iteration. The output cursor thus needs to be incremented by twice the stride, which is taken care of with SH1ADD. However the original ADD from the original implemetation was incorrectly left over.

Rémi Denis-Courmont committed 1 year ago

Commit b75dff01 parent e29432e1 file · +0 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/riscv/h264dsp_rvv.S+0−1
@@ -52,7 +52,6 @@ func ff_h264_weight_pixels_simple_8_rvv, zve32x, b · 51 unmodified lines
5252 vse8.v v8, (a0)
5353 vse8.v v9, (t0)
5454 sh1add a0, a1, a0
55− add a0, a0, a1
5655 bnez a2, 1b
5756
5857 ret

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t