Changeset 1405 in SHVCSoftware
- Timestamp:
- 4 Aug 2015, 04:10:12 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1402 r1405 1287 1287 ("BipredSearchRange", m_bipredSearchRange, 4, "Motion search range for bipred refinement") 1288 1288 ("MinSearchWindow", m_minSearchWindow, 8, "Minimum motion search window size for the adaptive window ME") 1289 ("RestrictMESampling", m_bRestrictMESampling, false, "Restrict ME Sampling for selective inter motion search") 1289 1290 ("ClipForBiPredMEEnabled", m_bClipForBiPredMeEnabled, false, "Enables clipping in the Bi-Pred ME. It is disabled to reduce encoder run-time") 1290 1291 ("FastMEAssumingSmootherMVEnabled", m_bFastMEAssumingSmootherMVEnabled, true, "Enables fast ME assuming a smoother MV.") … … 4510 4511 printf("ASR:%d ", m_bUseASR ); 4511 4512 printf("MinSearchWindow:%d ", m_minSearchWindow ); 4513 printf("RestrictMESampling:%d ", m_bRestrictMESampling ); 4512 4514 printf("FEN:%d ", Int(m_fastInterSearchMode) ); 4513 4515 printf("ECU:%d ", m_bUseEarlyCU ); -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1402 r1405 287 287 Bool m_bDisableIntraPUsInInterSlices; ///< Flag for disabling intra predicted PUs in inter slices. 288 288 Int m_iFastSearch; ///< ME mode, 0 = full, 1 = diamond, 2 = PMVFAST 289 Bool m_bRestrictMESampling; ///< Restrict sampling for the Selective ME 289 290 Int m_iSearchRange; ///< ME search range 290 291 Int m_bipredSearchRange; ///< ME search range for bipred refinement -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1402 r1405 568 568 m_cTEncTop.setFastMEAssumingSmootherMVEnabled ( m_bFastMEAssumingSmootherMVEnabled ); 569 569 m_cTEncTop.setMinSearchWindow ( m_minSearchWindow ); 570 m_cTEncTop.setRestrictMESampling ( m_bRestrictMESampling ); 570 571 571 572 //====== Quality control ======== … … 653 654 654 655 //====== Weighted Prediction ======== 655 m_cTEncTop.setUseWP ( m_useWeightedPred 656 m_cTEncTop.setUseWP ( m_useWeightedPred ); 656 657 m_cTEncTop.setWPBiPred ( m_useWeightedBiPred ); 658 657 659 //====== Parallel Merge Estimation ======== 658 660 m_cTEncTop.setLog2ParallelMergeLevelMinus2 ( m_log2ParallelMergeLevel - 2 ); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1402 r1405 181 181 Bool m_bFastMEAssumingSmootherMVEnabled; 182 182 Int m_minSearchWindow; 183 Bool m_bRestrictMESampling; 183 184 184 185 //====== Quality control ======== … … 568 569 Void setFastMEAssumingSmootherMVEnabled ( Bool b ) { m_bFastMEAssumingSmootherMVEnabled = b; } 569 570 Void setMinSearchWindow ( Int i ) { m_minSearchWindow = i; } 571 Void setRestrictMESampling ( Bool b ) { m_bRestrictMESampling = b; } 570 572 571 573 //====== Quality control ======== … … 641 643 Bool getFastMEAssumingSmootherMVEnabled () const { return m_bFastMEAssumingSmootherMVEnabled; } 642 644 Int getMinSearchWindow () const { return m_minSearchWindow; } 645 Bool getRestrictMESampling () const { return m_bRestrictMESampling; } 643 646 644 647 //==== Quality control ======== -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp
r1404 r1405 340 340 m_cDistParam.m_maximumDistortionForEarlyExit = rcStruct.uiBestSad; 341 341 342 if( m_pcEncCfg->getFastSearch() == SELECTIVE)342 if((m_pcEncCfg->getRestrictMESampling() == false) && m_pcEncCfg->getFastSearch() == SELECTIVE) 343 343 { 344 344 Int isubShift = 0;
Note: See TracChangeset for help on using the changeset viewer.