Changeset 1166 in 3DVCSoftware
- Timestamp:
- 16 Mar 2015, 13:37:35 (10 years ago)
- Location:
- branches/HTM-13.1-dev0/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev0/source/App/TAppEncoder/TAppEncCfg.cpp
r1164 r1166 477 477 ("FastSearch", m_iFastSearch, 1, "0:Full search 1:Diamond 2:PMVFAST") 478 478 ("SearchRange,-sr", m_iSearchRange, 96, "Motion search range") 479 #if defSONY_MV_V_CONST_C0078479 #if SONY_MV_V_CONST_C0078 480 480 ("DispSearchRangeRestriction", m_bUseDisparitySearchRangeRestriction, false, "restrict disparity search range") 481 481 ("VerticalDispSearchRange", m_iVerticalDisparitySearchRange, 56, "vertical disparity search range") … … 1590 1590 xConfirmPara( m_iSearchRange < 0 , "Search Range must be more than 0" ); 1591 1591 xConfirmPara( m_bipredSearchRange < 0 , "Search Range must be more than 0" ); 1592 #if defSONY_MV_V_CONST_C00781592 #if SONY_MV_V_CONST_C0078 1593 1593 xConfirmPara( m_iVerticalDisparitySearchRange <= 0 , "Vertical Disparity Search Range must be more than 0" ); 1594 1594 #endif … … 2464 2464 printf("Min PCM size : %d\n", 1 << m_uiPCMLog2MinSize); 2465 2465 printf("Motion search range : %d\n", m_iSearchRange ); 2466 #if defSONY_MV_V_CONST_C00782466 #if SONY_MV_V_CONST_C0078 2467 2467 printf("Disp search range restriction: %d\n", m_bUseDisparitySearchRangeRestriction ); 2468 2468 printf("Vertical disp search range : %d\n", m_iVerticalDisparitySearchRange ); -
branches/HTM-13.1-dev0/source/App/TAppEncoder/TAppEncCfg.h
r1164 r1166 289 289 Int m_iSearchRange; ///< ME search range 290 290 Int m_bipredSearchRange; ///< ME search range for bipred refinement 291 #if defSONY_MV_V_CONST_C0078291 #if SONY_MV_V_CONST_C0078 292 292 Bool m_bUseDisparitySearchRangeRestriction; ///< restrict vertical search range for inter-view prediction 293 293 Int m_iVerticalDisparitySearchRange; ///< ME vertical search range for inter-view prediction -
branches/HTM-13.1-dev0/source/Lib/TLibEncoder/TEncCfg.h
r1164 r1166 180 180 Int m_iSearchRange; // 0:Full frame 181 181 Int m_bipredSearchRange; 182 #if defSONY_MV_V_CONST_C0078182 #if SONY_MV_V_CONST_C0078 183 183 Bool m_bUseDisparitySearchRangeRestriction; 184 184 Int m_iVerticalDisparitySearchRange; … … 505 505 Void setSearchRange ( Int i ) { m_iSearchRange = i; } 506 506 Void setBipredSearchRange ( Int i ) { m_bipredSearchRange = i; } 507 #if defSONY_MV_V_CONST_C0078507 #if SONY_MV_V_CONST_C0078 508 508 Void setUseDisparitySearchRangeRestriction ( Bool b ) { m_bUseDisparitySearchRangeRestriction = b; } 509 509 Void setVerticalDisparitySearchRange ( Int i ) { m_iVerticalDisparitySearchRange = i; } … … 561 561 Int getFastSearch () { return m_iFastSearch; } 562 562 Int getSearchRange () { return m_iSearchRange; } 563 #if defSONY_MV_V_CONST_C0078563 #if SONY_MV_V_CONST_C0078 564 564 Bool getUseDisparitySearchRangeRestriction () { return m_bUseDisparitySearchRangeRestriction; } 565 565 Int getVerticalDisparitySearchRange () { return m_iVerticalDisparitySearchRange; } -
branches/HTM-13.1-dev0/source/Lib/TLibEncoder/TEncSearch.cpp
r1164 r1166 5500 5500 TComMv cMvPred = *pcMvPred; 5501 5501 5502 #if defSONY_MV_V_CONST_C00785502 #if SONY_MV_V_CONST_C0078 5503 5503 Bool bMv_VRng_Restricted = false; 5504 5504 if( m_pcEncCfg->getUseDisparitySearchRangeRestriction() … … 5567 5567 5568 5568 5569 #if defSONY_MV_V_CONST_C00785569 #if SONY_MV_V_CONST_C0078 5570 5570 Void TEncSearch::xSetSearchRange ( TComDataCU* pcCU, TComMv& cMvPred, Int iSrchRng, TComMv& rcMvSrchRngLT, TComMv& rcMvSrchRngRB, Bool bMv_VRng_Restricted, Int iVerDispSrchRng ) 5571 5571 #else … … 5587 5587 rcMvSrchRngRB.setVer( cTmpMvPred.getVer() + (iSrchRng << iMvShift) ); 5588 5588 5589 #if defSONY_MV_V_CONST_C00785589 #if SONY_MV_V_CONST_C0078 5590 5590 if ( bMv_VRng_Restricted ) { 5591 5591 Int iRestrictMvVrange = ( iVerDispSrchRng - 1 ) << iMvShift ; // -1 to consider subpel search -
branches/HTM-13.1-dev0/source/Lib/TLibEncoder/TEncSearch.h
r1164 r1166 480 480 UInt& ruiSAD ); 481 481 482 #if defSONY_MV_V_CONST_C0078482 #if SONY_MV_V_CONST_C0078 483 483 Void xSetSearchRange ( TComDataCU* pcCU, 484 484 TComMv& cMvPred,
Note: See TracChangeset for help on using the changeset viewer.