Commit f1424cfd authored by Måns Rullgård's avatar Måns Rullgård

ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON

Originally committed as revision 14961 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 244ee48a
...@@ -591,6 +591,11 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); ...@@ -591,6 +591,11 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx);
extern int mm_flags; 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) #elif defined(ARCH_POWERPC)
#define MM_ALTIVEC 0x0001 /* standard AltiVec */ #define MM_ALTIVEC 0x0001 /* standard AltiVec */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment