Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Dolbeau <dolbeau@irisa.fr>2003-01-27 01:29:47 +0300
committerFabrice Bellard <fabrice@bellard.org>2003-01-27 01:29:47 +0300
commit3b991c54ebf9eb6dc17939576fef9662cae1c16c (patch)
tree472bbe327c6539bccf39d791ab4e9945b94e4b53 /libavcodec/ppc/gmc_altivec.c
parenta48835b9fe2d5606a8f0ab56b905047b2a17e42c (diff)
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.c4
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;