Changeset 254 in SHVCSoftware for branches/SHM-2.1-multilayers-dev/source/Lib
- Timestamp:
- 3 Jun 2013, 20:38:44 (12 years ago)
- Location:
- branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComDataCU.cpp
r253 r254 4319 4319 } 4320 4320 4321 Void TComDataCU::scaleBaseMV( TComMvField& rcMvFieldEnhance, TComMvField& rcMvFieldBase )4321 Void TComDataCU::scaleBaseMV( UInt refLayerIdc, TComMvField& rcMvFieldEnhance, TComMvField& rcMvFieldBase ) 4322 4322 { 4323 4323 TComMvField cMvFieldBase; 4324 4324 TComMv cMv; 4325 4325 #if SIMPLIFIED_MV_POS_SCALING 4326 cMv = rcMvFieldBase.getMv().scaleMv( g_mvScalingFactor[ m_layerId][0], g_mvScalingFactor[m_layerId][1] );4326 cMv = rcMvFieldBase.getMv().scaleMv( g_mvScalingFactor[refLayerIdc][0], g_mvScalingFactor[refLayerIdc][1] ); 4327 4327 #else 4328 4328 const Window &confBL = m_pcSlice->getBaseColPic()->getPicYuvRec()->getConformanceWindow(); -
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComDataCU.h
r253 r254 556 556 TComDataCU* getBaseColCU( UInt refLayerIdc, UInt uiCuAbsPartIdx, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase ); 557 557 TComDataCU* getBaseColCU( UInt refLayerIdc, UInt uiPelX, UInt uiPelY, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase ); 558 Void scaleBaseMV( TComMvField& rcMvFieldEnhance, TComMvField& rcMvFieldBase );558 Void scaleBaseMV( UInt refLayerIdc, TComMvField& rcMvFieldEnhance, TComMvField& rcMvFieldBase ); 559 559 #endif 560 560 }; -
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComPic.cpp
r253 r254 614 614 TComMvField sMvFieldBase, sMvField; 615 615 pcColCU->getMvField( pcColCU, baseAbsPartIdx, (RefPicList)refPicList, sMvFieldBase); 616 pcCUDes->scaleBaseMV( sMvField, sMvFieldBase );616 pcCUDes->scaleBaseMV( refLayerIdc, sMvField, sMvFieldBase ); 617 617 618 618 pcCUDes->getCUMvField((RefPicList)refPicList)->setMvField(sMvField, absPartIdx);
Note: See TracChangeset for help on using the changeset viewer.