From: Johann Date: Wed, 22 Jan 2014 01:06:07 +0000 (-0800) Subject: Match vp9_coefband_trans_* declarations X-Git-Tag: v1.4.0~2618^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c492fc2f9b84e6c6d50edf0e662863081c88313;p=libvpx Match vp9_coefband_trans_* declarations VS2013 Chromium builds failed with: warning C4742: 'vp9_coefband_trans_8x8plus' has different alignment in https://code.google.com/p/chromium/issues/detail?id=336620 Change-Id: I865f72bc23ae958531eeb5f497002c12e9a36fcd --- diff --git a/vp9/common/vp9_entropy.h b/vp9/common/vp9_entropy.h index f43a85f14..ba162fd20 100644 --- a/vp9/common/vp9_entropy.h +++ b/vp9/common/vp9_entropy.h @@ -112,8 +112,8 @@ static INLINE void reset_skip_context(MACROBLOCKD *xd, BLOCK_SIZE bsize) { // This macro is currently unused but may be used by certain implementations #define MAXBAND_INDEX 21 -extern const uint8_t vp9_coefband_trans_8x8plus[1024]; -extern const uint8_t vp9_coefband_trans_4x4[16]; +extern DECLARE_ALIGNED(16, const uint8_t, vp9_coefband_trans_8x8plus[1024]); +extern DECLARE_ALIGNED(16, const uint8_t, vp9_coefband_trans_4x4[16]); static const uint8_t *get_band_translate(TX_SIZE tx_size) { return tx_size == TX_4X4 ? vp9_coefband_trans_4x4