Changeset 476 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp
- Timestamp:
- 18 Jun 2013, 05:16:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp
r446 r476 119 119 #endif 120 120 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 122 126 #if RATE_CONTROL_LAMBDA_DOMAIN 123 127 if ( m_RCEnableRateControl ) … … 225 229 m_cLoopFilter. destroy(); 226 230 m_cRateCtrl. destroy(); 231 232 #if H_3D_IV_MERGE 233 m_cDepthMapGenerator. destroy(); 234 #endif 227 235 // SBAC RD 228 236 if( m_bUseSBACRD ) … … 284 292 } 285 293 294 #if H_3D_IV_MERGE 295 Void TEncTop::init( TAppEncTop* pcTAppEncTop) 296 #else 286 297 Void TEncTop::init() 298 #endif 287 299 { 288 300 // initialize SPS … … 306 318 m_cCuEncoder. init( this ); 307 319 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 308 325 // initialize transform & quantization class 309 326 m_pcCavlcCoder = getCavlcCoder(); … … 658 675 { 659 676 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 661 695 #endif 662 696 } … … 1300 1334 } 1301 1335 #endif 1336 1337 1302 1338 //! \}
Note: See TracChangeset for help on using the changeset viewer.