Changeset 1158 in 3DVCSoftware for branches/HTM-13.1-dev2-Sony/source/Lib/TLibCommon
- Timestamp:
- 3 Mar 2015, 10:44:14 (10 years ago)
- Location:
- branches/HTM-13.1-dev2-Sony/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev2-Sony/source/Lib/TLibCommon/TComDataCU.cpp
r1152 r1158 5341 5341 } 5342 5342 5343 #if SONY_MV_V_CONST_C0078 5344 Void TComDataCU::checkMV_V (TComMv& rcMv, RefPicList eRefPicList, int iRefIdx ) 5345 { 5346 if ( getSlice()->getSPS()->getInterViewMvVertConstraintFlag() ) 5347 { 5348 if ( getSlice()->getRefPic( eRefPicList, iRefIdx )->getPOC() == getSlice()->getPOC() ) 5349 { 5350 //When inter_view_mv_vert_constraint_flag is equal to 1, 5351 //the vertical component of the motion vectors used for inter-layer prediction 5352 //shall be equal to or less than 56 in units of luma samples 5353 assert ( rcMv.getVer() <= (56<<2) ); 5354 } 5355 } 5356 } 5357 #endif 5358 5343 5359 UInt TComDataCU::getIntraSizeIdx(UInt uiAbsPartIdx) 5344 5360 { -
branches/HTM-13.1-dev2-Sony/source/Lib/TLibCommon/TComDataCU.h
r1133 r1158 591 591 592 592 Void clipMv ( TComMv& rcMv ); 593 #if SONY_MV_V_CONST_C0078 594 Void checkMV_V (TComMv& rcMv, RefPicList eRefPicList, int iRefIdx ); 595 #endif 593 596 Void getMvPredLeft ( TComMv& rcMvPred ) { rcMvPred = m_cMvFieldA.getMv(); } 594 597 Void getMvPredAbove ( TComMv& rcMvPred ) { rcMvPred = m_cMvFieldB.getMv(); } -
branches/HTM-13.1-dev2-Sony/source/Lib/TLibCommon/TComPrediction.cpp
r1152 r1158 1293 1293 TComMv cMv = pcCU->getCUMvField( eRefPicList )->getMv( uiPartAddr ); 1294 1294 pcCU->clipMv(cMv); 1295 1295 #if SONY_MV_V_CONST_C0078 1296 pcCU->checkMV_V(cMv, eRefPicList, iRefIdx ); 1297 #endif 1296 1298 #if H_3D_ARP 1297 1299 if(pcCU->getARPW( uiPartAddr ) > 0 && pcCU->getSlice()->getRefPic( eRefPicList, iRefIdx )->getPOC()== pcCU->getSlice()->getPOC())
Note: See TracChangeset for help on using the changeset viewer.