[FFmpeg-cvslog] lavc/h264idct: fix compilation for RV32IMA
Rémi Denis-Courmont
git at videolan.org
Mon Nov 25 19:29:38 EET 2024
ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov 20 20:48:01 2024 +0200| [f8e91ab05ff3d111626ab8a3b5d570865a934f07] | committer: Rémi Denis-Courmont
lavc/h264idct: fix compilation for RV32IMA
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8e91ab05ff3d111626ab8a3b5d570865a934f07
---
libavcodec/riscv/h264idct_rvv.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/riscv/h264idct_rvv.S b/libavcodec/riscv/h264idct_rvv.S
index 5adcfd295e..2a40e87d62 100644
--- a/libavcodec/riscv/h264idct_rvv.S
+++ b/libavcodec/riscv/h264idct_rvv.S
@@ -629,6 +629,7 @@ endfunc
.endm
.macro idct4_add8 type, depth
+#if (__riscv_xlen == 64)
func ff_h264_idct4_add\type\()_\depth\()_rvv, zve32x
.if \depth == 8
lpad 0
@@ -682,6 +683,7 @@ func ff_h264_idct4_add\type\()_\depth\()_rvv, zve32x
vsetivli zero, 4, e8, m1, ta, ma
j .Lidct4_add4_\depth\()_rvv
endfunc
+#endif
.endm
.irp depth, 8, 16
More information about the ffmpeg-cvslog
mailing list