diff options
author | Måns Rullgård <mans@mansr.com> | 2008-08-25 01:59:06 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-08-25 01:59:06 +0000 |
commit | f1424cfd6dcfaf1d0d70ff1518710ccd3e5eac5d (patch) | |
tree | 05777a96479c8124ee1fb99d3b44724fb1dd427a | |
parent | 244ee48a8273faf28c95de617631137b2e0984ef (diff) | |
download | ffmpeg-f1424cfd6dcfaf1d0d70ff1518710ccd3e5eac5d.tar.gz |
ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON
Originally committed as revision 14961 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/dsputil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 9e46deab2d..4b7e8ed4a4 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 */ |