[FFmpeg-devel] [PATCH 1/2] aarch64/vvc: Fix clip in alf
Zhao Zhili
quinkblack at foxmail.com
Tue Dec 10 06:18:56 EET 2024
From: Zhao Zhili <zhilizhao at tencent.com>
Fix test failure:
./tests/checkasm/checkasm --test=vvc_alf 3607569773
---
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
--
2.46.0
More information about the ffmpeg-devel
mailing list