Changeset 1326 in SHVCSoftware
- Timestamp:
- 22 Jul 2015, 00:42:03 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1325 r1326 1286 1286 ("BipredSearchRange", m_bipredSearchRange, 4, "Motion search range for bipred refinement") 1287 1287 ("ClipForBiPredMEEnabled", m_bClipForBiPredMeEnabled, false, "Enables clipping in the Bi-Pred ME. It is disabled to reduce encoder run-time") 1288 ("FastMEAssumingSmootherMVEnabled", m_bFastMEAssumingSmootherMVEnabled, true, "Enables fast ME assuming a smoother MV.") 1289 1288 1290 ("HadamardME", m_bUseHADME, true, "Hadamard ME for fractional-pel") 1289 1291 ("ASR", m_bUseASR, false, "Adaptive motion search range") -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1325 r1326 86 86 std::vector<Int> m_numOutputLayersInOutputLayerSet; 87 87 std::vector< std::vector<Int> > m_listOfOutputLayers; 88 Bool m_isField; ///< enable field coding89 Bool m_isTopFieldFirst;90 Bool m_bEfficientFieldIRAPEnabled; ///< enable an efficient field IRAP structure.91 88 #else 92 89 Char* m_pchInputFile; ///< source file name … … 101 98 102 99 Int m_iSourceHeightOrg; ///< original source height in pixel (when interlaced = frame height) 103 100 #endif 104 101 Bool m_isField; ///< enable field coding 105 102 Bool m_isTopFieldFirst; 106 103 Bool m_bEfficientFieldIRAPEnabled; ///< enable an efficient field IRAP structure. 107 104 105 #if !SVC_EXTENSION 108 106 Int m_conformanceWindowMode; 109 107 Int m_confWinLeft; … … 279 277 Int m_bipredSearchRange; ///< ME search range for bipred refinement 280 278 Bool m_bClipForBiPredMeEnabled; ///< Enables clipping for Bi-Pred ME. 279 Bool m_bFastMEAssumingSmootherMVEnabled; ///< Enables fast ME assuming a smoother MV. 281 280 Bool m_bUseFastEnc; ///< flag for using fast encoder setting 282 281 Bool m_bUseEarlyCU; ///< flag for using Early CU setting -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1325 r1326 410 410 m_acTEncTop[layer].setBipredSearchRange ( m_bipredSearchRange ); 411 411 m_acTEncTop[layer].setClipForBiPredMeEnabled ( m_bClipForBiPredMeEnabled ); 412 m_acTEncTop[layer].setFastMEAssumingSmootherMVEnabled ( m_bFastMEAssumingSmootherMVEnabled ); 412 413 413 414 //====== Quality control ======== … … 848 849 m_cTEncTop.setBipredSearchRange ( m_bipredSearchRange ); 849 850 m_cTEncTop.setClipForBiPredMeEnabled ( m_bClipForBiPredMeEnabled ); 851 m_cTEncTop.setFastMEAssumingSmootherMVEnabled ( m_bFastMEAssumingSmootherMVEnabled ); 850 852 851 853 //====== Quality control ======== -
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.