History

Add asm code for decoder cabac

zhiliang wang committed 11 years ago

Commit 92bc88e1 parent 9da19755 files · +82 −1Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+11−1
@@ -1644,15 +1644,25 @@ void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) { · 1643 unmodified lines
16441644 //TO DO add neon and X86
16451645 #ifdef HAVE_NEON
16461646 if (iCpu & WELS_CPU_NEON) {
1647−
1647+ pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_neon;
1648+ pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_neon;
16481649 }
16491650 #endif
16501651
16511652 #ifdef HAVE_NEON_AARCH64
16521653 if (iCpu & WELS_CPU_NEON) {
1654+ pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_AArch64_neon;
1655+ pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_AArch64_neon;
1656+ }
1657+#endif
16531658
1659+#if defined(X86_ASM)
1660+ if (iCpu & WELS_CPU_SSE2) {
1661+ pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_sse2;
1662+ pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_sse2;
16541663 }
16551664 #endif
1665+
16561666 }
16571667
16581668 void SetNonZeroCount_c (int8_t* pNonZeroCount) {

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