Changeset 1402 in SHVCSoftware for branches/SHM-dev/source/App
- Timestamp:
- 4 Aug 2015, 03:59:05 (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
r1401 r1402 976 976 Int tmpConstraintChromaFormat; 977 977 Int tmpWeightedPredictionMethod; 978 Int tmpFastInterSearchMode; 978 979 string inputColourSpaceConvert; 979 980 #if SVC_EXTENSION … … 1427 1428 "\t0: disable") 1428 1429 ("TMVPMode", m_TMVPModeId, 1, "TMVP mode 0: TMVP disable for all slices. 1: TMVP enable for all slices (default) 2: TMVP enable for certain slices only") 1429 ("FEN", m_bUseFastEnc, false, "fast encoder setting")1430 ("FEN", tmpFastInterSearchMode, Int(FASTINTERSEARCH_DISABLED), "fast encoder setting") 1430 1431 ("ECU", m_bUseEarlyCU, false, "Early CU setting") 1431 1432 ("FDM", m_useFastDecisionForMerge, true, "Fast decision for Merge RD Cost") … … 2036 2037 m_weightedPredictionMethod = WeightedPredictionMethod(tmpWeightedPredictionMethod); 2037 2038 2039 assert(tmpFastInterSearchMode>=0 && tmpFastInterSearchMode<=FASTINTERSEARCH_MODE3); 2040 if (tmpFastInterSearchMode<0 || tmpFastInterSearchMode>FASTINTERSEARCH_MODE3) 2041 { 2042 exit(EXIT_FAILURE); 2043 } 2044 m_fastInterSearchMode = FastInterSearchMode(tmpFastInterSearchMode); 2045 2038 2046 #if !SVC_EXTENSION 2039 2047 if (extendedProfile >= 1000 && extendedProfile <= 12316) … … 4502 4510 printf("ASR:%d ", m_bUseASR ); 4503 4511 printf("MinSearchWindow:%d ", m_minSearchWindow ); 4504 printf("FEN:%d ", m_bUseFastEnc);4512 printf("FEN:%d ", Int(m_fastInterSearchMode) ); 4505 4513 printf("ECU:%d ", m_bUseEarlyCU ); 4506 4514 printf("FDM:%d ", m_useFastDecisionForMerge ); -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1401 r1402 292 292 Bool m_bClipForBiPredMeEnabled; ///< Enables clipping for Bi-Pred ME. 293 293 Bool m_bFastMEAssumingSmootherMVEnabled; ///< Enables fast ME assuming a smoother MV. 294 Bool m_bUseFastEnc; ///< flag for using fast encoder setting294 FastInterSearchMode m_fastInterSearchMode; ///< Parameter that controls fast encoder settings 295 295 Bool m_bUseEarlyCU; ///< flag for using Early CU setting 296 296 Bool m_useFastDecisionForMerge; ///< flag for using Fast Decision Merge RD-Cost -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1401 r1402 609 609 m_cTEncTop.setQuadtreeTUMaxDepthInter ( m_uiQuadtreeTUMaxDepthInter ); 610 610 m_cTEncTop.setQuadtreeTUMaxDepthIntra ( m_uiQuadtreeTUMaxDepthIntra ); 611 m_cTEncTop.set UseFastEnc ( m_bUseFastEnc);611 m_cTEncTop.setFastInterSearchMode ( m_fastInterSearchMode ); 612 612 m_cTEncTop.setUseEarlyCU ( m_bUseEarlyCU ); 613 613 m_cTEncTop.setUseFastDecisionForMerge ( m_useFastDecisionForMerge );
Note: See TracChangeset for help on using the changeset viewer.