Mercurial > libavcodec.hg
comparison ppc/h264_altivec.c @ 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 | f065fc609145 |
children | 8baa533764d4 |
comparison
equal
deleted
inserted
replaced
5749:784dcbdc910f | 5750:09f99af1db40 |
---|---|
20 | 20 |
21 #include "dsputil.h" | 21 #include "dsputil.h" |
22 | 22 |
23 #include "gcc_fixes.h" | 23 #include "gcc_fixes.h" |
24 | 24 |
25 #include "dsputil_altivec.h" | 25 #include "dsputil_ppc.h" |
26 #include "util_altivec.h" | |
26 #include "types_altivec.h" | 27 #include "types_altivec.h" |
27 | 28 |
28 #define PUT_OP_U8_ALTIVEC(d, s, dst) d = s | 29 #define PUT_OP_U8_ALTIVEC(d, s, dst) d = s |
29 #define AVG_OP_U8_ALTIVEC(d, s, dst) d = vec_avg(dst, s) | 30 #define AVG_OP_U8_ALTIVEC(d, s, dst) d = vec_avg(dst, s) |
30 | 31 |