Changeset 71 in 3DVCSoftware for branches/HTM-3.0-Vidyo/source/Lib/TLibDecoder
- Timestamp:
- 5 Jun 2012, 04:47:14 (13 years ago)
- Location:
- branches/HTM-3.0-Vidyo/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-3.0-Vidyo/source/Lib/TLibDecoder/TDecCAVLC.cpp
r70 r71 1349 1349 READ_FLAG( uiCode, "temporal_id_nesting_flag" ); pcVPS->setTemporalNestingFlag( uiCode ? true:false ); 1350 1350 READ_UVLC( uiCode, "video_parameter_set_id" ); pcVPS->setVPSId( uiCode ); 1351 for(UInt i =0; i <= pcVPS->getMaxTLayers()-1; i++)1351 for(UInt i = 0; i <= pcVPS->getMaxTLayers()-1; i++) 1352 1352 { 1353 1353 READ_UVLC( uiCode, "max_dec_pic_buffering[i]" ); pcVPS->setMaxDecPicBuffering( uiCode, i ); … … 1362 1362 READ_UVLC( uiCode, "extension_type" ); pcVPS->setExtensionType( uiCode ); 1363 1363 1364 if( pcVPS->getExtensionType() == 0)1365 READ_SVLC( iCode, "view_order_idx[0]" ); pcVPS->setViewOrderIdx( iCode, 0 );1366 1367 for(UInt i =0; i <= pcVPS->getMaxLayers()-1; i++)1364 pcVPS->setViewOrderIdx( 0, 0 ); 1365 pcVPS->setViewId( 0, 0 ); 1366 pcVPS->setDepthFlag( 0, 0 ); 1367 for(UInt i = 1; i <= pcVPS->getMaxLayers()-1; i++) 1368 1368 { 1369 1369 READ_FLAG( uiCode, "dependent_flag[i]" ); pcVPS->setDependentFlag( uiCode ? true:false, i); -
branches/HTM-3.0-Vidyo/source/Lib/TLibDecoder/TDecTop.cpp
r70 r71 319 319 m_tAppDecTop = pcTAppDecTop; 320 320 #if DEPTH_MAP_GENERATION 321 #if VIDYO_VPS_INTEGRATION 322 m_cDepthMapGenerator.init( &m_cPrediction, m_tAppDecTop->getVPSAccess(), m_tAppDecTop->getSPSAccess(), m_tAppDecTop->getAUPicAccess() ); 323 #else 321 324 m_cDepthMapGenerator.init( &m_cPrediction, m_tAppDecTop->getSPSAccess(), m_tAppDecTop->getAUPicAccess() ); 325 #endif 322 326 #endif 323 327 #if HHI_INTER_VIEW_RESIDUAL_PRED … … 574 578 TComVPS *vps = m_parameterSetManagerDecoder.getVPS(sps->getVPSId()); 575 579 assert (vps != 0); 580 if( m_apcSlicePilot->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || m_apcSlicePilot->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA ) 581 // VPS can only be activated on IDR or CRA... 582 getTAppDecTop()->getVPSAccess()->setActiveVPSId( sps->getVPSId() ); 576 583 #endif 577 584 m_apcSlicePilot->setPPS(pps); … … 1082 1089 m_cEntropyDecoder.decodeVPS( vps ); 1083 1090 m_parameterSetManagerDecoder.storePrefetchedVPS(vps); 1084 1091 getTAppDecTop()->getVPSAccess()->addVPS( vps ); 1085 1092 } 1086 1093 #endif
Note: See TracChangeset for help on using the changeset viewer.