Browse Source

ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON

Originally committed as revision 14961 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård 17 years ago
parent
commit
f1424cfd6d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavcodec/dsputil.h

+ 5
- 0
libavcodec/dsputil.h View File

@@ -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 */


Loading…
Cancel
Save