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>
pull/68/head
James Almer 11 years ago committed by Michael Niedermayer
parent 833ec9177d
commit b82274487b
  1. 4
      libavcodec/internal.h

@ -35,7 +35,9 @@
#define FF_SANE_NB_CHANNELS 63U #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 # define STRIDE_ALIGN 16
#else #else
# define STRIDE_ALIGN 8 # define STRIDE_ALIGN 8

Loading…
Cancel
Save