changeset 7687:e5b5a9af1b68 libavcodec

ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON
author mru
date Mon, 25 Aug 2008 01:59:06 +0000
parents 880c701c3dcf
children 160d5c1ae60a
files dsputil.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.h	Mon Aug 25 00:15:29 2008 +0000
+++ b/dsputil.h	Mon Aug 25 01:59:06 2008 +0000
@@ -591,6 +591,11 @@
 
 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 */