Changeset 1406 in SHVCSoftware for branches/SHM-dev/source/App
- Timestamp:
- 4 Aug 2015, 04:17:29 (9 years ago)
- Location:
- branches/SHM-dev/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1405 r1406 977 977 Int tmpWeightedPredictionMethod; 978 978 Int tmpFastInterSearchMode; 979 Int tmpMotionEstimationSearchMethod; 979 980 string inputColourSpaceConvert; 980 981 #if SVC_EXTENSION … … 1283 1284 // motion search options 1284 1285 ("DisableIntraInInter", m_bDisableIntraPUsInInterSlices, false, "Flag to disable intra PUs in inter slices") 1285 ("FastSearch", m_iFastSearch, 1, "0:Full search 1:Diamond 2:PMVFAST")1286 ("FastSearch", tmpMotionEstimationSearchMethod, Int(MESEARCH_DIAMOND), "0:Full search 1:Diamond 2:Selective") 1286 1287 ("SearchRange,-sr", m_iSearchRange, 96, "Motion search range") 1287 1288 ("BipredSearchRange", m_bipredSearchRange, 4, "Motion search range for bipred refinement") … … 2045 2046 m_fastInterSearchMode = FastInterSearchMode(tmpFastInterSearchMode); 2046 2047 2048 assert(tmpMotionEstimationSearchMethod>=0 && tmpMotionEstimationSearchMethod<MESEARCH_NUMBER_OF_METHODS); 2049 if (tmpMotionEstimationSearchMethod<0 || tmpMotionEstimationSearchMethod>=MESEARCH_NUMBER_OF_METHODS) 2050 { 2051 exit(EXIT_FAILURE); 2052 } 2053 m_motionEstimationSearchMethod=MESearchMethod(tmpMotionEstimationSearchMethod); 2054 2047 2055 #if !SVC_EXTENSION 2048 2056 if (extendedProfile >= 1000 && extendedProfile <= 12316) … … 3220 3228 xConfirmPara( m_loopFilterBetaOffsetDiv2 < -6 || m_loopFilterBetaOffsetDiv2 > 6, "Loop Filter Beta Offset div. 2 exceeds supported range (-6 to 6)"); 3221 3229 xConfirmPara( m_loopFilterTcOffsetDiv2 < -6 || m_loopFilterTcOffsetDiv2 > 6, "Loop Filter Tc Offset div. 2 exceeds supported range (-6 to 6)"); 3222 xConfirmPara( m_iFastSearch < 0 || m_iFastSearch > 2, "Fast Search Mode is not supported value (0:Full search 1:Diamond 2:PMVFAST)" );3223 3230 xConfirmPara( m_iSearchRange < 0 , "Search Range must be more than 0" ); 3224 3231 xConfirmPara( m_bipredSearchRange < 0 , "Bi-prediction refinement search range must be more than 0" ); -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1405 r1406 286 286 Int m_rdPenalty; ///< RD-penalty for 32x32 TU for intra in non-intra slices (0: no RD-penalty, 1: RD-penalty, 2: maximum RD-penalty) 287 287 Bool m_bDisableIntraPUsInInterSlices; ///< Flag for disabling intra predicted PUs in inter slices. 288 Int m_iFastSearch; ///< ME mode, 0 = full, 1 = diamond, 2 = PMVFAST288 MESearchMethod m_motionEstimationSearchMethod; 289 289 Bool m_bRestrictMESampling; ///< Restrict sampling for the Selective ME 290 290 Int m_iSearchRange; ///< ME search range -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1405 r1406 562 562 //====== Motion search ======== 563 563 m_cTEncTop.setDisableIntraPUsInInterSlices ( m_bDisableIntraPUsInInterSlices ); 564 m_cTEncTop.set FastSearch ( m_iFastSearch);564 m_cTEncTop.setMotionEstimationSearchMethod ( m_motionEstimationSearchMethod ); 565 565 m_cTEncTop.setSearchRange ( m_iSearchRange ); 566 566 m_cTEncTop.setBipredSearchRange ( m_bipredSearchRange );
Note: See TracChangeset for help on using the changeset viewer.