Changeset 1449 in SHVCSoftware for branches/SHM-dev/source/App
- Timestamp:
- 14 Aug 2015, 00:52:02 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1447 r1449 78 78 #if SVC_EXTENSION 79 79 TComVPS& vps = *m_apcTEncTop[0]->getVPS(); 80 Int& m_maxTempLayer = m_apcLayerCfg[0]->m_maxTempLayer; 80 81 #else 81 82 TComVPS vps; … … 503 504 504 505 string& m_colourRemapSEIFileName = m_apcLayerCfg[layer]->m_colourRemapSEIFileName; 506 507 GOPEntry* m_GOPList = m_apcLayerCfg[layer]->m_GOPList; 508 Int& m_extraRPSs = m_apcLayerCfg[layer]->m_extraRPSs; 509 Int& m_maxTempLayer = m_apcLayerCfg[layer]->m_maxTempLayer; 505 510 #endif 506 511 … … 533 538 m_cTEncTop.setDecodingRefreshType ( m_iDecodingRefreshType ); 534 539 m_cTEncTop.setGOPSize ( m_iGOPSize ); 535 #if SVC_EXTENSION536 m_cTEncTop.setGopList ( layer ? m_EhGOPList[layer] : m_GOPList );537 m_cTEncTop.setExtraRPSs ( m_extraRPSs[layer] );538 #else539 540 m_cTEncTop.setGopList ( m_GOPList ); 540 541 m_cTEncTop.setExtraRPSs ( m_extraRPSs ); 541 #endif542 542 543 543 for(Int i = 0; i < MAX_TLAYER; i++) … … 559 559 m_cTEncTop.setAccessUnitDelimiter ( m_AccessUnitDelimiter ); 560 560 561 #if SVC_EXTENSION562 m_cTEncTop.setMaxTempLayer ( layer ? m_EhMaxTempLayer[layer] : m_maxTempLayer );563 #else564 561 m_cTEncTop.setMaxTempLayer ( m_maxTempLayer ); 565 #endif566 562 m_cTEncTop.setUseAMP( m_enableAMP ); 567 563 … … 1611 1607 if( (*it_nalu)->m_nalUnitType == NAL_UNIT_SPS ) 1612 1608 { 1613 first_au->insert(++it_sps, *it_nalu);1609 it_sps = first_au->insert(++it_sps, *it_nalu); 1614 1610 it_nalu = it_au->erase(it_nalu); 1615 1611 } … … 1617 1613 } 1618 1614 } 1619 1620 1615 #endif 1621 1616 1622 1617 #if RC_SHVC_HARMONIZATION 1623 for( UInt layer=0; layer<m_numLayers; layer++)1624 { 1625 if 1626 { 1627 (m_apcTEncTop[layer]->getRateCtrl())->destroyRCGOP();1618 for( UInt layer = 0; layer < m_numLayers; layer++ ) 1619 { 1620 if( m_apcTEncTop[layer]->getUseRateCtrl() ) 1621 { 1622 m_apcTEncTop[layer]->getRateCtrl()->destroyRCGOP(); 1628 1623 } 1629 1624 }
Note: See TracChangeset for help on using the changeset viewer.