Changeset 1326 in SHVCSoftware for branches/SHM-dev/source/Lib


Ignore:
Timestamp:
22 Jul 2015, 00:42:03 (9 years ago)
Author:
seregin
Message:

port rev 4404

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/CommonDef.h

    r1323 r1326  
    207207#endif
    208208
    209 // Fast ME using smoother MV assumption
    210 #define FASTME_SMOOTHER_MV          1           ///< reduce ME time using faster option
    211 
    212209// Adaptive search range depending on POC difference
    213210#define ADAPT_SR_SCALE              1           ///< division factor for adaptive search range
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1325 r1326  
    173173  Int       m_bipredSearchRange;
    174174  Bool      m_bClipForBiPredMeEnabled;
     175  Bool      m_bFastMEAssumingSmootherMVEnabled;
    175176
    176177  //====== Quality control ========
     
    548549  Void      setBipredSearchRange            ( Int   i )      { m_bipredSearchRange = i; }
    549550  Void      setClipForBiPredMeEnabled       ( Bool  b )      { m_bClipForBiPredMeEnabled = b; }
     551  Void      setFastMEAssumingSmootherMVEnabled ( Bool b )    { m_bFastMEAssumingSmootherMVEnabled = b; }
    550552
    551553  //====== Quality control ========
     
    613615  Int       getSearchRange                  () const { return m_iSearchRange; }
    614616  Bool      getClipForBiPredMeEnabled       () const { return m_bClipForBiPredMeEnabled; }
     617  Bool      getFastMEAssumingSmootherMVEnabled ( ) const { return m_bFastMEAssumingSmootherMVEnabled; }
    615618
    616619  //==== Quality control ========
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1324 r1326  
    295295}
    296296
    297 #if FASTME_SMOOTHER_MV
    298 #define FIRSTSEARCHSTOP     1
    299 #else
    300 #define FIRSTSEARCHSTOP     0
    301 #endif
    302 
    303297#define TZ_SEARCH_CONFIGURATION                                                                                 \
    304298const Int  iRaster                  = 5;  /* TZ soll von aussen ?ergeben werden */                            \
     
    308302const Bool bTestZeroVectorStop      = 0;                                                                      \
    309303const Bool bFirstSearchDiamond      = 1;  /* 1 = xTZ8PointDiamondSearch   0 = xTZ8PointSquareSearch */        \
    310 const Bool bFirstSearchStop         = FIRSTSEARCHSTOP;                                                        \
     304const Bool bFirstSearchStop         = m_pcEncCfg->getFastMEAssumingSmootherMVEnabled();                       \
    311305const UInt uiFirstSearchRounds      = 3;  /* first search stop X rounds after best match (must be >=1) */     \
    312306const Bool bEnableRasterSearch      = 1;                                                                      \
Note: See TracChangeset for help on using the changeset viewer.