Mercurial > libavcodec.hg
comparison dsputil.h @ 5750:09f99af1db40 libavcodec
Sanitize altivec code so it can be built with runtime check properly
author | lu_zero |
---|---|
date | Tue, 02 Oct 2007 11:39:32 +0000 |
parents | efa3c1f9259a |
children | 1d83e9c34641 |
comparison
equal
deleted
inserted
replaced
5749:784dcbdc910f | 5750:09f99af1db40 |
---|---|
555 | 555 |
556 #define MM_ALTIVEC 0x0001 /* standard AltiVec */ | 556 #define MM_ALTIVEC 0x0001 /* standard AltiVec */ |
557 | 557 |
558 extern int mm_flags; | 558 extern int mm_flags; |
559 | 559 |
560 #if defined(HAVE_ALTIVEC) && !defined(__APPLE_CC__) | |
561 #define pixel altivec_pixel | |
562 #include <altivec.h> | |
563 #undef pixel | |
564 #endif | |
565 | |
566 #define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(16, t, v) | 560 #define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(16, t, v) |
567 #define STRIDE_ALIGN 16 | 561 #define STRIDE_ALIGN 16 |
568 | 562 |
569 #elif defined(HAVE_MMI) | 563 #elif defined(HAVE_MMI) |
570 | 564 |