From a31effca751ebeba4ae37646135e47267f2e08ab Mon Sep 17 00:00:00 2001 From: John Koleszar <jkoleszar@google.com> Date: Mon, 29 Jul 2013 14:02:02 -0700 Subject: [PATCH] Remove unnecessary 64 byte alignment Fixes a warning on MSVS 2012 where the alignment of vp9_default_iscan_8x8 didn't match between its declaration and definition. Change-Id: I1466a15635f4b22594d705d570b7e399bfb6cf21 --- vp9/common/vp9_entropy.c | 2 +- vp9/common/vp9_entropy.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vp9/common/vp9_entropy.c b/vp9/common/vp9_entropy.c index 9d46a96782..1102933dc6 100644 --- a/vp9/common/vp9_entropy.c +++ b/vp9/common/vp9_entropy.c @@ -73,7 +73,7 @@ DECLARE_ALIGNED(16, const int16_t, vp9_row_scan_4x4[16]) = { 13, 11, 14, 15, }; -DECLARE_ALIGNED(64, const int16_t, vp9_default_scan_8x8[64]) = { +DECLARE_ALIGNED(16, const int16_t, vp9_default_scan_8x8[64]) = { 0, 8, 1, 16, 9, 2, 17, 24, 10, 3, 18, 25, 32, 11, 4, 26, 33, 19, 40, 12, 34, 27, 5, 41, diff --git a/vp9/common/vp9_entropy.h b/vp9/common/vp9_entropy.h index b2a941b685..9fa1fc60d9 100644 --- a/vp9/common/vp9_entropy.h +++ b/vp9/common/vp9_entropy.h @@ -101,7 +101,7 @@ extern DECLARE_ALIGNED(16, const int16_t, vp9_default_scan_4x4[16]); extern DECLARE_ALIGNED(16, const int16_t, vp9_col_scan_4x4[16]); extern DECLARE_ALIGNED(16, const int16_t, vp9_row_scan_4x4[16]); -extern DECLARE_ALIGNED(64, const int16_t, vp9_default_scan_8x8[64]); +extern DECLARE_ALIGNED(16, const int16_t, vp9_default_scan_8x8[64]); extern DECLARE_ALIGNED(16, const int16_t, vp9_col_scan_8x8[64]); extern DECLARE_ALIGNED(16, const int16_t, vp9_row_scan_8x8[64]); @@ -118,7 +118,7 @@ extern DECLARE_ALIGNED(16, int16_t, vp9_default_iscan_4x4[16]); extern DECLARE_ALIGNED(16, int16_t, vp9_col_iscan_4x4[16]); extern DECLARE_ALIGNED(16, int16_t, vp9_row_iscan_4x4[16]); -extern DECLARE_ALIGNED(64, int16_t, vp9_default_iscan_8x8[64]); +extern DECLARE_ALIGNED(16, int16_t, vp9_default_iscan_8x8[64]); extern DECLARE_ALIGNED(16, int16_t, vp9_col_iscan_8x8[64]); extern DECLARE_ALIGNED(16, int16_t, vp9_row_iscan_8x8[64]); -- GitLab