- Timestamp:
- 3 Mar 2015, 10:44:14 (10 years ago)
- Location:
- branches/HTM-13.1-dev2-Sony/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev2-Sony/source/App/TAppEncoder/TAppEncCfg.cpp
r1157 r1158 1587 1587 xConfirmPara( m_bipredSearchRange < 0 , "Search Range must be more than 0" ); 1588 1588 #ifdef SONY_MV_V_CONST_C0078 1589 xConfirmPara( m_iVerticalDisparitySearchRange < 0 , "Vertical Disparity Search Range must be more than 0" );1589 xConfirmPara( m_iVerticalDisparitySearchRange <= 0 , "Vertical Disparity Search Range must be more than 0" ); 1590 1590 #endif 1591 1591 xConfirmPara( m_iMaxDeltaQP > 7, "Absolute Delta QP exceeds supported range (0 to 7)" ); -
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()) -
branches/HTM-13.1-dev2-Sony/source/Lib/TLibEncoder/TEncSearch.cpp
r1157 r1158 5398 5398 #ifdef SONY_MV_V_CONST_C0078 5399 5399 if ( bMv_VRng_Restricted ) { 5400 Int iRestrictMvVrange = ( iVerDispSrchRng << iMvShift ) ;5400 Int iRestrictMvVrange = ( iVerDispSrchRng - 1 ) << iMvShift ; // -1 to consider subpel search 5401 5401 if ( rcMvSrchRngRB.getVer() >= iRestrictMvVrange ){ 5402 rcMvSrchRngRB.setVer( iRestrictMvVrange ); 5403 } 5404 if ( rcMvSrchRngLT.getVer() <= -iRestrictMvVrange ){ 5405 rcMvSrchRngLT.setVer( -iRestrictMvVrange ); 5402 rcMvSrchRngRB.setVer( iRestrictMvVrange ); //only positive side is restricted 5406 5403 } 5407 5404 }
Note: See TracChangeset for help on using the changeset viewer.