Changeset 1324 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


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

port rev 4402

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1322 r1324  
    172172  Int       m_iSearchRange;                     //  0:Full frame
    173173  Int       m_bipredSearchRange;
     174  Bool      m_bClipForBiPredMeEnabled;
    174175
    175176  //====== Quality control ========
     
    544545  Void      setSearchRange                  ( Int   i )      { m_iSearchRange = i; }
    545546  Void      setBipredSearchRange            ( Int   i )      { m_bipredSearchRange = i; }
     547  Void      setClipForBiPredMeEnabled       ( Bool  b )      { m_bClipForBiPredMeEnabled = b; }
    546548
    547549  //====== Quality control ========
     
    606608  //==== Motion search ========
    607609  Bool      getDisableIntraPUsInInterSlices () const { return m_bDisableIntraPUsInInterSlices; }
    608   Int       getFastSearch                   ()      { return  m_iFastSearch; }
    609   Int       getSearchRange                  ()      { return  m_iSearchRange; }
     610  Int       getFastSearch                   () const { return m_iFastSearch; }
     611  Int       getSearchRange                  () const { return m_iSearchRange; }
     612  Bool      getClipForBiPredMeEnabled       () const { return m_bClipForBiPredMeEnabled; }
    610613
    611614  //==== Quality control ========
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1317 r1324  
    38923892    pcYuvOrg->copyPartToPartYuv( pcYuv, uiPartAddr, iRoiWidth, iRoiHeight );
    38933893
    3894     pcYuv->removeHighFreq( pcYuvOther, uiPartAddr, iRoiWidth, iRoiHeight
    3895 #if !DISABLING_CLIP_FOR_BIPREDME
    3896                           , pcCU->getSlice()->getSPS()->getBitDepths().recon
    3897 #endif
    3898                           );
     3894    pcYuv->removeHighFreq( pcYuvOther, uiPartAddr, iRoiWidth, iRoiHeight, pcCU->getSlice()->getSPS()->getBitDepths().recon, m_pcEncCfg->getClipForBiPredMeEnabled() );
    38993895
    39003896    fWeight = 0.5;
Note: See TracChangeset for help on using the changeset viewer.