ffmpeg | branch: master | Martin Storsjö <[email protected]> | Tue Aug 16 
23:46:35 2022 +0300| [21c2c57ba5a8b426ad9c07902ec957dbbb20cf36] | committer: 
Martin Storsjö

checkasm: Provide enough alignment in the new yuv2plane1 test

This fixes the checkasm test in some setups on x86.

Signed-off-by: Martin Storsjö <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=21c2c57ba5a8b426ad9c07902ec957dbbb20cf36
---

 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);

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to