From 40feba5f77e1c1dc185a9b5e6f2c7e33d211b993 Mon Sep 17 00:00:00 2001 From: Zhao Zhili Date: Tue, 10 Dec 2024 12:18:56 +0800 Subject: [PATCH] aarch64/vvc: Fix clip in alf 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