Mercurial > libavcodec.hg
diff ppc/gmc_altivec.c @ 5746:55ed6dc5d476 libavcodec
Remove const vector macro indirection that is useless and obfuscating
now that the Metrowerks workarounds are gone.
author | diego |
---|---|
date | Mon, 01 Oct 2007 14:23:36 +0000 |
parents | 41cabe79ba25 |
children | 09f99af1db40 |
line wrap: on
line diff
--- a/ppc/gmc_altivec.c Mon Oct 01 14:16:07 2007 +0000 +++ b/ppc/gmc_altivec.c Mon Oct 01 14:23:36 2007 +0000 @@ -45,8 +45,8 @@ ( x16)*( y16), /* D */ 0, 0, 0, 0 /* padding */ }; - register const_vector unsigned char vczero = (const_vector unsigned char)vec_splat_u8(0); - register const_vector unsigned short vcsr8 = (const_vector unsigned short)vec_splat_u16(8); + register const vector unsigned char vczero = (const vector unsigned char)vec_splat_u8(0); + register const vector unsigned short vcsr8 = (const vector unsigned short)vec_splat_u16(8); register vector unsigned char dstv, dstv2, src_0, src_1, srcvA, srcvB, srcvC, srcvD; register vector unsigned short Av, Bv, Cv, Dv, rounderV, tempA, tempB, tempC, tempD; int i;