Skip to content
Snippets Groups Projects

Fix: avoid redundant coding of RPL in both SPS and SH in multilayer

Merged Fabrice URBAN requested to merge (removed):multilayer_RPL into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -1963,6 +1963,8 @@ void EncLib::xInitRPL(SPS &sps)
setRplOfDepLayerInSh(codeRplInSH);
if (codeRplInSH)
{
sps.createRPLList0(0);
sps.createRPLList1(0);
getRPLList(0)->destroy();
getRPLList(0)->create(numRPLCandidates + (isFieldCoding ? 1 : 0));
getRPLList(1)->destroy();
@@ -1972,6 +1974,8 @@ void EncLib::xInitRPL(SPS &sps)
}
else
{
getRPLList(0)->create(0);
getRPLList(1)->create(0);
sps.createRPLList0(numRPLCandidates + (isFieldCoding ? 1 : 0));
sps.createRPLList1(numRPLCandidates + (isFieldCoding ? 1 : 0));
rplLists[0] = sps.getRPLList(0);
Loading