From 0fb3e3fa367b117d608dcc1e0e59d225d6d6b6bb Mon Sep 17 00:00:00 2001 From: David Michael Barr Date: Wed, 6 Dec 2023 17:32:33 +0900 Subject: [PATCH] Fix desync with aarch64 assembly for ipred_z2 Parameters max_w and max_h were inadvertently swapped. --- src/asm/aarch64/predict.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asm/aarch64/predict.rs b/src/asm/aarch64/predict.rs index 975227729d..b4a54da888 100644 --- a/src/asm/aarch64/predict.rs +++ b/src/asm/aarch64/predict.rs @@ -371,7 +371,7 @@ unsafe fn ipred_z1( unsafe fn ipred_z2( dst: *mut T, stride: ptrdiff_t, src: *const T, angle: isize, w: c_int, - h: c_int, max_h: c_int, max_w: c_int, bd_max: c_int, edge_filter: bool, + h: c_int, max_w: c_int, max_h: c_int, bd_max: c_int, edge_filter: bool, smooth_filter: bool, ) { assert!(angle > 90 && angle < 180);