History

codec/common: [MIPS] Add msa deblock and copy_mb optimization.

Add following msa optimization files: 1. codec/common/mips/copy_mb_msa.c 2. codec/common/mips/deblock_msa.c

gxw committed 6 years ago

Commit 60c7e831 parent 482387b13 files · +3592 −3Browse files

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

Unified · Split

codec/decoder/core/src/deblocking.cpp+13−0
@@ -1503,6 +1503,19 @@ void DeblockingInit (SDeblockingFunc* pFunc, int32_t iCpu) { · 1502 unmodified lines
15031503 pFunc->pfChromaDeblockingEQ4Hor = DeblockChromaEq4H_mmi;
15041504 }
15051505 #endif//HAVE_MMI
1506+
1507+#if defined(HAVE_MSA)
1508+ if (iCpu & WELS_CPU_MSA) {
1509+ pFunc->pfLumaDeblockingLT4Ver = DeblockLumaLt4V_msa;
1510+ pFunc->pfLumaDeblockingEQ4Ver = DeblockLumaEq4V_msa;
1511+ pFunc->pfLumaDeblockingLT4Hor = DeblockLumaLt4H_msa;
1512+ pFunc->pfLumaDeblockingEQ4Hor = DeblockLumaEq4H_msa;
1513+ pFunc->pfChromaDeblockingLT4Ver = DeblockChromaLt4V_msa;
1514+ pFunc->pfChromaDeblockingEQ4Ver = DeblockChromaEq4V_msa;
1515+ pFunc->pfChromaDeblockingLT4Hor = DeblockChromaLt4H_msa;
1516+ pFunc->pfChromaDeblockingEQ4Hor = DeblockChromaEq4H_msa;
1517+ }
1518+#endif//HAVE_MSA
15061519 }
15071520
15081521 } // namespace WelsDec

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