[FFmpeg-cvslog] r14961 - trunk/libavcodec/dsputil.h

mru subversion
Mon Aug 25 03:59:06 CEST 2008


Author: mru
Date: Mon Aug 25 03:59:06 2008
New Revision: 14961

Log:
ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON

Modified:
   trunk/libavcodec/dsputil.h

Modified: trunk/libavcodec/dsputil.h
==============================================================================
--- trunk/libavcodec/dsputil.h	(original)
+++ trunk/libavcodec/dsputil.h	Mon Aug 25 03:59:06 2008
@@ -591,6 +591,11 @@ void dsputil_init_pix_mmx(DSPContext* c,
 
 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 */




More information about the ffmpeg-cvslog mailing list