History

Add support for loongson platform

Add optimized file codec/commom/mips64/deblock_mmi.c and corresponding unit tests for loongson platform

gxw committed 8 years ago

Commit 4390f831 parent e99809211 files · +3279 −1Browse files

Showing the changes to codec/common/src/cpu.cpp (1 of 11 files). Show all

Unified · Split

codec/common/src/cpu.cpp+11−1
@@ -307,7 +307,17 @@ uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) { · 306 unmodified lines
307 WELS_CPU_NEON;307 WELS_CPU_NEON;
308}308}
309 309
310#else /* Neither X86_ASM, HAVE_NEON nor HAVE_NEON_AARCH64 */310#elif defined(mips)
311/* for loongson */
312uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) {
313#if defined(HAVE_MMI)
314 return WELS_CPU_MMI;
315#else
316 return 0;
317#endif
318}
319
320#else /* Neither X86_ASM, HAVE_NEON, HAVE_NEON_AARCH64 nor mips */
311 321
312uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) {322uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) {
313 return 0;323 return 0;

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