Ignore:
Timestamp:
17 Aug 2013, 15:12:24 (11 years ago)
Author:
tech
Message:

Clean ups related to SCU_HS_FAST_DEPTH_INTRA_E0238

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-2.0-dev3-SCU-Hisilicon/source/Lib/TLibEncoder/TEncSearch.cpp

    r582 r583  
    28352835
    28362836#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));
    28402840#endif
    28412841
     
    28442844      if( m_pcEncCfg->getUseDMM()
    28452845#if SCU_HS_FAST_DEPTH_INTRA_E0238
    2846          && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold)
     2846         && (uiRdModeList[0] != 0 || varCU >= varThreshold)
    28472847#endif
    28482848        )
     
    29222922      if( m_pcEncCfg->getUseRBC()
    29232923#if SCU_HS_FAST_DEPTH_INTRA_E0238
    2924           && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold)
     2924          && (uiRdModeList[0] != 0 || varCU >= varThreshold)
    29252925#endif
    29262926        )
Note: See TracChangeset for help on using the changeset viewer.