diff options
author | Paweł Kołodziejski | 2003-11-08 22:43:46 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-11-08 22:43:46 +0000 |
commit | b5a7ef0822d336958682b3f9b8b1c4fc0d28af3c (patch) | |
tree | 664e98a759f8c7e821c9a33b8c17f27eb295d4a3 /common/scaler | |
parent | bd972c97e57234dadd830fef118139c0bf9c71e4 (diff) | |
download | scummvm-rg350-b5a7ef0822d336958682b3f9b8b1c4fc0d28af3c.tar.gz scummvm-rg350-b5a7ef0822d336958682b3f9b8b1c4fc0d28af3c.tar.bz2 scummvm-rg350-b5a7ef0822d336958682b3f9b8b1c4fc0d28af3c.zip |
cleanup whitespaces
svn-id: r11219
Diffstat (limited to 'common/scaler')
-rw-r--r-- | common/scaler/hq2x.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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<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 @@ 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); |