]> granicus.if.org Git - libvpx/commit
msvs/tests: fix data alignment for asm tests
authorJames Zern <jzern@google.com>
Tue, 28 Aug 2012 00:13:09 +0000 (17:13 -0700)
committerJames Zern <jzern@google.com>
Fri, 31 Aug 2012 17:23:32 +0000 (10:23 -0700)
commit10f8b36146efff888448316775007b39da31b011
tree8216b277d79074eab26135de2f2a217d0fc4ca0b
parent8bec177dc441c0f619f80471205ddeaa249e2e12
msvs/tests: fix data alignment for asm tests

Replace DECLARE_ALIGNED_ with vpx_memalign()

DECLARE_ALIGNED (__declspec(align())) does not work as intended when
used on class data members:

Data in classes or structures is aligned within the class or structure
at the minimum of its natural alignment and the current packing setting
(from #pragma pack or the /Zp compiler option)

Change-Id: I304aaa6c3716fbfae24675ecf192f4b40787e83e
test/intrapred_test.cc
test/sad_test.cc
test/sixtap_predict_test.cc