summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann <johann.koenig@duck.com>2018-10-29 09:21:15 -0700
committerJohann <johann.koenig@duck.com>2018-10-29 09:21:21 -0700
commit4cba6ce198a2fc49631b465e10f4997048eef824 (patch)
treec14106f6794a6f1c8cb3fdf6ea94d5098cb6e76f
parentc0f71b4e9c3be54b964ac39022c084b49729de8c (diff)
downloadlibvpx-4cba6ce198a2fc49631b465e10f4997048eef824.tar
libvpx-4cba6ce198a2fc49631b465e10f4997048eef824.tar.gz
libvpx-4cba6ce198a2fc49631b465e10f4997048eef824.tar.bz2
libvpx-4cba6ce198a2fc49631b465e10f4997048eef824.zip
vp8 bilinear: ensure temp array is aligned
Loads and stores to this array require 16 byte alignment. BUG=webm:1570 Change-Id: I82c7d21c9539a108930fd030d79caaa0bcd1eeb3
-rw-r--r--vp8/common/x86/bilinear_filter_sse2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/common/x86/bilinear_filter_sse2.c b/vp8/common/x86/bilinear_filter_sse2.c
index 14e10eca4..017d43df7 100644
--- a/vp8/common/x86/bilinear_filter_sse2.c
+++ b/vp8/common/x86/bilinear_filter_sse2.c
@@ -131,7 +131,7 @@ static INLINE void vertical_16x16(uint16_t *src, uint8_t *dst, const int stride,
void vp8_bilinear_predict16x16_sse2(uint8_t *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, uint8_t *dst_ptr,
int dst_pitch) {
- uint16_t FData[16 * 17];
+ DECLARE_ALIGNED(16, uint16_t, FData[16 * 17]);
assert((xoffset | yoffset) != 0);