Skip to content
Snippets Groups Projects
Commit 52b3f3dd authored by Rickard Sjöberg's avatar Rickard Sjöberg
Browse files

JVET-P0978 Adding RPL related bitstream constraints

parent d9f620a6
No related branches found
No related tags found
No related merge requests found
...@@ -487,6 +487,7 @@ DecLib::DecLib() ...@@ -487,6 +487,7 @@ DecLib::DecLib()
#endif #endif
#if JVET_Q0117_PARAMETER_SETS_CLEANUP #if JVET_Q0117_PARAMETER_SETS_CLEANUP
, m_dci(NULL) , m_dci(NULL)
#endif
#if JVET_P0978_RPL_RESTRICTIONS #if JVET_P0978_RPL_RESTRICTIONS
, m_decodingOrderCounter(0) , m_decodingOrderCounter(0)
#endif #endif
...@@ -2039,6 +2040,17 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl ...@@ -2039,6 +2040,17 @@ bool DecLib::xDecodeSlice(InputNALUnit &nalu, int &iSkipFrame, int iPOCLastDispl
m_pcPic->setPictureType(nalu.m_nalUnitType); m_pcPic->setPictureType(nalu.m_nalUnitType);
} }
<<<<<<< HEAD
=======
#if JVET_P0978_RPL_RESTRICTIONS
if (m_bFirstSliceInPicture)
{
m_pcPic->setDecodingOrderNumber(m_decodingOrderCounter);
m_decodingOrderCounter++;
m_pcPic->setPictureType(nalu.m_nalUnitType);
}
>>>>>>> JVET-P0978 Adding RPL related bitstream constraints
pcSlice->checkCRA(pcSlice->getRPL0(), pcSlice->getRPL1(), m_pocCRA, m_cListPic); pcSlice->checkCRA(pcSlice->getRPL0(), pcSlice->getRPL1(), m_pocCRA, m_cListPic);
#else #else
pcSlice->checkCRA(pcSlice->getRPL0(), pcSlice->getRPL1(), m_pocCRA, m_associatedIRAPType, m_cListPic); pcSlice->checkCRA(pcSlice->getRPL0(), pcSlice->getRPL1(), m_pocCRA, m_associatedIRAPType, m_cListPic);
......
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