Ignore:
Timestamp:
18 Jun 2013, 05:16:27 (11 years ago)
Author:
mediatek-htm
Message:

Integration of 3D-HEVC merge related coding tools:
Inter-view motion merge candidate
HHI_INTER_VIEW_MOTION_PRED
SAIT_IMPROV_MOTION_PRED_M24829, improved inter-view motion vector prediction
QC_MRG_CANS_B0048 , JCT3V-B0048, B0086, B0069
OL_DISMV_POS_B0069 , different pos for disparity MV candidate, B0069
MTK_INTERVIEW_MERGE_A0049 , second part
QC_AMVP_MRG_UNIFY_IVCAN_C0051
TEXTURE MERGING CANDIDATE , JCT3V-C0137

Notes: Two configurations are added:
PredDepthMapGen : 1
MultiviewMvPred : 7

From: yiwen.chen@… (MediaTek)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp

    r446 r476  
    119119#endif
    120120  m_cLoopFilter.        create( g_uiMaxCUDepth );
    121  
     121
     122#if H_3D_IV_MERGE
     123  m_cDepthMapGenerator. create( false, getSourceWidth(), getSourceHeight(), g_uiMaxCUDepth, g_uiMaxCUWidth, g_uiMaxCUHeight, g_bitDepthY, PDM_SUB_SAMP_EXP_X(m_uiPredDepthMapGeneration), PDM_SUB_SAMP_EXP_Y(m_uiPredDepthMapGeneration) );
     124#endif
     125
    122126#if RATE_CONTROL_LAMBDA_DOMAIN
    123127  if ( m_RCEnableRateControl )
     
    225229  m_cLoopFilter.        destroy();
    226230  m_cRateCtrl.          destroy();
     231
     232#if H_3D_IV_MERGE
     233  m_cDepthMapGenerator. destroy();
     234#endif
    227235  // SBAC RD
    228236  if( m_bUseSBACRD )
     
    284292}
    285293
     294#if H_3D_IV_MERGE
     295Void TEncTop::init( TAppEncTop* pcTAppEncTop)
     296#else
    286297Void TEncTop::init()
     298#endif
    287299{
    288300  // initialize SPS
     
    306318  m_cCuEncoder.   init( this );
    307319 
     320#if H_3D_IV_MERGE
     321  m_pcTAppEncTop = pcTAppEncTop;
     322  m_cDepthMapGenerator.init( (TComPrediction*)this->getPredSearch(), m_pcTAppEncTop->getVPSAccess(), m_pcTAppEncTop->getSPSAccess(), m_pcTAppEncTop->getAUPicAccess() );
     323#endif
     324
    308325  // initialize transform & quantization class
    309326  m_pcCavlcCoder = getCavlcCoder();
     
    658675  {
    659676    m_cSPS.initCamParaSPS           ( m_viewIndex, m_uiCamParPrecision, m_bCamParInSliceHeader, m_aaiCodedScale, m_aaiCodedOffset );
    660   }
     677#if H_3D_IV_MERGE
     678    if( m_viewIndex )
     679    {
     680      m_cSPS.setPredDepthMapGeneration( m_viewIndex, false, m_uiPredDepthMapGeneration, m_uiMultiviewMvPredMode);
     681    }
     682    else
     683    {
     684      m_cSPS.setPredDepthMapGeneration( m_viewIndex, false );
     685    }
     686#endif
     687  }
     688#if H_3D_IV_MERGE
     689  else
     690  {
     691    m_cSPS.initCamParaSPSDepth           ( m_viewIndex);
     692    m_cSPS.setPredDepthMapGeneration( m_viewIndex, true );
     693  }
     694#endif
    661695#endif
    662696}
     
    13001334}
    13011335#endif
     1336
     1337
    13021338//! \}
Note: See TracChangeset for help on using the changeset viewer.