Changeset 115 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/App
- Timestamp:
- 5 Apr 2013, 17:33:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.cpp
r114 r115 709 709 } 710 710 } 711 #if VPS_EXTN_MASK_AND_DIM_INFO 712 UInt i = 0, dimIdLen = 0; 713 vps->setAvcBaseLayerFlag(false); 714 vps->setSplittingFlag(false); 715 for(i = 0; i < MAX_VPS_NUM_SCALABILITY_TYPES; i++) 716 { 717 vps->setScalabilityMask(i, false); 718 } 719 if(m_numLayers > 1) 720 { 721 vps->setScalabilityMask(1, true); // Only turn on spatial/SNR scalability 722 vps->setNumScalabilityTypes(1); 723 } 724 else 725 { 726 vps->setNumScalabilityTypes(0); 727 } 728 while((1 << dimIdLen) < m_numLayers) 729 { 730 dimIdLen++; 731 } 732 vps->setDimensionIdLen(0, dimIdLen); 733 vps->setNuhLayerIdPresentFlag(false); 734 vps->setLayerIdInNuh(0, 0); 735 vps->setLayerIdInVps(0, 0); 736 for(i = 1; i <= vps->getMaxLayerId(); i++) // TODO: we should use vps->getMaxLayers(), but currently it is always set to 1 737 { 738 vps->setLayerIdInNuh(i, i); 739 vps->setLayerIdInVps(vps->getLayerIdInNuh(i), i); 740 vps->setDimensionId(i, 0, i); 741 } 742 #endif 711 743 #if VPS_EXTN_PROFILE_INFO 712 744 vps->getPTLForExtnPtr()->resize(vps->getNumLayerSets());
Note: See TracChangeset for help on using the changeset viewer.