Changeset 479 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp
- Timestamp:
- 18 Jun 2013, 23:24:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp
r478 r479 120 120 m_cLoopFilter. create( g_uiMaxCUDepth ); 121 121 122 #if H_3D_IV_MERGE123 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 #endif125 122 #if RATE_CONTROL_LAMBDA_DOMAIN 126 123 if ( m_RCEnableRateControl ) … … 228 225 m_cLoopFilter. destroy(); 229 226 m_cRateCtrl. destroy(); 230 #if H_3D_IV_MERGE231 m_cDepthMapGenerator. destroy();232 #endif233 227 // SBAC RD 234 228 if( m_bUseSBACRD ) … … 290 284 } 291 285 292 #if H_3D_IV_MERGE293 Void TEncTop::init( TAppEncTop* pcTAppEncTop)294 #else295 286 Void TEncTop::init() 296 #endif297 287 { 298 288 // initialize SPS … … 316 306 m_cCuEncoder. init( this ); 317 307 318 #if H_3D_IV_MERGE319 m_pcTAppEncTop = pcTAppEncTop;320 m_cDepthMapGenerator.init( (TComPrediction*)this->getPredSearch(), m_pcTAppEncTop->getVPSAccess(), m_pcTAppEncTop->getSPSAccess(), m_pcTAppEncTop->getAUPicAccess() );321 #endif322 308 // initialize transform & quantization class 323 309 m_pcCavlcCoder = getCavlcCoder(); … … 672 658 { 673 659 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 } 692 661 #endif 693 662 }
Note: See TracChangeset for help on using the changeset viewer.