Commit b4a0cca9 authored by Frank Bossen's avatar Frank Bossen

Merge branch 'CPR_PARA_FIX' into 'master'

Cpr para fix

See merge request jvet/VVCSoftware_BMS!105
parents 7f2b80ad d0f11f12
Pipeline #98 passed with stage
......@@ -2522,7 +2522,14 @@ void EncGOP::compressGOP( int iPOCLast, int iNumPicRcvd, PicList& rcListPic,
{
for( const CodingUnit *cu : pcPic->cs->cus )
{
if( !pcSlice->isIntra() )
if( !pcSlice->isIntra()
#if JVET_K0076_CPR
&&
!(pcSlice->getNumRefIdx(REF_PIC_LIST_0) == 1 &&
pcSlice->getNumRefIdx(REF_PIC_LIST_1) == 0 &&
pcSlice->getRefPOC(REF_PIC_LIST_0, 0) == pcSlice->getPOC())
#endif
)
{
m_uiBlkSize[pcSlice->getDepth()] += cu->Y().area();
m_uiNumBlk [pcSlice->getDepth()]++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment