diff options
author | James Almer <jamrial@gmail.com> | 2014-05-18 21:59:57 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-19 22:09:43 +0200 |
commit | b82274487b239ac0e55f33ac13be397cb92e778b (patch) | |
tree | aff5611dfa279a31fcef96f7477405c557891b2a /libavcodec/internal.h | |
parent | 833ec9177d179d2dcbfa498a921b05da3f89bbe6 (diff) | |
download | ffmpeg-b82274487b239ac0e55f33ac13be397cb92e778b.tar.gz |
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>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 603ffcf8f6..948d0064bc 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -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 |