[FFmpeg-cvslog] aarch64/vvc: Fix clip in alf
Zhao Zhili
git at videolan.org
Tue Dec 10 15:02:43 EET 2024
ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Tue Dec 10 12:18:56 2024 +0800| [40feba5f77e1c1dc185a9b5e6f2c7e33d211b993] | committer: Nuo Mi
aarch64/vvc: Fix clip in alf
Fix test failure:
./tests/checkasm/checkasm --test=vvc_alf 3607569773
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=40feba5f77e1c1dc185a9b5e6f2c7e33d211b993
---
libavcodec/aarch64/vvc/alf.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/aarch64/vvc/alf.S b/libavcodec/aarch64/vvc/alf.S
index c624093640..8801b3afb6 100644
--- a/libavcodec/aarch64/vvc/alf.S
+++ b/libavcodec/aarch64/vvc/alf.S
@@ -148,7 +148,7 @@
sqxtun v20.8b, v20.8h
str d20, [dst]
.else
- smin v20.8h, v20.8h, v25.8h
+ umin v20.8h, v20.8h, v25.8h
str q20, [dst]
.endif
ret
@@ -249,7 +249,7 @@
sqxtun v20.8b, v20.8h
str s20, [dst]
.else
- smin v20.4h, v20.4h, v25.4h
+ umin v20.4h, v20.4h, v25.4h
str d20, [dst]
.endif
ret
More information about the ffmpeg-cvslog
mailing list