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/mc.cpp (1 of 12 files). Show all

Unified · Split

codec/decoder/core/src/mc.cpp+4−2
@@ -971,8 +971,10 @@ void InitMcFunc (SMcFunc* pMcFunc, int32_t iCpu) { · 970 unmodified lines
971971 pMcFunc->pMcChromaFunc = McChroma_c;
972972
973973 #ifdef HAVE_NEON
974− pMcFunc->pMcLumaFunc = McLuma_neon;
975− pMcFunc->pMcChromaFunc = McChroma_neon;
974+ if ( iCpu & WELS_CPU_NEON ) {
975+ pMcFunc->pMcLumaFunc = McLuma_neon;
976+ pMcFunc->pMcChromaFunc = McChroma_neon;
977+ }
976978 #endif
977979
978980 #if defined (X86_ASM)

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