Changeset 583 in 3DVCSoftware for branches/HTM-DEV-2.0-dev3-SCU-Hisilicon/source/Lib/TLibEncoder
- Timestamp:
- 17 Aug 2013, 15:12:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-2.0-dev3-SCU-Hisilicon/source/Lib/TLibEncoder/TEncSearch.cpp
r582 r583 2835 2835 2836 2836 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2837 Int threshold= max(((pcCU->getQP(0))>>3)-1,3);2838 Int varThreshold = (Int)(threshold*threshold - 8);2839 UInt uiVarCU=m_pcRdCost->calcVAR(piOrg, uiWidth,uiHeight,pcCU->getDepth(0));2837 Int threshold = max(((pcCU->getQP(0))>>3)-1,3); 2838 Int varThreshold = (Int)( threshold * threshold - 8 ); 2839 UInt varCU = m_pcRdCost->calcVAR(piOrg, uiStride, uiWidth,uiHeight,pcCU->getDepth(0)); 2840 2840 #endif 2841 2841 … … 2844 2844 if( m_pcEncCfg->getUseDMM() 2845 2845 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2846 && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold)2846 && (uiRdModeList[0] != 0 || varCU >= varThreshold) 2847 2847 #endif 2848 2848 ) … … 2922 2922 if( m_pcEncCfg->getUseRBC() 2923 2923 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2924 && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold)2924 && (uiRdModeList[0] != 0 || varCU >= varThreshold) 2925 2925 #endif 2926 2926 )
Note: See TracChangeset for help on using the changeset viewer.