1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

lavc: define STRIDE_ALIGN as 32 when compiling with AVX support

Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
James Almer
2014-05-18 21:59:57 -03:00
committed by Michael Niedermayer
parent 833ec9177d
commit b82274487b

View File

@@ -35,7 +35,9 @@
#define FF_SANE_NB_CHANNELS 63U
#if HAVE_NEON || ARCH_PPC || HAVE_MMX
#if HAVE_AVX
# define STRIDE_ALIGN 32
#elif HAVE_NEON || ARCH_PPC || HAVE_MMX
# define STRIDE_ALIGN 16
#else
# define STRIDE_ALIGN 8