History

Convert tabs to spaces in assignment of SIMD function pointers

Martin Storsjö committed 11 years ago

Commit 0ca7ff41 parent 95ac72712 files · +245 −245Browse files

Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 12 files). Show all

Unified · Split

codec/decoder/core/src/decode_slice.cpp+12−12
@@ -2001,31 +2001,31 @@ int32_t WelsDecodeMbCavlcPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 2000 unmodified lines
2001}2001}
2002 2002
2003void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) {2003void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) {
2004 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_c;2004 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_c;
2005 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_c;2005 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_c;
2006 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_c;2006 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_c;
2007 2007
2008#ifdef HAVE_NEON2008#ifdef HAVE_NEON
2009 if (iCpu & WELS_CPU_NEON) {2009 if (iCpu & WELS_CPU_NEON) {
2010 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_neon;2010 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_neon;
2011 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_neon;2011 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_neon;
2012 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_neon;2012 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_neon;
2013 }2013 }
2014#endif2014#endif
2015 2015
2016#ifdef HAVE_NEON_AARCH642016#ifdef HAVE_NEON_AARCH64
2017 if (iCpu & WELS_CPU_NEON) {2017 if (iCpu & WELS_CPU_NEON) {
2018 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_AArch64_neon;2018 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_AArch64_neon;
2019 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_AArch64_neon;2019 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_AArch64_neon;
2020 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_AArch64_neon;2020 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_AArch64_neon;
2021 }2021 }
2022#endif2022#endif
2023 2023
2024#if defined(X86_ASM)2024#if defined(X86_ASM)
2025 if (iCpu & WELS_CPU_SSE2) {2025 if (iCpu & WELS_CPU_SSE2) {
2026 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_sse2;2026 pFunc->pWelsSetNonZeroCountFunc = WelsNonZeroCount_sse2;
2027 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_sse2;2027 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_sse2;
2028 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_sse2;2028 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_sse2;
2029 }2029 }
2030#endif2030#endif
2031 2031

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t