Mercurial > libavcodec.hg
comparison ppc/mathops.h @ 10077:5bf12cdf0cb6 libavcodec
Include required headers in {mips,ppc}/mathops.h
| author | mru |
|---|---|
| date | Sun, 23 Aug 2009 11:02:41 +0000 |
| parents | d762f9979193 |
| children | 25136467a218 |
comparison
equal
deleted
inserted
replaced
| 10076:31bc25e9c9ee | 10077:5bf12cdf0cb6 |
|---|---|
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #ifndef AVCODEC_PPC_MATHOPS_H | 23 #ifndef AVCODEC_PPC_MATHOPS_H |
| 24 #define AVCODEC_PPC_MATHOPS_H | 24 #define AVCODEC_PPC_MATHOPS_H |
| 25 | 25 |
| 26 #include "config.h" | 26 #include <stdint.h> |
| 27 #include "libavutil/common.h" | |
| 27 | 28 |
| 28 #if HAVE_PPC4XX | 29 #if HAVE_PPC4XX |
| 29 /* signed 16x16 -> 32 multiply add accumulate */ | 30 /* signed 16x16 -> 32 multiply add accumulate */ |
| 30 #define MAC16(rt, ra, rb) \ | 31 #define MAC16(rt, ra, rb) \ |
| 31 __asm__ ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb)); | 32 __asm__ ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb)); |
