Changeset 1172 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 8 Jul 2015, 01:45:57 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1150 r1172 2370 2370 #if SVC_EXTENSION 2371 2371 nalu = NALUnit(NAL_UNIT_SPS, 0, m_layerId); 2372 2373 if( m_pcEncTop->getVPS()->getNumDirectRefLayers(m_layerId) == 0 && m_pcEncTop->getVPS()->getNumAddLayerSets() > 0 ) 2374 { 2375 // For independent base layer rewriting 2376 nalu.m_layerId = 0; 2377 } 2372 2378 #else 2373 2379 nalu = NALUnit(NAL_UNIT_SPS); 2374 2380 #endif 2375 #if Q0078_ADD_LAYER_SETS 2376 if (m_pcEncTop->getVPS()->getNumDirectRefLayers(m_layerId) == 0 && m_pcEncTop->getVPS()->getNumAddLayerSets() > 0) 2377 { 2378 nalu.m_layerId = 0; // For independent base layer rewriting 2379 } 2380 #endif 2381 2381 2382 m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream); 2382 2383 if (m_bSeqFirst) … … 2415 2416 #if SVC_EXTENSION 2416 2417 nalu = NALUnit(NAL_UNIT_PPS, 0, m_layerId); 2418 2419 if( m_pcEncTop->getVPS()->getNumDirectRefLayers(m_layerId) == 0 && m_pcEncTop->getVPS()->getNumAddLayerSets() > 0 ) 2420 { 2421 // For independent base layer rewriting 2422 nalu.m_layerId = 0; 2423 } 2417 2424 #else 2418 2425 nalu = NALUnit(NAL_UNIT_PPS); 2419 2426 #endif 2420 #if Q0078_ADD_LAYER_SETS 2421 if (m_pcEncTop->getVPS()->getNumDirectRefLayers(m_layerId) == 0 && m_pcEncTop->getVPS()->getNumAddLayerSets() > 0) 2422 { 2423 nalu.m_layerId = 0; // For independent base layer rewriting 2424 } 2425 #endif 2427 2426 2428 m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream); 2427 2429 #if O0092_0094_DEPENDENCY_CONSTRAINT
Note: See TracChangeset for help on using the changeset viewer.