[FFmpeg-cvslog] lavc: define STRIDE_ALIGN as 32 when compiling with AVX support

James Almer git at videolan.org
Mon May 19 22:11:53 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun May 18 21:59:57 2014 -0300| [b82274487b239ac0e55f33ac13be397cb92e778b] | committer: Michael Niedermayer

lavc: define STRIDE_ALIGN as 32 when compiling with AVX support

Signed-off-by: James Almer <jamrial at gmail.com>
Reviewed-by: "Ronald S. Bultje" <rsbultje at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b82274487b239ac0e55f33ac13be397cb92e778b
---

 libavcodec/internal.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 603ffcf..948d006 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



More information about the ffmpeg-cvslog mailing list