[MPlayer-cvslog] r20012 - in trunk/libswscale: swscale_altivec_template.c yuv2rgb_altivec.c

diego subversion at mplayerhq.hu
Sun Oct 1 16:17:45 CEST 2006


Author: diego
Date: Sun Oct  1 16:17:45 2006
New Revision: 20012

Modified:
   trunk/libswscale/swscale_altivec_template.c
   trunk/libswscale/yuv2rgb_altivec.c

Log:
Remove unused variables.


Modified: trunk/libswscale/swscale_altivec_template.c
==============================================================================
--- trunk/libswscale/swscale_altivec_template.c	(original)
+++ trunk/libswscale/swscale_altivec_template.c	Sun Oct  1 16:17:45 2006
@@ -231,7 +231,6 @@
   case 4:
     {
       for(i=0; i<dstW; i++) {
-	register int j;
 	register int srcPos = filterPos[i];
 
 	vector unsigned char src_v0 = vec_ld(srcPos, src);

Modified: trunk/libswscale/yuv2rgb_altivec.c
==============================================================================
--- trunk/libswscale/yuv2rgb_altivec.c	(original)
+++ trunk/libswscale/yuv2rgb_altivec.c	Sun Oct  1 16:17:45 2006
@@ -625,7 +625,6 @@
   int i,j;
   vector unsigned char uyvy;
   vector signed   short Y,U,V;
-  vector signed   short vx,ux,uvx;
   vector signed   short R0,G0,B0,R1,G1,B1;
   vector unsigned char  R,G,B;
   vector unsigned char *out;
@@ -790,11 +789,10 @@
 		       uint8_t *dest, int dstW, int dstY)
 {
   int i,j;
-  short *f;
   vector signed short X,X0,X1,Y0,U0,V0,Y1,U1,V1,U,V;
   vector signed short R0,G0,B0,R1,G1,B1;
 
-  vector unsigned char R,G,B,pels[3];
+  vector unsigned char R,G,B;
   vector unsigned char *out,*nout;
 
   vector signed short   RND = vec_splat_s16(1<<3);



More information about the MPlayer-cvslog mailing list