From 913b97b417b990fc79d41b42d9da3906628d0c22 Mon Sep 17 00:00:00 2001 From: JongseokLee <jslee@digitalinsights.co.kr> Date: Wed, 1 Jul 2020 17:34:48 +0200 Subject: [PATCH] JVET-S0249: AHG3: Bugfix to LMCS with multiple slices in VTM-9.0 encoder --- source/Lib/EncoderLib/EncGOP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Lib/EncoderLib/EncGOP.cpp b/source/Lib/EncoderLib/EncGOP.cpp index 1660efa6d7..be4047a7f3 100644 --- a/source/Lib/EncoderLib/EncGOP.cpp +++ b/source/Lib/EncoderLib/EncGOP.cpp @@ -2732,6 +2732,7 @@ void EncGOP::compressGOP( int iPOCLast, int iNumPicRcvd, PicList& rcListPic, if (pcSlice->getSliceType() == I_SLICE) { //reshape original signal + pcPic->getOrigBuf().copyFrom(pcPic->getTrueOrigBuf()); if (pcSlice->getLmcsEnabledFlag()) { pcPic->getOrigBuf(COMPONENT_Y).rspSignal(m_pcReshaper->getFwdLUT()); @@ -2740,7 +2741,6 @@ void EncGOP::compressGOP( int iPOCLast, int iNumPicRcvd, PicList& rcListPic, } else { - pcPic->getOrigBuf().copyFrom(pcPic->getTrueOrigBuf()); m_pcReshaper->setSrcReshaped(false); m_pcReshaper->setRecReshaped(false); } -- GitLab