From b5a7ef0822d336958682b3f9b8b1c4fc0d28af3c Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 8 Nov 2003 22:43:46 +0000 Subject: cleanup whitespaces svn-id: r11219 --- common/scaler/hq2x.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/scaler/hq2x.cpp') diff --git a/common/scaler/hq2x.cpp b/common/scaler/hq2x.cpp index 462729804c..55fe0b83ad 100644 --- a/common/scaler/hq2x.cpp +++ b/common/scaler/hq2x.cpp @@ -83,8 +83,8 @@ */ template 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 @@ void HQ2xTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 ds // 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); -- cgit v1.2.3