[Scummvm-cvs-logs] CVS: scummvm/common/scaler hq2x.cpp,1.7,1.8

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Nov 8 14:44:18 CET 2003


Update of /cvsroot/scummvm/scummvm/common/scaler
In directory sc8-pr-cvs1:/tmp/cvs-serv30131/scaler

Modified Files:
	hq2x.cpp 
Log Message:
cleanup whitespaces

Index: hq2x.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler/hq2x.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- hq2x.cpp	2 Oct 2003 23:29:58 -0000	1.7
+++ hq2x.cpp	8 Nov 2003 22:43:46 -0000	1.8
@@ -83,8 +83,8 @@
  */
 template<int bitFormat>
 void HQ2xTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
-	register int  w1, w2, w3, w4, w5, w6, w7, w8, w9;
-  
+	register int w1, w2, w3, w4, w5, w6, w7, w8, w9;
+
 	const uint32 nextlineSrc = srcPitch / sizeof(uint16);
 	const uint16 *p = (const uint16 *)srcPtr;
 
@@ -116,10 +116,10 @@
 
 	// The YUV threshold.
 	static const vector unsigned char vThreshold = (vector unsigned char)((vector unsigned int)0x00300706);
-	
+
 	// Bit pattern mask.
-	static const vector signed int vPatternMask1 = (vector signed int)(0x01,0x02,0x04,0x08);
-	static const vector signed int vPatternMask2 = (vector signed int)(0x10,0x20,0x40,0x80);
+	static const vector signed int vPatternMask1 = (vector signed int)(0x01, 0x02, 0x04, 0x08);
+	static const vector signed int vPatternMask2 = (vector signed int)(0x10, 0x20, 0x40, 0x80);
 
 	// Permutation masks for the incremental vector loading (see below for more information).
 	static const vector unsigned char vPermuteToV1234 = (vector unsigned char)( 4, 5, 6, 7,  8,9,10,11,  20,21,22,23,  16,17,18,19);





More information about the Scummvm-git-logs mailing list