diff options
author | Martin Storsjö <martin@martin.st> | 2022-08-16 23:46:35 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-08-16 23:47:16 +0300 |
commit | 21c2c57ba5a8b426ad9c07902ec957dbbb20cf36 (patch) | |
tree | 2219d8cb4be99893f49a195195f4646445f37d62 | |
parent | aa9eabb7a5283fd90b3274ac4b6ba0d16e4aaaa2 (diff) | |
download | ffmpeg-21c2c57ba5a8b426ad9c07902ec957dbbb20cf36.tar.gz |
checkasm: Provide enough alignment in the new yuv2plane1 test
This fixes the checkasm test in some setups on x86.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | tests/checkasm/sw_scale.c | 6 |
1 files 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); |