From f1424cfd6dcfaf1d0d70ff1518710ccd3e5eac5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Mon, 25 Aug 2008 01:59:06 +0000 Subject: [PATCH] ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON Originally committed as revision 14961 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 9e46dea..4b7e8ed 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -591,6 +591,11 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); extern int mm_flags; +#ifdef HAVE_NEON +# define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(16, t, v) +# define STRIDE_ALIGN 16 +#endif + #elif defined(ARCH_POWERPC) #define MM_ALTIVEC 0x0001 /* standard AltiVec */ -- 2.7.4