shithub: dav1d

Download patch

ref: 70dc7bd5a4a33ce88e3aee291177b3c70476cf2a
parent: 951b0c98033989c6532e144e94ee017d560c6d04
author: Janne Grunau <[email protected]>
date: Fri Nov 23 18:58:57 EST 2018

align tl_edge on stack for interintra prediction

--- a/src/recon_tmpl.c
+++ b/src/recon_tmpl.c
@@ -1320,7 +1320,8 @@
 
                 for (int pl = 0; pl < 2; pl++) {
                     pixel *const tmp = t->scratch.interintra;
-                    pixel tl_edge_px[65], *const tl_edge = &tl_edge_px[32];
+                    ALIGN_STK_32(pixel, tl_edge_px, 65,);
+                    pixel *const tl_edge = &tl_edge_px[32];
                     enum IntraPredMode m =
                         b->interintra_mode == II_SMOOTH_PRED ?
                         SMOOTH_PRED : b->interintra_mode;