Commit 92a69cf8 authored by Mike Melanson's avatar Mike Melanson

move __align16 some place where non-MMX machines can see it

Originally committed as revision 3066 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6186b94c
...@@ -381,6 +381,8 @@ static inline uint32_t no_rnd_avg32(uint32_t a, uint32_t b) ...@@ -381,6 +381,8 @@ static inline uint32_t no_rnd_avg32(uint32_t a, uint32_t b)
one or more MultiMedia extension */ one or more MultiMedia extension */
int mm_support(void); int mm_support(void);
#define __align16 __attribute__ ((aligned (16)))
#if defined(HAVE_MMX) #if defined(HAVE_MMX)
#undef emms_c #undef emms_c
...@@ -409,7 +411,6 @@ static inline void emms(void) ...@@ -409,7 +411,6 @@ static inline void emms(void)
} }
#define __align8 __attribute__ ((aligned (8))) #define __align8 __attribute__ ((aligned (8)))
#define __align16 __attribute__ ((aligned (16)))
void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx); void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx);
void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx);
...@@ -417,7 +418,7 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); ...@@ -417,7 +418,7 @@ void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx);
#elif defined(ARCH_ARMV4L) #elif defined(ARCH_ARMV4L)
/* This is to use 4 bytes read to the IDCT pointers for some 'zero' /* This is to use 4 bytes read to the IDCT pointers for some 'zero'
line ptimizations */ line optimizations */
#define __align8 __attribute__ ((aligned (4))) #define __align8 __attribute__ ((aligned (4)))
void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx); void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx);
......
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