History

speedup decoding

dong zhang committed 11 years ago

Commit dc86cfe1 parent 26ccd831 file · +1 −3Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+1−3
@@ -1479,8 +1479,6 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 1478 unmodified lines
14791479 uiCbpL = pCurLayer->pCbp[iMbXy] & 15;
14801480 }
14811481
1482− memset (pCurLayer->pScaledTCoeff[iMbXy], 0, MB_COEFF_LIST_SIZE * sizeof (int16_t));
1483−
14841482 ST32A4 (&pNzc[0], 0);
14851483 ST32A4 (&pNzc[4], 0);
14861484 ST32A4 (&pNzc[8], 0);
@@ -1495,7 +1493,7 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 8 unmodified lines
14951493
14961494 if (pCurLayer->pCbp[iMbXy] || MB_TYPE_INTRA16x16 == pCurLayer->pMbType[iMbXy]) {
14971495 int32_t iQpDelta, iId8x8, iId4x4;
1498−
1496+ memset (pCurLayer->pScaledTCoeff[iMbXy], 0, MB_COEFF_LIST_SIZE * sizeof (int16_t));
14991497 WELS_READ_VERIFY (BsGetSe (pBs, &iCode)); //mb_qp_delta
15001498 iQpDelta = iCode;
15011499

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