[FFmpeg-cvslog] aarch64/vvc: Fix clip in alf
Zhao Zhili
git at videolan.org
Sat Jan 4 17:20:55 EET 2025
ffmpeg | branch: release/7.1 | Zhao Zhili <zhilizhao at tencent.com> | Tue Dec 10 12:18:56 2024 +0800| [0151f1daab9224322db7a808191365d65872ed1c] | committer: Zhao Zhili
aarch64/vvc: Fix clip in alf
Fix test failure:
./tests/checkasm/checkasm --test=vvc_alf 3607569773
(cherry picked from commit 40feba5f77e1c1dc185a9b5e6f2c7e33d211b993)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0151f1daab9224322db7a808191365d65872ed1c
---
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