History

add according to review opinion

huili2 committed 12 years ago

Commit 734e60a1 parent 5bffb621 file · +0 −18Browse 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+0−18
@@ -617,11 +617,6 @@ int32_t WelsActualDecodeMbCavlcISlice (PWelsDecoderContext pCtx) { · 616 unmodified lines
617617 ST32 (&pCurLayer->pNzc[iMbXy][4], LD32 (&pNonZeroCount[1 + 8 * 2]));
618618 ST32 (&pCurLayer->pNzc[iMbXy][8], LD32 (&pNonZeroCount[1 + 8 * 3]));
619619 ST32 (&pCurLayer->pNzc[iMbXy][12], LD32 (&pNonZeroCount[1 + 8 * 4]));
620− } else { //pNonZeroCount = 0
621− ST32 (&pCurLayer->pNzc[iMbXy][0], 0);
622− ST32 (&pCurLayer->pNzc[iMbXy][4], 0);
623− ST32 (&pCurLayer->pNzc[iMbXy][8], 0);
624− ST32 (&pCurLayer->pNzc[iMbXy][12], 0);
625620 }
626621 } else { //non-MB_TYPE_INTRA16x16
627622 for (iId8x8 = 0; iId8x8 < 4; iId8x8++) {
@@ -676,11 +671,6 @@ int32_t WelsActualDecodeMbCavlcISlice (PWelsDecoderContext pCtx) { · 48 unmodified lines
676671 ST16 (&pCurLayer->pNzc[iMbXy][20], LD16 (&pNonZeroCount[6 + 8 * 2]));
677672 ST16 (&pCurLayer->pNzc[iMbXy][18], LD16 (&pNonZeroCount[6 + 8 * 4]));
678673 ST16 (&pCurLayer->pNzc[iMbXy][22], LD16 (&pNonZeroCount[6 + 8 * 5]));
679− } else {
680− ST16 (&pCurLayer->pNzc[iMbXy][16], 0);
681− ST16 (&pCurLayer->pNzc[iMbXy][20], 0);
682− ST16 (&pCurLayer->pNzc[iMbXy][18], 0);
683− ST16 (&pCurLayer->pNzc[iMbXy][22], 0);
684674 }
685675 BsEndCavlc (pBs);
686676 }
@@ -936,11 +926,6 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 249 unmodified lines
936926 ST32 (&pCurLayer->pNzc[iMbXy][4], LD32 (&pNonZeroCount[1 + 8 * 2]));
937927 ST32 (&pCurLayer->pNzc[iMbXy][8], LD32 (&pNonZeroCount[1 + 8 * 3]));
938928 ST32 (&pCurLayer->pNzc[iMbXy][12], LD32 (&pNonZeroCount[1 + 8 * 4]));
939− } else { //pNonZeroCount = 0
940− ST32 (&pCurLayer->pNzc[iMbXy][0], 0);
941− ST32 (&pCurLayer->pNzc[iMbXy][4], 0);
942− ST32 (&pCurLayer->pNzc[iMbXy][8], 0);
943− ST32 (&pCurLayer->pNzc[iMbXy][12], 0);
944929 }
945930 } else { //non-MB_TYPE_INTRA16x16
946931 for (iId8x8 = 0; iId8x8 < 4; iId8x8++) {
@@ -996,9 +981,6 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 49 unmodified lines
996981 ST16 (&pCurLayer->pNzc[iMbXy][20], LD16 (&pNonZeroCount[6 + 8 * 2]));
997982 ST16 (&pCurLayer->pNzc[iMbXy][18], LD16 (&pNonZeroCount[6 + 8 * 4]));
998983 ST16 (&pCurLayer->pNzc[iMbXy][22], LD16 (&pNonZeroCount[6 + 8 * 5]));
999− } else {
1000− ST32 (&pCurLayer->pNzc[iMbXy][16], 0);
1001− ST32 (&pCurLayer->pNzc[iMbXy][20], 0);
1002984 }
1003985 BsEndCavlc (pBs);
1004986 }

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