Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
a4901a56
Commit
a4901a56
authored
Jun 12, 2024
by
sunyuechi
Committed by
Rémi Denis-Courmont
Jun 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/vp8dsp: R-V V bilin_load to bilin_load_h
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
8d9fb7b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
vp8dsp_rvv.S
libavcodec/riscv/vp8dsp_rvv.S
+3
-7
No files found.
libavcodec/riscv/vp8dsp_rvv.S
View file @
a4901a56
...
...
@@ -253,12 +253,8 @@ func ff_vp78_idct_dc_add4uv_rvv, zve64x
ret
endfunc
.macro bilin_load dst type mn
.ifc \type,v
add t5, a2, a3
.else
.macro bilin_load_h dst mn
addi t5, a2, 1
.endif
vle8.v \dst, (a2)
vle8.v v2, (t5)
vwmulu.vx v28, \dst, t1
...
...
@@ -320,12 +316,12 @@ func ff_put_vp8_bilin4_hv_rvv, zve32x
sub t1, t3, a5
sub t2, t3, a6
li t4, 4
bilin_load
v4, h
, a5
bilin_load
_h v4
, a5
add a2, a2, a3
1:
addi a4, a4, -1
vwmulu.vx v20, v4, t2
bilin_load
v4, h
, a5
bilin_load
_h v4
, a5
vwmaccu.vx v20, a6, v4
vwaddu.wx v24, v20, t4
vnsra.wi v0, v24, 3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment