Skip to content
Snippets Groups Projects
Commit 67827dff authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Merge branch 'checkLmcsAps' into 'master'

JVET-O0428: check lmcs aps id in multiple slices of same picture

See merge request jvet/VVCSoftware_VTM!931
parents e34aca37 eb5670f4
No related branches found
No related tags found
No related merge requests found
...@@ -1562,11 +1562,15 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl ...@@ -1562,11 +1562,15 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
if (pcSlice->getSPS()->getUseReshaper()) if (pcSlice->getSPS()->getUseReshaper())
{ {
#if JVET_O0428_LMCS_CLEANUP
if (m_bFirstSliceInPicture)
m_sliceLmcsApsId = -1;
#endif
if (pcSlice->getLmcsEnabledFlag()) if (pcSlice->getLmcsEnabledFlag())
{ {
APS* lmcsAPS = pcSlice->getLmcsAPS(); APS* lmcsAPS = pcSlice->getLmcsAPS();
#if JVET_O0428_LMCS_CLEANUP #if JVET_O0428_LMCS_CLEANUP
if (m_bFirstSliceInPicture) if (m_sliceLmcsApsId == -1)
{ {
m_sliceLmcsApsId = lmcsAPS->getAPSId(); m_sliceLmcsApsId = lmcsAPS->getAPSId();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment