Changeset 53 in SHVCSoftware


Ignore:
Timestamp:
28 Feb 2013, 20:53:11 (12 years ago)
Author:
seregin
Message:

remove base layer initCU for AVC input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-1.1-dev/source/Lib/TLibCommon/TComPic.cpp

    r49 r53  
    6666, m_SEIs                                  (NULL)
    6767#if SVC_EXTENSION
     68, m_layerId( 0 )
    6869, m_bSpatialEnhLayer( false )
    6970, m_pcFullPelBaseRec( NULL )
     
    9697    m_pcFullPelBaseRec = new TComPicYuv;  m_pcFullPelBaseRec->create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps );
    9798  }
     99
     100  m_layerId = pcSps->getLayerId();
    98101
    99102  /* there are no SEI messages associated with this picture initially */
     
    734737  filestream->seekg( uiPos, ios_base::beg );
    735738
    736   for( Int i = 0; i < this->getNumCUsInFrame(); i++ )
    737   {
    738     TComDataCU* pcCU = this->getCU( i );
    739     pcCU->initCU( this, i );
    740   }
    741 
    742739  for( Int i = 0; i < uiPartHeight; i++ )
    743740  {
     
    788785      // set dependent information
    789786      pcCU->setPredictionMode( uiPartAddr, ( refIdxL0 == NOT_VALID && refIdxL1 == NOT_VALID ) ? MODE_INTRA : MODE_INTER );
    790       UInt uiInterDir = ( refIdxL0 != NOT_VALID ) + ( refIdxL1 != NOT_VALID && pcCU->getSlice()->isInterB() ) * 2;
     787      UInt uiInterDir = ( refIdxL0 != NOT_VALID ) + ( refIdxL1 != NOT_VALID && this->getSlice(0)->isInterB() ) * 2;
    791788      assert( uiInterDir >= 0 && uiInterDir <= 3 );
    792       pcCU->setInterDir( uiPartAddr, uiInterDir );
     789      pcCU->setInterDir( uiPartAddr, uiInterDir );     
    793790    }
    794791  }
Note: See TracChangeset for help on using the changeset viewer.