Changeset 1405 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
4 Aug 2015, 04:10:12 (9 years ago)
Author:
seregin
Message:

port rev 4558

Location:
branches/SHM-dev/source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1402 r1405  
    12871287  ("BipredSearchRange",                               m_bipredSearchRange,                                  4, "Motion search range for bipred refinement")
    12881288  ("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")
    12891290  ("ClipForBiPredMEEnabled",                          m_bClipForBiPredMeEnabled,                        false, "Enables clipping in the Bi-Pred ME. It is disabled to reduce encoder run-time")
    12901291  ("FastMEAssumingSmootherMVEnabled",                 m_bFastMEAssumingSmootherMVEnabled,                true, "Enables fast ME assuming a smoother MV.")
     
    45104511  printf("ASR:%d ", m_bUseASR                            );
    45114512  printf("MinSearchWindow:%d ", m_minSearchWindow        );
     4513  printf("RestrictMESampling:%d ", m_bRestrictMESampling );
    45124514  printf("FEN:%d ", Int(m_fastInterSearchMode)           );
    45134515  printf("ECU:%d ", m_bUseEarlyCU                        );
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1402 r1405  
    287287  Bool      m_bDisableIntraPUsInInterSlices;                  ///< Flag for disabling intra predicted PUs in inter slices.
    288288  Int       m_iFastSearch;                                    ///< ME mode, 0 = full, 1 = diamond, 2 = PMVFAST
     289  Bool      m_bRestrictMESampling;                            ///< Restrict sampling for the Selective ME
    289290  Int       m_iSearchRange;                                   ///< ME search range
    290291  Int       m_bipredSearchRange;                              ///< ME search range for bipred refinement
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1402 r1405  
    568568  m_cTEncTop.setFastMEAssumingSmootherMVEnabled                   ( m_bFastMEAssumingSmootherMVEnabled );
    569569  m_cTEncTop.setMinSearchWindow                                   ( m_minSearchWindow );
     570  m_cTEncTop.setRestrictMESampling                                ( m_bRestrictMESampling );
    570571
    571572  //====== Quality control ========
     
    653654
    654655  //====== Weighted Prediction ========
    655   m_cTEncTop.setUseWP                                             ( m_useWeightedPred      );
     656  m_cTEncTop.setUseWP                                             ( m_useWeightedPred     );
    656657  m_cTEncTop.setWPBiPred                                          ( m_useWeightedBiPred   );
     658
    657659  //====== Parallel Merge Estimation ========
    658660  m_cTEncTop.setLog2ParallelMergeLevelMinus2                      ( m_log2ParallelMergeLevel - 2 );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1402 r1405  
    181181  Bool      m_bFastMEAssumingSmootherMVEnabled;
    182182  Int       m_minSearchWindow;
     183  Bool      m_bRestrictMESampling;
    183184
    184185  //====== Quality control ========
     
    568569  Void      setFastMEAssumingSmootherMVEnabled ( Bool b )    { m_bFastMEAssumingSmootherMVEnabled = b; }
    569570  Void      setMinSearchWindow              ( Int   i )      { m_minSearchWindow = i; }
     571  Void      setRestrictMESampling           ( Bool  b )      { m_bRestrictMESampling = b; }
    570572
    571573  //====== Quality control ========
     
    641643  Bool      getFastMEAssumingSmootherMVEnabled () const { return m_bFastMEAssumingSmootherMVEnabled; }
    642644  Int       getMinSearchWindow                 () const { return m_minSearchWindow; }
     645  Bool      getRestrictMESampling              () const { return m_bRestrictMESampling; }
    643646
    644647  //==== Quality control ========
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1404 r1405  
    340340  m_cDistParam.m_maximumDistortionForEarlyExit = rcStruct.uiBestSad;
    341341
    342   if(m_pcEncCfg->getFastSearch() == SELECTIVE)
     342  if((m_pcEncCfg->getRestrictMESampling() == false) && m_pcEncCfg->getFastSearch() == SELECTIVE)
    343343  {
    344344    Int isubShift = 0;
Note: See TracChangeset for help on using the changeset viewer.