Mercurial > libavcodec.hg
comparison ppc/mpegvideo_altivec.c @ 1277:f3152eb76f1a libavcodec
altivec gcc-3 fixes by (Magnus Damm <damm at opensource dot se>)
author | michaelni |
---|---|
date | Wed, 21 May 2003 17:50:57 +0000 |
parents | 28f0e53706a7 |
children | e8ff4783f188 |
comparison
equal
deleted
inserted
replaced
1276:d5719a953ee0 | 1277:f3152eb76f1a |
---|---|
13 * | 13 * |
14 * You should have received a copy of the GNU Lesser General Public | 14 * You should have received a copy of the GNU Lesser General Public |
15 * License along with this library; if not, write to the Free Software | 15 * License along with this library; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 */ | 17 */ |
18 | 18 |
19 #include <stdlib.h> | 19 #include <stdlib.h> |
20 #include <stdio.h> | 20 #include <stdio.h> |
21 #include "../dsputil.h" | 21 #include "../dsputil.h" |
22 #include "../mpegvideo.h" | 22 #include "../mpegvideo.h" |
23 | |
24 #include "gcc_fixes.h" | |
25 | |
23 #include "dsputil_altivec.h" | 26 #include "dsputil_altivec.h" |
24 | 27 |
25 // Swaps two variables (used for altivec registers) | 28 // Swaps two variables (used for altivec registers) |
26 #define SWAP(a,b) \ | 29 #define SWAP(a,b) \ |
27 do { \ | 30 do { \ |