Changeset 460 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibCommon


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

correct refLayerIdc for ILP derivation

Location:
branches/SHM-4.0-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.cpp

    r455 r460  
    30493049#endif
    30503050}
    3051 #endif
    30523051
    30533052#if REF_IDX_MFM
     
    30963095#endif
    30973096
     3097Void TComSlice::setILRPic(TComPic **pcIlpPic)
     3098{
     3099  for( Int i = 0; i < m_activeNumILRRefIdx; i++ )
     3100  {
     3101    Int refLayerIdc = m_interLayerPredLayerIdc[i];
     3102
     3103    if( pcIlpPic[refLayerIdc] )
     3104    {
     3105      pcIlpPic[refLayerIdc]->copyUpsampledPictureYuv( m_pcPic->getFullPelBaseRec( refLayerIdc ), pcIlpPic[refLayerIdc]->getPicYuvRec() );
     3106      pcIlpPic[refLayerIdc]->getSlice(0)->setPOC( m_iPOC );
     3107      pcIlpPic[refLayerIdc]->setLayerId( m_layerId ); //set reference layerId
     3108      pcIlpPic[refLayerIdc]->getPicYuvRec()->setBorderExtension( false );
     3109      pcIlpPic[refLayerIdc]->getPicYuvRec()->extendPicBorder();
     3110      for (Int j=0; j<pcIlpPic[refLayerIdc]->getPicSym()->getNumberOfCUsInFrame(); j++)    // set reference CU layerId
     3111      {
     3112        pcIlpPic[refLayerIdc]->getPicSym()->getCU(j)->setLayerId( pcIlpPic[refLayerIdc]->getLayerId() );
     3113      }
     3114    }
     3115  }
     3116}
     3117
     3118#endif //SVC_EXTENSION
     3119
    30983120//! \}
  • branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.h

    r454 r460  
    20582058  UInt getBitDepthY();
    20592059  UInt getBitDepthC();
    2060   Int getQpBDOffsetY();
    2061   Int getQpBDOffsetC();
    2062 #endif
     2060  Int  getQpBDOffsetY();
     2061  Int  getQpBDOffsetC();
     2062#endif
     2063
     2064  Void setILRPic(TComPic **pcIlpPic);
    20632065
    20642066#endif //SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.