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

Unified · Split

codec/common/src/deblocking_common.cpp+19−0
@@ -274,3 +274,22 @@ extern "C" { · 273 unmodified lines
274274
275275 #endif
276276
277+#ifdef HAVE_MMI
278+extern "C" {
279+ void DeblockLumaLt4H_mmi (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc) {
280+ ENFORCE_STACK_ALIGN_1D (uint8_t, uiBuf, 16 * 8, 16);
281+
282+ DeblockLumaTransposeH2V_mmi (pPixY - 4, iStride, &uiBuf[0]);
283+ DeblockLumaLt4V_mmi (&uiBuf[4 * 16], 16, iAlpha, iBeta, pTc);
284+ DeblockLumaTransposeV2H_mmi (pPixY - 4, iStride, &uiBuf[0]);
285+ }
286+
287+ void DeblockLumaEq4H_mmi (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta) {
288+ ENFORCE_STACK_ALIGN_1D (uint8_t, uiBuf, 16 * 8, 16);
289+
290+ DeblockLumaTransposeH2V_mmi (pPixY - 4, iStride, &uiBuf[0]);
291+ DeblockLumaEq4V_mmi (&uiBuf[4 * 16], 16, iAlpha, iBeta);
292+ DeblockLumaTransposeV2H_mmi (pPixY - 4, iStride, &uiBuf[0]);
293+ }
294+}
295+#endif//HAVE_MMI

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