aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/riscv/pixblockdsp_rvv.S
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-09-27 23:04:26 +0300
committerLynne <dev@lynne.ee>2022-09-28 11:46:11 +0200
commitebee25855a453de56ff3bd06e666d07b26fa15b2 (patch)
tree9d00b1dc6a1662acc7a313f5d0b3016b5fc85e35 /libavcodec/riscv/pixblockdsp_rvv.S
parent676b08cb703d412e4b60a598615365928489300b (diff)
downloadffmpeg-ebee25855a453de56ff3bd06e666d07b26fa15b2.tar.gz
lavc/pixblockdsp: RISC-V V 16-bit get_pixels & get_pixels_unaligned
Diffstat (limited to 'libavcodec/riscv/pixblockdsp_rvv.S')
-rw-r--r--libavcodec/riscv/pixblockdsp_rvv.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/riscv/pixblockdsp_rvv.S b/libavcodec/riscv/pixblockdsp_rvv.S
index 8d4322d8bc..3392b4b2eb 100644
--- a/libavcodec/riscv/pixblockdsp_rvv.S
+++ b/libavcodec/riscv/pixblockdsp_rvv.S
@@ -35,3 +35,10 @@ func ff_get_pixels_8_rvv, zve32x
vsseg8e16.v v8, (a0)
ret
endfunc
+
+func ff_get_pixels_16_rvv, zve32x
+ vsetivli zero, 8, e16, m1, ta, ma
+ vlsseg8e16.v v0, (a1), a2
+ vsseg8e16.v v0, (a0)
+ ret
+endfunc