[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
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/common config-manager.cpp,1.11,1.12 map.h,1.19,1.20 rect.h,1.14,1.15 savefile.cpp,1.4,1.5 scaler.cpp,1.52,1.53 scaler.h,1.20,1.21 scummsys.h,1.39,1.40 str.cpp,1.26,1.27 str.h,1.17,1.18 system.h,1.47,1.48 timer.cpp,1.23,1.24 timer.h,1.14,1.15 util.cpp,1.24,1.25 util.h,1.30,1.31
- Next message: [Scummvm-cvs-logs] CVS: scummvm/backends/fs fs.h,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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);
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/common config-manager.cpp,1.11,1.12 map.h,1.19,1.20 rect.h,1.14,1.15 savefile.cpp,1.4,1.5 scaler.cpp,1.52,1.53 scaler.h,1.20,1.21 scummsys.h,1.39,1.40 str.cpp,1.26,1.27 str.h,1.17,1.18 system.h,1.47,1.48 timer.cpp,1.23,1.24 timer.h,1.14,1.15 util.cpp,1.24,1.25 util.h,1.30,1.31
- Next message: [Scummvm-cvs-logs] CVS: scummvm/backends/fs fs.h,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list