Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 9 files). Show all
Unified · Split
| @@ -730,11 +730,11 @@ int32_t WelsCodeOneSlice (sWelsEncCtx* pEncCtx, const int32_t kiSliceIdx, const · 729 unmodified lines | |||
| 730 | WelsSliceHeaderExtInit (pEncCtx, pCurLayer, pCurSlice); | 730 | WelsSliceHeaderExtInit (pEncCtx, pCurLayer, pCurSlice); |
| 731 | 731 | ||
| 732 | g_pWelsWriteSliceHeader[pCurSlice->bSliceHeaderExtFlag] (pEncCtx, pBs, pCurLayer, pCurSlice, | 732 | g_pWelsWriteSliceHeader[pCurSlice->bSliceHeaderExtFlag] (pEncCtx, pBs, pCurLayer, pCurSlice, |
| 733 | ((SPS_PPS_LISTING != pEncCtx->pSvcParam->iSpsPpsIdStrategy) ? (& | 733 | ((SPS_PPS_LISTING != pEncCtx->pSvcParam->eSpsPpsIdStrategy) ? (& |
| 734 | (pEncCtx->sPSOVector.sParaSetOffsetVariable[PARA_SET_TYPE_PPS].iParaSetIdDelta[0])) : NULL)); | 734 | (pEncCtx->sPSOVector.sParaSetOffsetVariable[PARA_SET_TYPE_PPS].iParaSetIdDelta[0])) : NULL)); |
| 735 | 735 | ||
| 736 | #if _DEBUG | 736 | #if _DEBUG |
| 737 | if (INCREASING_ID & pEncCtx->sPSOVector.iSpsPpsIdStrategy) { | 737 | if (INCREASING_ID & pEncCtx->sPSOVector.eSpsPpsIdStrategy) { |
| 738 | const int32_t kiEncoderPpsId = pCurSlice->sSliceHeaderExt.sSliceHeader.pPps->iPpsId; | 738 | const int32_t kiEncoderPpsId = pCurSlice->sSliceHeaderExt.sSliceHeader.pPps->iPpsId; |
| 739 | const int32_t kiTmpPpsIdInBs = kiEncoderPpsId + | 739 | const int32_t kiTmpPpsIdInBs = kiEncoderPpsId + |
| 740 | pEncCtx->sPSOVector.sParaSetOffsetVariable[PARA_SET_TYPE_PPS].iParaSetIdDelta[ kiEncoderPpsId ]; | 740 | pEncCtx->sPSOVector.sParaSetOffsetVariable[PARA_SET_TYPE_PPS].iParaSetIdDelta[ kiEncoderPpsId ]; |