Ignore:
Timestamp:
5 Jun 2013, 09:06:22 (12 years ago)
Author:
seregin
Message:

TMVP setting fix, encoder speed up fix, and other minor corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r257 r260  
    186186    if(m_cIlpPic[refLayerIdc])
    187187    {
    188       m_cIlpPic[refLayerIdc]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(i), m_cIlpPic[refLayerIdc]->getPicYuvRec());
     188      m_cIlpPic[refLayerIdc]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(refLayerIdc), m_cIlpPic[refLayerIdc]->getPicYuvRec());
    189189      m_cIlpPic[refLayerIdc]->getSlice(0)->setPOC(pcPic->getPOC());
    190       m_cIlpPic[refLayerIdc]->setLayerId(pcPic->getSlice(0)->getBaseColPic(i)->getLayerId()); //set reference layerId
     190      m_cIlpPic[refLayerIdc]->setLayerId(pcPic->getSlice(0)->getBaseColPic(refLayerIdc)->getLayerId()); //set reference layerId
    191191      m_cIlpPic[refLayerIdc]->getPicYuvRec()->setBorderExtension(false);
    192192      m_cIlpPic[refLayerIdc]->getPicYuvRec()->extendPicBorder();
     
    890890
    891891#if SVC_UPSAMPLING
    892         if ( pcPic->isSpatialEnhLayer(refLayerIdc))
     892        if( pcPic->isSpatialEnhLayer(refLayerIdc) )
    893893        {   
    894894#if SCALED_REF_LAYER_OFFSETS
    895895          m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec(), pcSlice->getSPS()->getScaledRefLayerWindow() );
    896896#else
    897           m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(), pcSlice->getBaseColPic()->getPicYuvRec(), pcPic->getPicYuvRec() );
     897          m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec() );
    898898#endif
    899899        }
     
    908908
    909909#if REF_IDX_FRAMEWORK
     910#if ZERO_NUM_DIRECT_LAYERS
     911    if( m_layerId > 0 && pcSlice->getActiveNumILRRefIdx() )
     912#else
    910913    if(m_layerId > 0)
     914#endif
    911915    {
    912916      setILRPic(pcPic);
Note: See TracChangeset for help on using the changeset viewer.