Author: leonardo
Date: 2008-03-03 12:16:06 -0800 (Mon, 03 Mar 2008)
New Revision: 8586

Modified:
   trunk/gs/src/siscale.c
Log:
Fix (images) : Revert an unintentional change to siscale.c .

DETAILS :

When doing the revisoon 8530, a macro was expanded in siscale.c 
for a debug purpose. This change was committed by error,
reverting it now.

EXPECTED DIFFERENCES :

None.      


Modified: trunk/gs/src/siscale.c
===================================================================
--- trunk/gs/src/siscale.c	2008-03-03 16:01:12 UTC (rev 8585)
+++ trunk/gs/src/siscale.c	2008-03-03 20:16:06 UTC (rev 8586)
@@ -376,21 +376,7 @@
     if (sizeofPixelOut == 1) {
 	zoom_y_loop(byte)
     } else {			/* sizeofPixelOut == 2 */
-	/* zoom_y_loop(bits16) */
-	for ( kc = 0; kc < kn; ++kc ) {
-		AccumTmp weight = 0;
-		{ const PixelTmp *pp = &tmp[kc + first_pixel];
-		  int j = cn;
-		  const CONTRIB *cp = cbp;
-		  for ( ; j > 0; pp += kn, ++cp, --j )
-		    weight += *pp * cp->weight;
-		}
-		{ PixelTmp2 pixel = unscale_AccumTmp(weight, fraction_bits);
-		  if_debug1('W', " %lx", (long)pixel);
-		  ((bits16 *)dst)[kc] =
-		    (bits16)CLAMP(pixel, 0, max_weight);
-		}
-	}
+	zoom_y_loop(bits16)
     }
     if_debug0('W', "\n");
 }

_______________________________________________
gs-cvs mailing list
gs-cvs@ghostscript.com
http://www.ghostscript.com/mailman/listinfo/gs-cvs
