Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 6 files). Show all
Unified · Split
| @@ -631,7 +631,7 @@ TRY_REENCODING: · 630 unmodified lines | ||
| 631 | 631 | if (ENC_RETURN_SUCCESS != iEncReturn) |
| 632 | 632 | return iEncReturn; |
| 633 | 633 | |
| 634 | − sDss.iCurrentPos = BsGetBitsPos (pBs); | |
| 634 | + sDss.iCurrentPos = pEncCtx->pFuncList->pfGetBsPosition (pSlice); | |
| 635 | 635 | |
| 636 | 636 | if (DynSlcJudgeSliceBoundaryStepBack (pEncCtx, pSlice, pSliceCtx, pCurMb, &sDss)) { //islice |
| 637 | 637 | pEncCtx->pFuncList->pfStashPopMBStatus (&sDss, pSlice); |
| @@ -1254,7 +1254,7 @@ TRY_REENCODING: · 616 unmodified lines | ||
| 1254 | 1254 | |
| 1255 | 1255 | |
| 1256 | 1256 | //DYNAMIC_SLICING_ONE_THREAD - MultiD |
| 1257 | − sDss.iCurrentPos = BsGetBitsPos (pBs); | |
| 1257 | + sDss.iCurrentPos = pEncCtx->pFuncList->pfGetBsPosition (pSlice); | |
| 1258 | 1258 | if (DynSlcJudgeSliceBoundaryStepBack (pEncCtx, pSlice, pSliceCtx, pCurMb, &sDss)) { |
| 1259 | 1259 | pSlice->iMbSkipRun = pEncCtx->pFuncList->pfStashPopMBStatus (&sDss, pSlice); |
| 1260 | 1260 | pCurLayer->pLastCodedMbIdxOfPartition[kiPartitionId] = iCurMbIdx - |