[Scummvm-cvs-logs] SF.net SVN: scummvm: [29302] scummvm/trunk/backends/platform/wince/CEScaler .cpp
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Sun Oct 28 19:09:34 CET 2007
Revision: 29302
http://scummvm.svn.sourceforge.net/scummvm/?rev=29302&view=rev
Author: knakos
Date: 2007-10-28 11:09:34 -0700 (Sun, 28 Oct 2007)
Log Message:
-----------
formatting fixes
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/CEScaler.cpp
Modified: scummvm/trunk/backends/platform/wince/CEScaler.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEScaler.cpp 2007-10-28 18:04:32 UTC (rev 29301)
+++ scummvm/trunk/backends/platform/wince/CEScaler.cpp 2007-10-28 18:09:34 UTC (rev 29302)
@@ -129,22 +129,22 @@
#ifdef ARM
extern "C" {
- void PocketPCHalfARM(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int mask, int round);
- // Rounding constants and masks used for different pixel formats
- int roundingconstants[] = { 0x00200802, 0x00201002 };
- int redbluegreenMasks[] = { 0x03E07C1F, 0x07E0F81F };
+ void PocketPCHalfARM(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int mask, int round);
+ // Rounding constants and masks used for different pixel formats
+ int roundingconstants[] = { 0x00200802, 0x00201002 };
+ int redbluegreenMasks[] = { 0x03E07C1F, 0x07E0F81F };
}
#endif
void PocketPCHalf(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
#ifdef ARM
- PocketPCHalfARM(srcPtr, srcPitch, dstPtr, dstPitch, width, height, redbluegreenMasks[maskUsed],roundingconstants[maskUsed]);
+ PocketPCHalfARM(srcPtr, srcPitch, dstPtr, dstPitch, width, height, redbluegreenMasks[maskUsed],roundingconstants[maskUsed]);
#else
uint8 *work;
int i;
uint16 srcPitch16 = (uint16)(srcPitch / sizeof(uint16));
- while ((height-=2) >= 0) {
+ while ((height -= 2) >= 0) {
i = 0;
work = dstPtr;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list