Skip to content

Commit

Permalink
Fix desync with aarch64 assembly for ipred_z2
Browse files Browse the repository at this point in the history
Parameters max_w and max_h were inadvertently swapped.
  • Loading branch information
barrbrain committed Dec 6, 2023
1 parent 162a6de commit 8202c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asm/aarch64/predict.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ unsafe fn ipred_z1<T: Pixel>(

unsafe fn ipred_z2<T: Pixel>(
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);
Expand Down

0 comments on commit 8202c7d

Please sign in to comment.