summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-04-25 04:06:09 +0000
committerMike Melanson <mike@multimedia.cx>2004-04-25 04:06:09 +0000
commit92a69cf868904c738d12f0f5313313f3afe46d38 (patch)
treeaae3ffa4f358e3b64cedcd069ac378e937ecf82b /libavcodec/dsputil.h
parent6186b94c131c050b18aeb7ec050c3f6fb422d06b (diff)
move __align16 some place where non-MMX machines can see it
Originally committed as revision 3066 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 9ad407db8e..b5468724f1 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -381,6 +381,8 @@ static inline uint32_t no_rnd_avg32(uint32_t a, uint32_t b)
one or more MultiMedia extension */
int mm_support(void);
+#define __align16 __attribute__ ((aligned (16)))
+
#if defined(HAVE_MMX)
#undef emms_c
@@ -409,7 +411,6 @@ static inline void emms(void)
}
#define __align8 __attribute__ ((aligned (8)))
-#define __align16 __attribute__ ((aligned (16)))
void dsputil_init_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);
#elif defined(ARCH_ARMV4L)
/* This is to use 4 bytes read to the IDCT pointers for some 'zero'
- line ptimizations */
+ line optimizations */
#define __align8 __attribute__ ((aligned (4)))
void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx);