Changeset 582 in 3DVCSoftware for branches/HTM-DEV-2.0-dev3-SCU-Hisilicon/source/Lib/TLibEncoder
- Timestamp:
- 17 Aug 2013, 01:38:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-2.0-dev3-SCU-Hisilicon/source/Lib/TLibEncoder/TEncSearch.cpp
r573 r582 2836 2836 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2837 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,pcCU->getDepth(0)); 2840 #endif 2838 Int varThreshold = (Int)(threshold*threshold - 8); 2839 UInt uiVarCU=m_pcRdCost->calcVAR(piOrg, uiWidth,uiHeight,pcCU->getDepth(0)); 2840 #endif 2841 2841 2842 2842 2843 #if H_3D_DIM_DMM 2843 2844 if( m_pcEncCfg->getUseDMM() 2844 2845 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2845 && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold)2846 #endif 2847 2848 2846 && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold) 2847 #endif 2848 ) 2849 { 2849 2850 for( UInt dmmType = 0; dmmType < DMM_NUM_TYPE; dmmType++ ) 2850 2851 { … … 2919 2920 #endif 2920 2921 #if H_3D_DIM_RBC 2921 2922 if( m_pcEncCfg->getUseRBC() 2922 2923 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2923 2924 && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold) 2924 2925 #endif 2925 2926 2926 ) 2927 { 2927 2928 if( xSearchRbcEdge( pcCU, uiPartOffset, piOrg, uiStride, uiWidth, uiHeight ) ) 2928 2929 {
Note: See TracChangeset for help on using the changeset viewer.