Changeset 110 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/App
- Timestamp:
- 3 Apr 2013, 21:34:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.cpp
r96 r110 692 692 m_acTEncTop[layer].init(); 693 693 } 694 #if VPS_EXTN_OP_LAYER_SETS 695 TComVPS* vps = m_acTEncTop[0].getVPS(); 696 vps->setMaxLayerId(m_numLayers - 1); // Set max-layer ID 697 698 vps->setNumLayerSets(m_numLayers); 699 for(Int setId = 1; setId < vps->getNumLayerSets(); setId++) 700 { 701 for(Int layerId = 0; layerId <= vps->getMaxLayerId(); layerId++) 702 { 703 vps->setLayerIdIncludedFlag(true, setId, layerId); 704 } 705 } 706 707 // Target output layer 708 vps->setNumOutputLayerSets(1); 709 Int lsIdx = 1; 710 vps->setOutputLayerSetIdx(0, lsIdx); // Because only one layer set 711 // Include the highest layer as output layer 712 for(UInt layer=0; layer <= vps->getMaxLayerId() ; layer++) 713 { 714 if(vps->getLayerIdIncludedFlag(lsIdx, layer)) 715 { 716 vps->setOutputLayerFlag(lsIdx, layer, layer == (vps->getMaxLayerId())); 717 } 718 } 719 #endif 694 720 #else 695 721 m_cTEncTop.init();
Note: See TracChangeset for help on using the changeset viewer.