diff --git a/source/Lib/EncoderLib/EncCu.cpp b/source/Lib/EncoderLib/EncCu.cpp index db6c3327592d09935d3f396ad6d2cf92ffd4dfe1..c8faf815887a2c4a225c4c3acf12b454cc3b9422 100644 --- a/source/Lib/EncoderLib/EncCu.cpp +++ b/source/Lib/EncoderLib/EncCu.cpp @@ -1066,6 +1066,9 @@ void EncCu::updateLambda (Slice* slice, const int dQP, if (updateRdCostLambda) { m_pcRdCost->setLambda (newLambda, slice->getSPS()->getBitDepths()); +#if WCG_EXT + m_pcRdCost->saveUnadjustedLambda(); +#endif } } #endif // SHARP_LUMA_DELTA_QP || ENABLE_QPA_SUB_CTU