Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 6 files). Show all
Unified · Split
| @@ -924,8 +924,6 @@ int32_t InitMbListD (sWelsEncCtx** ppCtx) { · 923 unmodified lines | ||
| 924 | 924 | |
| 925 | 925 | void FreeSliceInLayer (SDqLayer* pDq, CMemoryAlign* pMa) { |
| 926 | 926 | int32_t iIdx = 0; |
| 927 | − | |
| 928 | − FreeSliceBuffer (pDq->sLayerInfo.pSliceInLayer, pDq->iMaxSliceNum, pMa, "pSliceInLayer"); | |
| 929 | 927 | for (; iIdx < MAX_THREADS_NUM; iIdx ++) { |
| 930 | 928 | FreeSliceBuffer (pDq->sSliceThreadInfo.pSliceInThread[iIdx], |
| 931 | 929 | pDq->sSliceThreadInfo.iMaxSliceNumInThread[iIdx], |
| @@ -3777,6 +3775,9 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 2845 unmodified lines | ||
| 3777 | 3775 | //TO DO: add update ppSliceInLayer module based on pSliceInThread[ThreadNum] |
| 3778 | 3776 | // UpdateSliceInLayerInfo(); // reordering |
| 3779 | 3777 | |
| 3778 | + //TO DO: add update ppSliceInLayer module based on pSliceInThread[ThreadNum] | |
| 3779 | + // UpdateSliceInLayerInfo(); // reordering | |
| 3780 | + | |
| 3780 | 3781 | iLayerSize = AppendSliceToFrameBs (pCtx, pLayerBsInfo, kiPartitionCnt); |
| 3781 | 3782 | } else { // for non-dynamic-slicing mode single threading branch.. |
| 3782 | 3783 | const bool bNeedPrefix = pCtx->bNeedPrefixNalFlag; |