Changeset 197 in 3DVCSoftware for branches/HTM-5.0-Sony/source/App
- Timestamp:
- 28 Nov 2012, 07:21:58 (12 years ago)
- Location:
- branches/HTM-5.0-Sony/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.0-Sony/source/App/TAppEncoder/TAppEncCfg.cpp
r195 r197 276 276 ("FastSearch", m_iFastSearch, 1, "0:Full search 1:Diamond 2:PMVFAST") 277 277 ("SearchRange,-sr",m_iSearchRange, 96, "motion search range") 278 #if DV_V_RESTRICTION_B0037 279 ("DisparitySearchRangeRestriction",m_bUseDisparitySearchRangeRestriction, false, "restrict disparity search range") 280 ("VerticalDisparitySearchRange",m_iVerticalDisparitySearchRange, 56, "vertical disparity search range") 281 #endif 278 282 ("BipredSearchRange", m_bipredSearchRange, 4, "motion search range for bipred refinement") 279 283 ("HadamardME", m_bUseHADME, true, "hadamard ME for fractional-pel") … … 856 860 xConfirmPara( m_iFastSearch < 0 || m_iFastSearch > 2, "Fast Search Mode is not supported value (0:Full search 1:Diamond 2:PMVFAST)" ); 857 861 xConfirmPara( m_iSearchRange < 0 , "Search Range must be more than 0" ); 862 #if DV_V_RESTRICTION_B0037 863 xConfirmPara( m_iVerticalDisparitySearchRange <= 0 , "Vertical Disparity Search Range must be more than 0" ); 864 #endif 858 865 xConfirmPara( m_bipredSearchRange < 0 , "Search Range must be more than 0" ); 859 866 xConfirmPara( m_iMaxDeltaQP > 7, "Absolute Delta QP exceeds supported range (0 to 7)" ); … … 1601 1608 printf("Min PCM size : %d\n", 1 << m_uiPCMLog2MinSize); 1602 1609 printf("Motion search range : %d\n", m_iSearchRange ); 1610 #if DV_V_RESTRICTION_B0037 1611 printf("Disp search range restriction: %d\n", m_bUseDisparitySearchRangeRestriction ); 1612 printf("Vertical disp search range : %d\n", m_iVerticalDisparitySearchRange ); 1613 #endif 1603 1614 printf("Intra period : %d\n", m_iIntraPeriod ); 1604 1615 printf("Decoding refresh type : %d\n", m_iDecodingRefreshType ); -
branches/HTM-5.0-Sony/source/App/TAppEncoder/TAppEncCfg.h
r195 r197 203 203 Int m_iFastSearch; ///< ME mode, 0 = full, 1 = diamond, 2 = PMVFAST 204 204 Int m_iSearchRange; ///< ME search range 205 #if DV_V_RESTRICTION_B0037 206 Bool m_bUseDisparitySearchRangeRestriction; ///< restrict vertical search range for inter-view prediction 207 Int m_iVerticalDisparitySearchRange; ///< ME vertical search range for inter-view prediction 208 #endif 205 209 Int m_bipredSearchRange; ///< ME search range for bipred refinement 206 210 Bool m_bUseFastEnc; ///< flag for using fast encoder setting -
branches/HTM-5.0-Sony/source/App/TAppEncoder/TAppEncTop.cpp
r195 r197 181 181 m_acTEncTopList[iViewIdx]->setSearchRange ( m_iSearchRange ); 182 182 m_acTEncTopList[iViewIdx]->setBipredSearchRange ( m_bipredSearchRange ); 183 183 #if DV_V_RESTRICTION_B0037 184 m_acTEncTopList[iViewIdx]->setUseDisparitySearchRangeRestriction ( m_bUseDisparitySearchRangeRestriction ); 185 m_acTEncTopList[iViewIdx]->setVerticalDisparitySearchRange( m_iVerticalDisparitySearchRange ); 186 #endif 184 187 //====== Quality control ======== 185 188 m_acTEncTopList[iViewIdx]->setMaxDeltaQP ( m_iMaxDeltaQP ); … … 488 491 m_acTEncDepthTopList[iViewIdx]->setSearchRange ( m_iSearchRange ); 489 492 m_acTEncDepthTopList[iViewIdx]->setBipredSearchRange ( m_bipredSearchRange ); 490 493 #if DV_V_RESTRICTION_B0037 494 m_acTEncDepthTopList[iViewIdx]->setUseDisparitySearchRangeRestriction ( m_bUseDisparitySearchRangeRestriction ); 495 m_acTEncDepthTopList[iViewIdx]->setVerticalDisparitySearchRange( m_iVerticalDisparitySearchRange ); 496 #endif 491 497 //====== Quality control ======== 492 498 m_acTEncDepthTopList[iViewIdx]->setMaxDeltaQP ( m_iMaxDeltaQP );
Note: See TracChangeset for help on using the changeset viewer.