[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/ppc dsputil_snow_altivec.c, 1.2, 1.3
Luca Barbato CVS
lu_zero
Fri Mar 31 11:59:55 CEST 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec/ppc
In directory mail:/var2/tmp/cvs-serv30351/libavcodec/ppc
Modified Files:
dsputil_snow_altivec.c
Log Message:
Proper typecast for vector bool
Index: dsputil_snow_altivec.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/ppc/dsputil_snow_altivec.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dsputil_snow_altivec.c 29 Mar 2006 18:42:50 -0000 1.2
+++ dsputil_snow_altivec.c 31 Mar 2006 09:59:53 -0000 1.3
@@ -556,12 +556,14 @@
vec_splat_u32(7))),
vec_splat_u32(8));
- mask = vec_sl((vector signed int) vec_cmpeq(v[x],v[x]),
+ mask = (vector bool int)
+ vec_sl((vector signed int) vec_cmpeq(v[x],v[x]),
vec_splat_u32(8));
- mask = vec_and(v[x],vec_nor(mask,mask));
+ mask = (vector bool int)
+ vec_and(v[x],vec_nor(mask,mask));
- mask = (vector signed int) vec_cmpeq((vector signed int)mask,
- (vector signed int)vec_splat_u32(0));
+ mask = (vector bool int)
+ vec_cmpeq((vector signed int)mask, vec_splat_s32(0));
vs = vec_sra(v[x],vec_splat_u32(8));
vs = vec_sra(v[x],vec_splat_u32(8));
More information about the ffmpeg-cvslog
mailing list