diff options
author | Romain Dolbeau <dolbeau@irisa.fr> | 2003-01-26 22:29:47 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-26 22:29:47 +0000 |
commit | 3b991c54ebf9eb6dc17939576fef9662cae1c16c (patch) | |
tree | 472bbe327c6539bccf39d791ab4e9945b94e4b53 /libavcodec/ppc/gmc_altivec.c | |
parent | a48835b9fe2d5606a8f0ab56b905047b2a17e42c (diff) | |
download | ffmpeg-3b991c54ebf9eb6dc17939576fef9662cae1c16c.tar.gz |
Altivec on non darwin systems patch by Romain Dolbeau
Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/gmc_altivec.c')
-rw-r--r-- | libavcodec/ppc/gmc_altivec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/gmc_altivec.c b/libavcodec/ppc/gmc_altivec.c index 810a237fe7..82d26c6363 100644 --- a/libavcodec/ppc/gmc_altivec.c +++ b/libavcodec/ppc/gmc_altivec.c @@ -66,8 +66,8 @@ POWERPC_TBL_STOP_COUNT(altivec_gmc1_num, h == 8); ( x16)*( y16), /* D */ 0, 0, 0, 0 /* padding */ }; - register const vector unsigned char vczero = (const vector unsigned char)(0); - register const vector unsigned short vcsr8 = (const vector unsigned short)(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; |