Mercurial > libavcodec.hg
changeset 1974:8c5489b2cf3e libavcodec
move __align16 some place where non-MMX machines can see it
author | melanson |
---|---|
date | Sun, 25 Apr 2004 04:06:09 +0000 |
parents | 8dc96e383480 |
children | 6876ae55b5e7 |
files | dsputil.h |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dsputil.h Sun Apr 25 03:38:30 2004 +0000 +++ b/dsputil.h Sun Apr 25 04:06:09 2004 +0000 @@ -381,6 +381,8 @@ 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 @@ } #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 @@ #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);