ref: 9d34160a4a8b675f29d6398416f67d721a7c54b5
parent: 4dd943156dba5e182cee8d5fda764ab1c8537eae
author: Henrik Gramner <gramner@twoorioles.com>
date: Tue Mar 31 19:36:10 EDT 2020
Align dav1d_resize_filter[] Ensure that unaligned memory access overhead is avoided.
--- a/src/tables.c
+++ b/src/tables.c
@@ -636,7 +636,7 @@
W( 0, 0, 0, 0, 2, 127, - 1, 0 ),
};
-const int8_t dav1d_resize_filter[64][8] = {
+const int8_t ALIGN(dav1d_resize_filter[64][8], 8) = {
{ 0, 0, 0, -128, 0, 0, 0, 0 }, { 0, 0, 1, -128, -2, 1, 0, 0 },
{ 0, -1, 3, -127, -4, 2, -1, 0 }, { 0, -1, 4, -127, -6, 3, -1, 0 },
{ 0, -2, 6, -126, -8, 3, -1, 0 }, { 0, -2, 7, -125, -11, 4, -1, 0 },