Mercurial > libavcodec.hg
comparison dsputil.h @ 1653:11433ade9e06 libavcodec
altivec.h bug workaround (untested)
author | michael |
---|---|
date | Wed, 03 Dec 2003 22:23:08 +0000 |
parents | 835cf346975e |
children | dea5b2946999 |
comparison
equal
deleted
inserted
replaced
1652:834922115010 | 1653:11433ade9e06 |
---|---|
379 #define MM_ALTIVEC 0x0001 /* standard AltiVec */ | 379 #define MM_ALTIVEC 0x0001 /* standard AltiVec */ |
380 | 380 |
381 extern int mm_flags; | 381 extern int mm_flags; |
382 | 382 |
383 #if defined(HAVE_ALTIVEC) && !defined(CONFIG_DARWIN) | 383 #if defined(HAVE_ALTIVEC) && !defined(CONFIG_DARWIN) |
384 #define pixel altivec_pixel | |
384 #include <altivec.h> | 385 #include <altivec.h> |
386 #undef pixel | |
385 #endif | 387 #endif |
386 | 388 |
387 #define __align8 __attribute__ ((aligned (16))) | 389 #define __align8 __attribute__ ((aligned (16))) |
388 | 390 |
389 void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx); | 391 void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx); |