Browse Source

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>
tags/n2.3
James Almer Michael Niedermayer 11 years ago
parent
commit
b82274487b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavcodec/internal.h

+ 3
- 1
libavcodec/internal.h 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


Loading…
Cancel
Save