Changeset 1326 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 22 Jul 2015, 00:42:03 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/CommonDef.h
r1323 r1326 207 207 #endif 208 208 209 // Fast ME using smoother MV assumption210 #define FASTME_SMOOTHER_MV 1 ///< reduce ME time using faster option211 212 209 // Adaptive search range depending on POC difference 213 210 #define ADAPT_SR_SCALE 1 ///< division factor for adaptive search range -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1325 r1326 173 173 Int m_bipredSearchRange; 174 174 Bool m_bClipForBiPredMeEnabled; 175 Bool m_bFastMEAssumingSmootherMVEnabled; 175 176 176 177 //====== Quality control ======== … … 548 549 Void setBipredSearchRange ( Int i ) { m_bipredSearchRange = i; } 549 550 Void setClipForBiPredMeEnabled ( Bool b ) { m_bClipForBiPredMeEnabled = b; } 551 Void setFastMEAssumingSmootherMVEnabled ( Bool b ) { m_bFastMEAssumingSmootherMVEnabled = b; } 550 552 551 553 //====== Quality control ======== … … 613 615 Int getSearchRange () const { return m_iSearchRange; } 614 616 Bool getClipForBiPredMeEnabled () const { return m_bClipForBiPredMeEnabled; } 617 Bool getFastMEAssumingSmootherMVEnabled ( ) const { return m_bFastMEAssumingSmootherMVEnabled; } 615 618 616 619 //==== Quality control ======== -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp
r1324 r1326 295 295 } 296 296 297 #if FASTME_SMOOTHER_MV298 #define FIRSTSEARCHSTOP 1299 #else300 #define FIRSTSEARCHSTOP 0301 #endif302 303 297 #define TZ_SEARCH_CONFIGURATION \ 304 298 const Int iRaster = 5; /* TZ soll von aussen ?ergeben werden */ \ … … 308 302 const Bool bTestZeroVectorStop = 0; \ 309 303 const Bool bFirstSearchDiamond = 1; /* 1 = xTZ8PointDiamondSearch 0 = xTZ8PointSquareSearch */ \ 310 const Bool bFirstSearchStop = FIRSTSEARCHSTOP;\304 const Bool bFirstSearchStop = m_pcEncCfg->getFastMEAssumingSmootherMVEnabled(); \ 311 305 const UInt uiFirstSearchRounds = 3; /* first search stop X rounds after best match (must be >=1) */ \ 312 306 const Bool bEnableRasterSearch = 1; \
Note: See TracChangeset for help on using the changeset viewer.