Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2764,7 +2764,8 @@ void WelsInitCurrentQBLayerMltslc (sWelsEncCtx* pCtx) { · 2763 unmodified lines | ||
| 2764 | 2764 | DynslcUpdateMbNeighbourInfoListForAllSlices (pSliceCtx, pCurDq->sMbDataP); |
| 2765 | 2765 | } |
| 2766 | 2766 | |
| 2767 | −void UpdateSlicepEncCtxWithPartition (SSliceCtx* pSliceCtx, int32_t iPartitionNum) { | |
| 2767 | +void UpdateSlicepEncCtxWithPartition (SDqLayer* pCurDq, int32_t iPartitionNum) { | |
| 2768 | + SSliceCtx* pSliceCtx = pCurDq->pSliceEncCtx; | |
| 2768 | 2769 | const int32_t kiMbNumInFrame = pSliceCtx->iMbNumInFrame; |
| 2769 | 2770 | int32_t iCountMbNumPerPartition = kiMbNumInFrame; |
| 2770 | 2771 | int32_t iAssignableMbLeft = kiMbNumInFrame; |
| @@ -2800,7 +2801,7 @@ void WelsInitCurrentDlayerMltslc (sWelsEncCtx* pCtx, int32_t iPartitionNum) { · 29 unmodified lines | ||
| 2800 | 2801 | SDqLayer* pCurDq = pCtx->pCurDqLayer; |
| 2801 | 2802 | SSliceCtx* pSliceCtx = pCurDq->pSliceEncCtx; |
| 2802 | 2803 | |
| 2803 | − UpdateSlicepEncCtxWithPartition (pSliceCtx, iPartitionNum); | |
| 2804 | + UpdateSlicepEncCtxWithPartition (pCurDq, iPartitionNum); | |
| 2804 | 2805 | |
| 2805 | 2806 | if (I_SLICE == pCtx->eSliceType) { //check if uiSliceSizeConstraint too small |
| 2806 | 2807 | #define byte_complexIMBat26 (60) |