Changeset 573 in 3DVCSoftware for branches/HTM-DEV-2.0-dev3-SCU-Hisilicon/source/Lib/TLibEncoder
- Timestamp:
- 14 Aug 2013, 21:05:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-2.0-dev3-SCU-Hisilicon/source/Lib/TLibEncoder/TEncSearch.cpp
r557 r573 2833 2833 if( m_pcEncCfg->getIsDepth() && uiWidth >= DIM_MIN_SIZE && uiWidth <= DIM_MAX_SIZE && uiWidth == uiHeight ) 2834 2834 { 2835 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,pcCU->getDepth(0)); 2840 #endif 2841 2835 2842 #if H_3D_DIM_DMM 2836 if( m_pcEncCfg->getUseDMM() ) 2837 { 2843 if( m_pcEncCfg->getUseDMM() 2844 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2845 && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold) 2846 #endif 2847 ) 2848 { 2838 2849 for( UInt dmmType = 0; dmmType < DMM_NUM_TYPE; dmmType++ ) 2839 2850 { … … 2908 2919 #endif 2909 2920 #if H_3D_DIM_RBC 2910 if( m_pcEncCfg->getUseRBC() ) 2911 { 2921 if( m_pcEncCfg->getUseRBC() 2922 #if SCU_HS_FAST_DEPTH_INTRA_E0238 2923 && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold) 2924 #endif 2925 ) 2926 { 2912 2927 if( xSearchRbcEdge( pcCU, uiPartOffset, piOrg, uiStride, uiWidth, uiHeight ) ) 2913 2928 {
Note: See TracChangeset for help on using the changeset viewer.