Changeset 462 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
12 Nov 2013, 19:19:27 (11 years ago)
Author:
seregin
Message:

use layerIdc for accessing the reference layer picture for MFM constraint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r461 r462  
    11821182        UInt ColFromL0Flag = pcSlice->getColFromL0Flag();
    11831183        UInt ColRefIdx     = pcSlice->getColRefIdx();
     1184
    11841185        for(Int colIdx = 0; colIdx < pcSlice->getNumRefIdx( RefPicList(1 - ColFromL0Flag) ); colIdx++)
    11851186        {
    11861187          if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR(m_layerId)
    11871188#if MFM_ENCCONSTRAINT
    1188             && pcSlice->getBaseColPic( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId() )->checkSameRefInfo() == true
     1189            && pcSlice->getBaseColPic( *m_ppcTEncTop[pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId()]->getListPic() )->checkSameRefInfo() == true
    11891190#endif
    11901191            )
     
    12031204            if( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->isILR(m_layerId)
    12041205#if MFM_ENCCONSTRAINT
    1205               && pcSlice->getBaseColPic( pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId() )->checkSameRefInfo() == true
     1206              && pcSlice->getBaseColPic( *m_ppcTEncTop[pcSlice->getRefPic( RefPicList(1 - ColFromL0Flag), colIdx)->getLayerId()]->getListPic() )->checkSameRefInfo() == true
    12061207#endif
    12071208              )
Note: See TracChangeset for help on using the changeset viewer.