lavc: define STRIDE_ALIGN as 32 when compiling with AVX support
authorJames Almer <jamrial@gmail.com>
Mon, 19 May 2014 00:59:57 +0000 (21:59 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 May 2014 20:09:43 +0000 (22:09 +0200)
Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/internal.h

index 603ffcf..948d006 100644 (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