History

Remove deblocking arm asm code to common folder, add cpu detect for arm, clean some code.

Licai Guo committed 12 years ago

Commit b7a25df1 parent 0fd9db212 files · +127 −801Browse 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+5−3
@@ -1150,9 +1150,11 @@ void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) { · 1149 unmodified lines
11501150 #endif
11511151
11521152 #ifdef HAVE_NEON
1153− pFunc->pWelsBlockZero16x16Func = WelsResBlockZero16x16_neon;
1154− pFunc->pWelsBlockZero8x8Func = WelsResBlockZero8x8_neon;
1155− pFunc->pWelsSetNonZeroCountFunc = SetNonZeroCount_neon;
1153+ if ( iCpu & WELS_CPU_NEON ) {
1154+ pFunc->pWelsBlockZero16x16Func = WelsResBlockZero16x16_neon;
1155+ pFunc->pWelsBlockZero8x8Func = WelsResBlockZero8x8_neon;
1156+ pFunc->pWelsSetNonZeroCountFunc = SetNonZeroCount_neon;
1157+ }
11561158 #endif
11571159 }
11581160 void WelsBlockZero16x16_c (int16_t* pBlock, int32_t iStride) {

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