ref: ebbcb67fb77c722cab056a0ce5f0b416646a859b
parent: 26c1ce2d054866e738513ec818d63ad38036e773
author: Martin Storsjö <martin@martin.st>
date: Fri May 15 08:00:49 EDT 2015
Convert tabs to spaces in assignment of SIMD function pointers
--- a/codec/encoder/core/src/get_intra_predictor.cpp
+++ b/codec/encoder/core/src/get_intra_predictor.cpp
@@ -660,9 +660,9 @@
pFuncList->pfGetLumaI16x16Pred[I16_PRED_DC] = WelsI16x16LumaPredDc_neon;
pFuncList->pfGetLumaI16x16Pred[I16_PRED_P] = WelsI16x16LumaPredPlane_neon;
- pFuncList->pfGetChromaPred[C_PRED_DC] = WelsIChromaPredDc_neon;
- pFuncList->pfGetChromaPred[C_PRED_V] = WelsIChromaPredV_neon;
- pFuncList->pfGetChromaPred[C_PRED_P] = WelsIChromaPredPlane_neon;
+ pFuncList->pfGetChromaPred[C_PRED_DC] = WelsIChromaPredDc_neon;
+ pFuncList->pfGetChromaPred[C_PRED_V] = WelsIChromaPredV_neon;
+ pFuncList->pfGetChromaPred[C_PRED_P] = WelsIChromaPredPlane_neon;
pFuncList->pfGetChromaPred[C_PRED_H] = WelsIChromaPredH_neon;
}
#endif
@@ -715,9 +715,9 @@
pFuncList->pfGetLumaI16x16Pred[I16_PRED_DC] = WelsI16x16LumaPredDc_sse2;
pFuncList->pfGetLumaI16x16Pred[I16_PRED_P] = WelsI16x16LumaPredPlane_sse2;
- pFuncList->pfGetChromaPred[C_PRED_DC] = WelsIChromaPredDc_sse2;
- pFuncList->pfGetChromaPred[C_PRED_V] = WelsIChromaPredV_sse2;
- pFuncList->pfGetChromaPred[C_PRED_P] = WelsIChromaPredPlane_sse2;
+ pFuncList->pfGetChromaPred[C_PRED_DC] = WelsIChromaPredDc_sse2;
+ pFuncList->pfGetChromaPred[C_PRED_V] = WelsIChromaPredV_sse2;
+ pFuncList->pfGetChromaPred[C_PRED_P] = WelsIChromaPredPlane_sse2;
}
#endif
}
--- a/test/encoder/EncUT_MemoryZero.cpp
+++ b/test/encoder/EncUT_MemoryZero.cpp
@@ -18,17 +18,17 @@
SWelsFuncPtrList sFuncPtrList;
uint32_t uiCpuFlag = WelsCPUFeatureDetect (&iCpuCores);
/* Functionality utilization of CPU instructions dependency */
- sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZero_c; // confirmed_safe_unsafe_usage
- sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZero_c; // confirmed_safe_unsafe_usage
- sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZero_c; // confirmed_safe_unsafe_usage
+ sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZero_c; // confirmed_safe_unsafe_usage
+ sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZero_c; // confirmed_safe_unsafe_usage
+ sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZero_c; // confirmed_safe_unsafe_usage
#if defined(X86_ASM)
if (uiCpuFlag & WELS_CPU_MMXEXT) {
- sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZeroSize8_mmx; // confirmed_safe_unsafe_usage
- sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZeroSize64_mmx; // confirmed_safe_unsafe_usage
- sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZeroSize64_mmx; // confirmed_safe_unsafe_usage
+ sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZeroSize8_mmx; // confirmed_safe_unsafe_usage
+ sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZeroSize64_mmx; // confirmed_safe_unsafe_usage
+ sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZeroSize64_mmx; // confirmed_safe_unsafe_usage
}
if (uiCpuFlag & WELS_CPU_SSE2) {
- sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZeroAligned64_sse2; // confirmed_safe_unsafe_usage
+ sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZeroAligned64_sse2; // confirmed_safe_unsafe_usage
}
#else
(void) uiCpuFlag; // Avoid warnings if no assembly is enabled
@@ -36,17 +36,17 @@
#if defined(HAVE_NEON)
if (uiCpuFlag & WELS_CPU_NEON) {
- sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZero_neon;
- sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZero_neon;
- sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZero_neon;
+ sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZero_neon;
+ sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZero_neon;
+ sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZero_neon;
}
#endif
#if defined(HAVE_NEON_AARCH64)
if (uiCpuFlag & WELS_CPU_NEON) {
- sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZero_AArch64_neon;
- sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZero_AArch64_neon;
- sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZero_AArch64_neon;
+ sFuncPtrList.pfSetMemZeroSize8 = WelsSetMemZero_AArch64_neon;
+ sFuncPtrList.pfSetMemZeroSize64Aligned16 = WelsSetMemZero_AArch64_neon;
+ sFuncPtrList.pfSetMemZeroSize64 = WelsSetMemZero_AArch64_neon;
}
#endif