Remove unnecessary double spaces and tabs in ifdef directives

This commit is contained in:
Martin Storsjö 2015-04-27 15:35:56 +03:00
parent baf93a340e
commit f324c354b1
20 changed files with 26 additions and 26 deletions

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"
.macro LOAD_ALIGNED_DATA_WITH_STRIDE arg0, arg1, arg2, arg3, arg4, arg5 .macro LOAD_ALIGNED_DATA_WITH_STRIDE arg0, arg1, arg2, arg3, arg4, arg5

View File

@ -31,7 +31,7 @@
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"
WELS_ASM_FUNC_BEGIN WelsI16x16LumaPredV_neon WELS_ASM_FUNC_BEGIN WelsI16x16LumaPredV_neon

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"
.macro AVERAGE_TWO_8BITS arg0, arg1, arg2 .macro AVERAGE_TWO_8BITS arg0, arg1, arg2

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
#include "arm_arch64_common_macro.S" #include "arm_arch64_common_macro.S"
.macro LOAD_ALIGNED_DATA_WITH_STRIDE arg0, arg1, arg2, arg3, arg4, arg5 .macro LOAD_ALIGNED_DATA_WITH_STRIDE arg0, arg1, arg2, arg3, arg4, arg5

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
#include "arm_arch64_common_macro.S" #include "arm_arch64_common_macro.S"
//for Luma 16x16 //for Luma 16x16

View File

@ -56,9 +56,9 @@
#include "macros.h" #include "macros.h"
#include "crt_util_safe_x.h" // Safe CRT routines like utils for cross platforms #include "crt_util_safe_x.h" // Safe CRT routines like utils for cross platforms
#if defined(_WIN32) && defined(_MSC_VER) #if defined(_WIN32) && defined(_MSC_VER)
#if defined(_MSC_VER) && (_MSC_VER>=1500) #if defined(_MSC_VER) && (_MSC_VER>=1500)
int32_t WelsSnprintf (char* pBuffer, int32_t iSizeOfBuffer, const char* kpFormat, ...) { int32_t WelsSnprintf (char* pBuffer, int32_t iSizeOfBuffer, const char* kpFormat, ...) {
va_list pArgPtr; va_list pArgPtr;

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
//Global macro //Global macro
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"

View File

@ -2005,7 +2005,7 @@ void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) {
pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_c; pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_c;
pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_c; pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_c;
#ifdef HAVE_NEON #ifdef HAVE_NEON
if (iCpu & WELS_CPU_NEON) { if (iCpu & WELS_CPU_NEON) {
pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_neon; pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_neon;
pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_neon; pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_neon;
@ -2013,7 +2013,7 @@ void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) {
} }
#endif #endif
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
if (iCpu & WELS_CPU_NEON) { if (iCpu & WELS_CPU_NEON) {
pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_AArch64_neon; pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_AArch64_neon;
pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_AArch64_neon; pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_AArch64_neon;

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"
.macro LOAD_4x4_DATA_FOR_DCT arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 .macro LOAD_4x4_DATA_FOR_DCT arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
#include "arm_arch64_common_macro.S" #include "arm_arch64_common_macro.S"

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
#include "arm_arch64_common_macro.S" #include "arm_arch64_common_macro.S"
.macro ZERO_COUNT_IN_2_QUARWORD arg0, arg1, arg2 .macro ZERO_COUNT_IN_2_QUARWORD arg0, arg1, arg2

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
#include "arm_arch64_common_macro.S" #include "arm_arch64_common_macro.S"
WELS_ASM_AARCH64_FUNC_BEGIN SumOf8x8SingleBlock_AArch64_neon WELS_ASM_AARCH64_FUNC_BEGIN SumOf8x8SingleBlock_AArch64_neon

View File

@ -70,7 +70,7 @@ void WelsIDctRecI16x16Dc_sse2 (uint8_t* pRec, int32_t iStride, uint8_t* pPredict
int16_t* pDctDc); int16_t* pDctDc);
#endif//X86_ASM #endif//X86_ASM
#ifdef HAVE_NEON #ifdef HAVE_NEON
void WelsDequantFour4x4_neon (int16_t* pDct, const uint16_t* kpMF); void WelsDequantFour4x4_neon (int16_t* pDct, const uint16_t* kpMF);
void WelsDequant4x4_neon (int16_t* pDct, const uint16_t* kpMF); void WelsDequant4x4_neon (int16_t* pDct, const uint16_t* kpMF);
void WelsDequantIHadamard4x4_neon (int16_t* pRes, const uint16_t kuiMF); void WelsDequantIHadamard4x4_neon (int16_t* pRes, const uint16_t kuiMF);
@ -81,7 +81,7 @@ void WelsIDctRecI16x16Dc_neon (uint8_t* pRec, int32_t iStride, uint8_t* pPredict
int16_t* pDctDc); int16_t* pDctDc);
#endif #endif
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
void WelsDequantFour4x4_AArch64_neon (int16_t* pDct, const uint16_t* kpMF); void WelsDequantFour4x4_AArch64_neon (int16_t* pDct, const uint16_t* kpMF);
void WelsDequant4x4_AArch64_neon (int16_t* pDct, const uint16_t* kpMF); void WelsDequant4x4_AArch64_neon (int16_t* pDct, const uint16_t* kpMF);
void WelsDequantIHadamard4x4_AArch64_neon (int16_t* pRes, const uint16_t kuiMF); void WelsDequantIHadamard4x4_AArch64_neon (int16_t* pRes, const uint16_t kuiMF);

View File

@ -105,7 +105,7 @@ void WelsQuantFour4x4Max_sse2 (int16_t* pDct, const int16_t* pFF, const int16_t*
#endif #endif
#ifdef HAVE_NEON #ifdef HAVE_NEON
void WelsHadamardT4Dc_neon (int16_t* pLumaDc, int16_t* pDct); void WelsHadamardT4Dc_neon (int16_t* pLumaDc, int16_t* pDct);
int32_t WelsHadamardQuant2x2_neon (int16_t* pRes, const int16_t kiFF, int16_t iMF, int16_t* pDct, int16_t* pBlock); int32_t WelsHadamardQuant2x2_neon (int16_t* pRes, const int16_t kiFF, int16_t iMF, int16_t* pDct, int16_t* pBlock);
int32_t WelsHadamardQuant2x2Skip_neon (int16_t* pRes, int16_t iFF, int16_t iMF); int32_t WelsHadamardQuant2x2Skip_neon (int16_t* pRes, int16_t iFF, int16_t iMF);
@ -122,7 +122,7 @@ void WelsQuantFour4x4_neon (int16_t* pDct, const int16_t* pFF, const int16_t* pM
void WelsQuantFour4x4Max_neon (int16_t* pDct, const int16_t* pFF, const int16_t* pMF, int16_t* pMax); void WelsQuantFour4x4Max_neon (int16_t* pDct, const int16_t* pFF, const int16_t* pMF, int16_t* pMax);
#endif #endif
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
void WelsHadamardT4Dc_AArch64_neon (int16_t* pLumaDc, int16_t* pDct); void WelsHadamardT4Dc_AArch64_neon (int16_t* pLumaDc, int16_t* pDct);
int32_t WelsHadamardQuant2x2_AArch64_neon (int16_t* pRes, const int16_t kiFF, int16_t iMF, int16_t* pDct, int16_t* pBlock); int32_t WelsHadamardQuant2x2_AArch64_neon (int16_t* pRes, const int16_t kiFF, int16_t iMF, int16_t* pDct, int16_t* pBlock);
int32_t WelsHadamardQuant2x2Skip_AArch64_neon (int16_t* pRes, int16_t iFF, int16_t iMF); int32_t WelsHadamardQuant2x2Skip_AArch64_neon (int16_t* pRes, int16_t iFF, int16_t iMF);

View File

@ -776,12 +776,12 @@ void PerformDeblockingFilter (sWelsEncCtx* pEnc) {
void WelsBlockFuncInit (PSetNoneZeroCountZeroFunc* pfSetNZCZero, int32_t iCpu) { void WelsBlockFuncInit (PSetNoneZeroCountZeroFunc* pfSetNZCZero, int32_t iCpu) {
*pfSetNZCZero = WelsNonZeroCount_c; *pfSetNZCZero = WelsNonZeroCount_c;
#ifdef HAVE_NEON #ifdef HAVE_NEON
if (iCpu & WELS_CPU_NEON) { if (iCpu & WELS_CPU_NEON) {
*pfSetNZCZero = WelsNonZeroCount_neon; *pfSetNZCZero = WelsNonZeroCount_neon;
} }
#endif #endif
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
if (iCpu & WELS_CPU_NEON) { if (iCpu & WELS_CPU_NEON) {
*pfSetNZCZero = WelsNonZeroCount_AArch64_neon; *pfSetNZCZero = WelsNonZeroCount_AArch64_neon;
} }

View File

@ -449,13 +449,13 @@ int32_t WelsGetNoneZeroCount_c (int16_t* pLevel) {
return (16 - iCnt); return (16 - iCnt);
} }
#ifdef HAVE_NEON #ifdef HAVE_NEON
int32_t WelsHadamardQuant2x2Skip_neon (int16_t* pRes, int16_t iFF, int16_t iMF) { int32_t WelsHadamardQuant2x2Skip_neon (int16_t* pRes, int16_t iFF, int16_t iMF) {
int16_t iThreshold = ((1 << 16) - 1) / iMF - iFF; int16_t iThreshold = ((1 << 16) - 1) / iMF - iFF;
return WelsHadamardQuant2x2SkipKernel_neon (pRes, iThreshold); return WelsHadamardQuant2x2SkipKernel_neon (pRes, iThreshold);
} }
#endif #endif
#ifdef HAVE_NEON_AARCH64 #ifdef HAVE_NEON_AARCH64
int32_t WelsHadamardQuant2x2Skip_AArch64_neon (int16_t* pRes, int16_t iFF, int16_t iMF) { int32_t WelsHadamardQuant2x2Skip_AArch64_neon (int16_t* pRes, int16_t iFF, int16_t iMF) {
int16_t iThreshold = ((1 << 16) - 1) / iMF - iFF; int16_t iThreshold = ((1 << 16) - 1) / iMF - iFF;
return WelsHadamardQuant2x2SkipKernel_AArch64_neon (pRes, iThreshold); return WelsHadamardQuant2x2SkipKernel_AArch64_neon (pRes, iThreshold);

View File

@ -30,7 +30,7 @@
* *
*/ */
#ifdef HAVE_NEON #ifdef HAVE_NEON
#include "arm_arch_common_macro.S" #include "arm_arch_common_macro.S"