Ignore:
Timestamp:
18 Jun 2013, 23:24:53 (11 years ago)
Author:
tech
Message:
  • changed IV-MERGE HLS to match Test Model 4 spec
  • incorporated iv-refpic list to TComSlice
  • removed TComDepthMapGenerator
File:
1 edited

Legend:

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

    r478 r479  
    120120  m_cLoopFilter.        create( g_uiMaxCUDepth );
    121121
    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
    125122#if RATE_CONTROL_LAMBDA_DOMAIN
    126123  if ( m_RCEnableRateControl )
     
    228225  m_cLoopFilter.        destroy();
    229226  m_cRateCtrl.          destroy();
    230 #if H_3D_IV_MERGE
    231   m_cDepthMapGenerator. destroy();
    232 #endif
    233227  // SBAC RD
    234228  if( m_bUseSBACRD )
     
    290284}
    291285
    292 #if H_3D_IV_MERGE
    293 Void TEncTop::init( TAppEncTop* pcTAppEncTop)
    294 #else
    295286Void TEncTop::init()
    296 #endif
    297287{
    298288  // initialize SPS
     
    316306  m_cCuEncoder.   init( this );
    317307 
    318 #if H_3D_IV_MERGE
    319   m_pcTAppEncTop = pcTAppEncTop;
    320   m_cDepthMapGenerator.init( (TComPrediction*)this->getPredSearch(), m_pcTAppEncTop->getVPSAccess(), m_pcTAppEncTop->getSPSAccess(), m_pcTAppEncTop->getAUPicAccess() );
    321 #endif
    322308  // initialize transform & quantization class
    323309  m_pcCavlcCoder = getCavlcCoder();
     
    672658  {
    673659    m_cSPS.initCamParaSPS           ( m_viewIndex, m_uiCamParPrecision, m_bCamParInSliceHeader, m_aaiCodedScale, m_aaiCodedOffset );
    674 #if H_3D_IV_MERGE
    675     if( m_viewIndex )
    676     {
    677       m_cSPS.setPredDepthMapGeneration( m_viewIndex, false, m_uiPredDepthMapGeneration, m_uiMultiviewMvPredMode);
    678     }
    679     else
    680     {
    681       m_cSPS.setPredDepthMapGeneration( m_viewIndex, false );
    682     }
    683 #endif
    684   }
    685 #if H_3D_IV_MERGE
    686   else
    687   {
    688     m_cSPS.initCamParaSPSDepth           ( m_viewIndex);
    689     m_cSPS.setPredDepthMapGeneration( m_viewIndex, true );
    690   }
    691 #endif
     660  }
    692661#endif
    693662}
Note: See TracChangeset for help on using the changeset viewer.