ref: fa0076282e62f649483bde868602aab86448a661
parent: 30ef91ff7d18b42cd55abf0bbba5b1a3ec38dc0f
parent: 03ff6c837af094e70f7b2f3ceb8527372f1d8e0f
author: Johann Koenig <[email protected]>
date: Mon Oct 29 18:26:42 EDT 2018
Merge "vp8 bilinear: ensure non-16x16 arrays are aligned"
--- a/vp8/common/x86/bilinear_filter_sse2.c
+++ b/vp8/common/x86/bilinear_filter_sse2.c
@@ -222,7 +222,7 @@
void vp8_bilinear_predict8x8_sse2(uint8_t *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, uint8_t *dst_ptr,
int dst_pitch) {
- uint16_t FData[8 * 9];
+ DECLARE_ALIGNED(16, uint16_t, FData[8 * 9]);
assert((xoffset | yoffset) != 0);
@@ -234,7 +234,7 @@
void vp8_bilinear_predict8x4_sse2(uint8_t *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, uint8_t *dst_ptr,
int dst_pitch) {
- uint16_t FData[8 * 5];
+ DECLARE_ALIGNED(16, uint16_t, FData[8 * 5]);
assert((xoffset | yoffset) != 0);
@@ -326,7 +326,7 @@
void vp8_bilinear_predict4x4_sse2(uint8_t *src_ptr, int src_pixels_per_line,
int xoffset, int yoffset, uint8_t *dst_ptr,
int dst_pitch) {
- uint16_t FData[4 * 5];
+ DECLARE_ALIGNED(16, uint16_t, FData[4 * 5]);
assert((xoffset | yoffset) != 0);