Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 11 files). Show all
Unified · Split
| @@ -472,7 +472,7 @@ void StashPopMBStatus (SDynamicSlicingStack* pDss, SBitStringAux* pBs, SSlice* p · 471 unmodified lines | |||
| 472 | pBs->uiCurBits = pDss->uiBsStackCurBits; | 472 | pBs->uiCurBits = pDss->uiBsStackCurBits; |
| 473 | pBs->iLeftBits = pDss->iBsStackLeftBits; | 473 | pBs->iLeftBits = pDss->iBsStackLeftBits; |
| 474 | pSlice->uiLastMbQp = pDss->uiLastMbQp; | 474 | pSlice->uiLastMbQp = pDss->uiLastMbQp; |
| 475 | if(pMbSkipRun) | 475 | if (pMbSkipRun) |
| 476 | *pMbSkipRun = pDss->iMbSkipRunStack; | 476 | *pMbSkipRun = pDss->iMbSkipRunStack; |
| 477 | } | 477 | } |
| 478 | void UpdateQpForOverflow (SMB* pCurMb, uint8_t kuiChromaQpIndexOffset) { | 478 | void UpdateQpForOverflow (SMB* pCurMb, uint8_t kuiChromaQpIndexOffset) { |
| @@ -712,7 +712,7 @@ int32_t WelsCodeOneSlice (sWelsEncCtx* pEncCtx, const int32_t kiSliceIdx, const · 233 unmodified lines | |||
| 712 | SNalUnitHeaderExt* pNalHeadExt = &pCurLayer->sLayerInfo.sNalHeaderExt; | 712 | SNalUnitHeaderExt* pNalHeadExt = &pCurLayer->sLayerInfo.sNalHeaderExt; |
| 713 | SSlice* pCurSlice = &pCurLayer->sLayerInfo.pSliceInLayer[kiSliceIdx]; | 713 | SSlice* pCurSlice = &pCurLayer->sLayerInfo.pSliceInLayer[kiSliceIdx]; |
| 714 | SBitStringAux* pBs = pCurSlice->pSliceBsa; | 714 | SBitStringAux* pBs = pCurSlice->pSliceBsa; |
| 715 | const int32_t kiDynamicSliceFlag = (pEncCtx->pSvcParam->sDependencyLayers[pEncCtx->uiDependencyId].sSliceCfg.uiSliceMode | 715 | const int32_t kiDynamicSliceFlag = (pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId].sSliceCfg.uiSliceMode |
| 716 | == | 716 | == |
| 717 | SM_DYN_SLICE); | 717 | SM_DYN_SLICE); |
| 718 | 718 | ||