From 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 30 Jul 2005 21:11:48 +0000 Subject: Remove trailing whitespaces. svn-id: r18604 --- common/scaler/hq2x.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'common/scaler/hq2x.cpp') diff --git a/common/scaler/hq2x.cpp b/common/scaler/hq2x.cpp index fd6d2eb094..5f1eab6ec8 100644 --- a/common/scaler/hq2x.cpp +++ b/common/scaler/hq2x.cpp @@ -56,16 +56,16 @@ static bool isAltiVecAvailable() { } #else -#include +#include static bool isAltiVecAvailable() { - int selectors[2] = { CTL_HW, HW_VECTORUNIT }; - int hasVectorUnit = 0; - size_t length = sizeof(hasVectorUnit); - int error = sysctl(selectors, 2, &hasVectorUnit, &length, NULL, 0); + int selectors[2] = { CTL_HW, HW_VECTORUNIT }; + int hasVectorUnit = 0; + size_t length = sizeof(hasVectorUnit); + int error = sysctl(selectors, 2, &hasVectorUnit, &length, NULL, 0); if ( 0 == error ) - return hasVectorUnit != 0; - return false; + return hasVectorUnit != 0; + return false; } #endif #endif @@ -140,7 +140,7 @@ void HQ2x_555(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit #ifdef HAS_ALTIVEC #define USE_ALTIVEC 1 - + #define bitFormat 565 void HQ2x_565_Altivec(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) { #include "common/scaler/hq2x.h" -- cgit v1.2.3