Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 4 files). Show all
Unified · Split
| @@ -2913,6 +2913,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo * pFbi, const SSou · 2912 unmodified lines | |||
| 2913 | pCtx->pFuncList->pfRc.pfWelsRcPictureInit (pCtx); | 2913 | pCtx->pFuncList->pfRc.pfWelsRcPictureInit (pCtx); |
| 2914 | PreprocessSliceCoding (pCtx); // MUST be called after pfWelsRcPictureInit() and WelsInitCurrentLayer() | 2914 | PreprocessSliceCoding (pCtx); // MUST be called after pfWelsRcPictureInit() and WelsInitCurrentLayer() |
| 2915 | 2915 | ||
| 2916 | //TODO Complexity Calculation here for screen content | ||
| 2916 | iLayerSize = 0; | 2917 | iLayerSize = 0; |
| 2917 | 2918 | ||
| 2918 | if (SM_SINGLE_SLICE == param_d->sSliceCfg.uiSliceMode) { // only one slice within a sQualityStat layer | 2919 | if (SM_SINGLE_SLICE == param_d->sSliceCfg.uiSliceMode) { // only one slice within a sQualityStat layer |