Changeset 827 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 13 Jul 2014, 01:29:28 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
r822 r827 3493 3493 TComPic* baseColPic = m_pcSlice->getBaseColPic(refLayerIdc); 3494 3494 3495 UInt uiPelX = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getWidth() - 1, pelX + 8); 3496 UInt uiPelY = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getHeight() - 1, pelY + 8); 3495 UInt uiPelX = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getWidth() - 1, pelX); 3496 UInt uiPelY = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getHeight() - 1, pelY); 3497 3498 #if REF_IDX_MFM 3499 // centre of the collocated 16x16 block for motion mapping 3500 if( motionMapping ) 3501 { 3502 uiPelX += 8; 3503 uiPelY += 8; 3504 } 3505 #endif 3497 3506 3498 3507 #if !LAYER_CTB -
branches/SHM-dev/source/Lib/TLibCommon/TComPic.cpp
r822 r827 187 187 for( Int i = 0; i < MAX_LAYERS; i++ ) 188 188 { 189 if( m_bSpatialEnhLayer[i] )189 if( m_bSpatialEnhLayer[i] && m_pcFullPelBaseRec[i] ) 190 190 { 191 191 m_pcFullPelBaseRec[i]->destroy(); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r823 r827 3866 3866 TComPic* pcRefPicBL = m_pcBaseColPic[refLayerIdc]; 3867 3867 3868 // copy scalability ratio, it is needed to get the corect location for the motion field of the corresponding reference layer block 3869 pcIlpPic[refLayerIdc]->setSpatialEnhLayerFlag( refLayerIdc, m_pcPic->isSpatialEnhLayer(refLayerIdc) ); 3870 3868 3871 pcIlpPic[refLayerIdc]->copyUpsampledPictureYuv( m_pcPic->getFullPelBaseRec( refLayerIdc ), pcIlpPic[refLayerIdc]->getPicYuvRec() ); 3869 3872 pcIlpPic[refLayerIdc]->getSlice(0)->setBaseColPic( refLayerIdc, pcRefPicBL );
Note: See TracChangeset for help on using the changeset viewer.