From 21c2c57ba5a8b426ad9c07902ec957dbbb20cf36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 16 Aug 2022 23:46:35 +0300 Subject: [PATCH] checkasm: Provide enough alignment in the new yuv2plane1 test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the checkasm test in some setups on x86. Signed-off-by: Martin Storsjö --- tests/checkasm/sw_scale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c index 859993db6f..cbe4460a99 100644 --- a/tests/checkasm/sw_scale.c +++ b/tests/checkasm/sw_scale.c @@ -114,9 +114,9 @@ static void check_yuv2yuv1(int accurate) const int16_t *src, uint8_t *dest, int dstW, const uint8_t *dither, int offset); - LOCAL_ALIGNED_8(int16_t, src_pixels, [LARGEST_INPUT_SIZE]); - LOCAL_ALIGNED_8(uint8_t, dst0, [LARGEST_INPUT_SIZE]); - LOCAL_ALIGNED_8(uint8_t, dst1, [LARGEST_INPUT_SIZE]); + LOCAL_ALIGNED_16(int16_t, src_pixels, [LARGEST_INPUT_SIZE]); + LOCAL_ALIGNED_16(uint8_t, dst0, [LARGEST_INPUT_SIZE]); + LOCAL_ALIGNED_16(uint8_t, dst1, [LARGEST_INPUT_SIZE]); LOCAL_ALIGNED_8(uint8_t, dither, [8]); randomize_buffers((uint8_t*)dither, 8);