ref: cb1e8b10348d477e070e48ec4eabe3ec19f97132
parent: 4d0c2039469c99c4f98f3d0f951603b1f0de1548
author: Martin Storsjö <[email protected]>
date: Wed Jan 30 05:35:49 EST 2019
arm64: looprestoration: Avoid unnecessary alignment of the mid buffer There's no gain in aligning it to more than 16 bytes. The ALIGN_STK_32 macro actually only aligns to 16 bytes on arm targets anyway.
--- a/src/arm/looprestoration_init_tmpl.c
+++ b/src/arm/looprestoration_init_tmpl.c
@@ -66,7 +66,7 @@
const int w, const int h, const int16_t fh[7],
const int16_t fv[7], const enum LrEdgeFlags edges)
{
- ALIGN_STK_32(int16_t, mid, 68 * 384,);
+ ALIGN_STK_16(int16_t, mid, 68 * 384,);
int mid_stride = (w + 7) & ~7;
// Horizontal filter