Skip to content
Snippets Groups Projects
Commit 3eb64f36 authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'JVET-S0081' into 'master'

JVET-S0081: Excluding non-referenced pic to be used as prevTid0 picture

See merge request jvet/VVCSoftware_VTM!1771
parents c0aa11b3 d947ca28
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
#include <cassert> #include <cassert>
//########### place macros to be removed in next cycle below this line ############### //########### place macros to be removed in next cycle below this line ###############
#define JVET_S0081_NON_REFERENCED_PIC 1 // JVET-S0081: exclude non-referenced picture to be used as prevTid0 picture
#define JVET_R0433 1 // JVET-R0433: APS signaling and semantics cleanup #define JVET_R0433 1 // JVET-R0433: APS signaling and semantics cleanup
#define JVET_S0076_ASPECT1 1 // JVET-S0076: aspect 1: Move ph_non_ref_pic_flag to earlier position #define JVET_S0076_ASPECT1 1 // JVET-S0076: aspect 1: Move ph_non_ref_pic_flag to earlier position
......
...@@ -290,7 +290,17 @@ protected: ...@@ -290,7 +290,17 @@ protected:
void xDecodeSPS( InputNALUnit& nalu ); void xDecodeSPS( InputNALUnit& nalu );
void xDecodePPS( InputNALUnit& nalu ); void xDecodePPS( InputNALUnit& nalu );
void xDecodeAPS(InputNALUnit& nalu); void xDecodeAPS(InputNALUnit& nalu);
#if JVET_S0081_NON_REFERENCED_PIC
void xUpdatePreviousTid0POC(Slice *pSlice)
{
if( (pSlice->getTLayer() == 0) && (pSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RASL) && (pSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RADL) && !pSlice->getPicHeader()->getNonReferencePictureFlag() )
{
m_prevTid0POC = pSlice->getPOC();
}
}
#else
void xUpdatePreviousTid0POC(Slice *pSlice) { if ((pSlice->getTLayer() == 0) && (pSlice->getNalUnitType()!=NAL_UNIT_CODED_SLICE_RASL) && (pSlice->getNalUnitType()!=NAL_UNIT_CODED_SLICE_RADL)) { m_prevTid0POC = pSlice->getPOC(); } } void xUpdatePreviousTid0POC(Slice *pSlice) { if ((pSlice->getTLayer() == 0) && (pSlice->getNalUnitType()!=NAL_UNIT_CODED_SLICE_RASL) && (pSlice->getNalUnitType()!=NAL_UNIT_CODED_SLICE_RADL)) { m_prevTid0POC = pSlice->getPOC(); } }
#endif
void xParsePrefixSEImessages(); void xParsePrefixSEImessages();
void xParsePrefixSEIsForUnknownVCLNal(); void xParsePrefixSEIsForUnknownVCLNal();
......
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