Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 5 files). Show all
Unified · Split
| @@ -3046,6 +3046,10 @@ void PreprocessSliceCoding (sWelsEncCtx* pCtx) { · 3045 unmodified lines | ||
| 3046 | 3046 | pCurLayer->pFeatureSearchPreparation->uiFMEGoodFrameCount = FMESWITCH_DEFAULT_GOODFRAME_NUM; |
| 3047 | 3047 | } |
| 3048 | 3048 | } |
| 3049 | + | |
| 3050 | + // update some layer dependent variable to save judgements in mb-level | |
| 3051 | + pCurLayer->bSatdInMdFlag = ((pFuncList->sSampleDealingFuncs.pfMeCost == pFuncList->sSampleDealingFuncs.pfSampleSatd) | |
| 3052 | + && (pFuncList->sSampleDealingFuncs.pfMdCost == pFuncList->sSampleDealingFuncs.pfSampleSatd)); | |
| 3049 | 3053 | } |
| 3050 | 3054 | |
| 3051 | 3055 | /*! |