ref: 2eaabafce3b01fc291b570d54612260fd2c163b1
parent: 14d4edcd4891c9bf6c7b573dbd4b97757a2fd3e9
author: Martin Storsjö <martin@martin.st>
date: Mon Oct 7 19:21:41 EDT 2019
arm64: looprestoration: Pass a correct height parameter to sgr_box3_h_neon for the top slice As the neon function processes two rows at a time, this has passed unnoticed.
--- a/src/arm/looprestoration_init_tmpl.c
+++ b/src/arm/looprestoration_init_tmpl.c
@@ -122,7 +122,7 @@
dav1d_sgr_box3_h_neon(sumsq, sum, left, src, stride, w, h, edges);
if (edges & LR_HAVE_TOP)
dav1d_sgr_box3_h_neon(&sumsq[-2 * (384 + 16)], &sum[-2 * (384 + 16)],
- NULL, lpf, lpf_stride, w, 1, edges);
+ NULL, lpf, lpf_stride, w, 2, edges);
if (edges & LR_HAVE_BOTTOM)
dav1d_sgr_box3_h_neon(&sumsq[h * (384 + 16)], &sum[h * (384 + 16)],