Ignore:
Timestamp:
17 Aug 2013, 01:38:28 (11 years ago)
Author:
hisilicon-htm
Message:

JCT3V-E0242:On DMM simplification
JCT3V-E0283:Fast Intra Prediction Mode Selection for Intra Depth Map Coding

File:
1 edited

Legend:

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

    r573 r582  
    28362836#if SCU_HS_FAST_DEPTH_INTRA_E0238
    28372837Int 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
     2838Int varThreshold = (Int)(threshold*threshold - 8);
     2839UInt uiVarCU=m_pcRdCost->calcVAR(piOrg, uiWidth,uiHeight,pcCU->getDepth(0));
     2840#endif
     2841
    28412842
    28422843#if H_3D_DIM_DMM
    2843        if( m_pcEncCfg->getUseDMM()
     2844      if( m_pcEncCfg->getUseDMM()
    28442845#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      {
    28492850        for( UInt dmmType = 0; dmmType < DMM_NUM_TYPE; dmmType++ )
    28502851        {
     
    29192920#endif
    29202921#if H_3D_DIM_RBC
    2921        if( m_pcEncCfg->getUseRBC()
     2922      if( m_pcEncCfg->getUseRBC()
    29222923#if SCU_HS_FAST_DEPTH_INTRA_E0238
    29232924          && (uiRdModeList[0] != 0 || uiVarCU >= varThreshold)
    29242925#endif
    2925          )
    2926        {
     2926        )
     2927      {
    29272928        if( xSearchRbcEdge( pcCU, uiPartOffset, piOrg, uiStride, uiWidth, uiHeight ) )
    29282929        {
Note: See TracChangeset for help on using the changeset viewer.