Changeset 53 in SHVCSoftware
- Timestamp:
- 28 Feb 2013, 20:53:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-1.1-dev/source/Lib/TLibCommon/TComPic.cpp
r49 r53 66 66 , m_SEIs (NULL) 67 67 #if SVC_EXTENSION 68 , m_layerId( 0 ) 68 69 , m_bSpatialEnhLayer( false ) 69 70 , m_pcFullPelBaseRec( NULL ) … … 96 97 m_pcFullPelBaseRec = new TComPicYuv; m_pcFullPelBaseRec->create( iWidth, iHeight, uiMaxWidth, uiMaxHeight, uiMaxDepth, pcSps ); 97 98 } 99 100 m_layerId = pcSps->getLayerId(); 98 101 99 102 /* there are no SEI messages associated with this picture initially */ … … 734 737 filestream->seekg( uiPos, ios_base::beg ); 735 738 736 for( Int i = 0; i < this->getNumCUsInFrame(); i++ )737 {738 TComDataCU* pcCU = this->getCU( i );739 pcCU->initCU( this, i );740 }741 742 739 for( Int i = 0; i < uiPartHeight; i++ ) 743 740 { … … 788 785 // set dependent information 789 786 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; 791 788 assert( uiInterDir >= 0 && uiInterDir <= 3 ); 792 pcCU->setInterDir( uiPartAddr, uiInterDir ); 789 pcCU->setInterDir( uiPartAddr, uiInterDir ); 793 790 } 794 791 }
Note: See TracChangeset for help on using the changeset viewer.