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
1644 //TO DO add neon and X861644 //TO DO add neon and X86
1645#ifdef HAVE_NEON1645#ifdef HAVE_NEON
1646 if (iCpu & WELS_CPU_NEON) {1646 if (iCpu & WELS_CPU_NEON) {
1647 1647 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_neon;
1648 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_neon;
1648 }1649 }
1649#endif1650#endif
1650 1651
1651#ifdef HAVE_NEON_AARCH641652#ifdef HAVE_NEON_AARCH64
1652 if (iCpu & WELS_CPU_NEON) {1653 if (iCpu & WELS_CPU_NEON) {
1654 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_AArch64_neon;
1655 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_AArch64_neon;
1656 }
1657#endif
1653 1658
1659#if defined(X86_ASM)
1660 if (iCpu & WELS_CPU_SSE2) {
1661 pFunc->pWelsBlockZero16x16Func = WelsBlockZero16x16_sse2;
1662 pFunc->pWelsBlockZero8x8Func = WelsBlockZero8x8_sse2;
1654 }1663 }
1655#endif1664#endif
1665
1656}1666}
1657 1667
1658void SetNonZeroCount_c (int8_t* pNonZeroCount) {1668void 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