Changeset 1554 in SHVCSoftware
- Timestamp:
- 29 Mar 2016, 18:28:05 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1549 r1554 1234 1234 } 1235 1235 1236 vps->set IlpSshSignalingEnabledFlag(false);1236 vps->setDefaultRefLayersActiveFlag(false); 1237 1237 1238 1238 // Direct reference layers -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1550 r1554 633 633 UChar m_layerIdxInVps[MAX_NUM_LAYER_IDS]; // Maps layer_id_in_nuh with the layer ID in the VPS 634 634 UChar m_maxSLInLayerSetMinus1[MAX_VPS_LAYER_SETS_PLUS1 + MAX_NUM_ADD_LAYER_SETS]; 635 Bool m_ ilpSshSignalingEnabledFlag;635 Bool m_defaultRefLayersActiveFlag; 636 636 637 637 // Profile-tier-level signalling related … … 898 898 UChar getMaxSLayersInLayerSetMinus1(Int ls) const { return m_maxSLInLayerSetMinus1[ls]; } 899 899 Void setMaxSLayersInLayerSetMinus1(Int ls, UChar x) { m_maxSLInLayerSetMinus1[ls] = x; } 900 Bool get IlpSshSignalingEnabledFlag() const { return m_ilpSshSignalingEnabledFlag; }901 Void set IlpSshSignalingEnabledFlag(Bool x) { m_ilpSshSignalingEnabledFlag = x; }900 Bool getDefaultRefLayersActiveFlag() const { return m_defaultRefLayersActiveFlag; } 901 Void setDefaultRefLayersActiveFlag(Bool x) { m_defaultRefLayersActiveFlag = x; } 902 902 903 903 Bool getProfilePresentFlag(Int id) const { return m_profilePresentFlag[id]; } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1549 r1554 1539 1539 #if SVC_EXTENSION 1540 1540 pcSlice->setActiveNumILRRefIdx(0); 1541 if((pcSlice->getLayerId() > 0) && !(vps->get IlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) )1541 if((pcSlice->getLayerId() > 0) && !(vps->getDefaultRefLayersActiveFlag()) && (pcSlice->getNumILRRefIdx() > 0) ) 1542 1542 { 1543 1543 READ_FLAG(uiCode,"inter_layer_pred_enabled_flag"); … … 1600 1600 } 1601 1601 } 1602 else if( vps->get IlpSshSignalingEnabledFlag() == true && (pcSlice->getLayerId() > 0 ))1602 else if( vps->getDefaultRefLayersActiveFlag() == true && (pcSlice->getLayerId() > 0 )) 1603 1603 { 1604 1604 pcSlice->setInterLayerPredEnabledFlag(true); … … 2681 2681 for(i = 0; i < MAX_VPS_NUM_SCALABILITY_TYPES; i++) 2682 2682 { 2683 READ_FLAG( uiCode, "scalability_mask [i]" ); vps->setScalabilityMask(i, uiCode ? true : false);2683 READ_FLAG( uiCode, "scalability_mask_flag[i]" ); vps->setScalabilityMask(i, uiCode ? true : false); 2684 2684 numScalabilityTypes += uiCode; 2685 2685 } … … 2841 2841 } 2842 2842 } 2843 READ_FLAG( uiCode, " all_ref_layers_active_flag" ); vps->setIlpSshSignalingEnabledFlag(uiCode ? true : false);2843 READ_FLAG( uiCode, "default_ref_layers_active_flag" ); vps->setDefaultRefLayersActiveFlag(uiCode ? true : false); 2844 2844 2845 2845 // Profile-tier-level signalling -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1549 r1554 1149 1149 1150 1150 #if SVC_EXTENSION 1151 if((pcSlice->getLayerId() > 0) && !(pcSlice->getVPS()->get IlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) )1151 if((pcSlice->getLayerId() > 0) && !(pcSlice->getVPS()->getDefaultRefLayersActiveFlag()) && (pcSlice->getNumILRRefIdx() > 0) ) 1152 1152 { 1153 1153 WRITE_FLAG(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_enabled_flag"); … … 1971 1971 for(i = 0; i < MAX_VPS_NUM_SCALABILITY_TYPES; i++) 1972 1972 { 1973 WRITE_FLAG( vps->getScalabilityMask(i), "scalability_mask [i]" );1973 WRITE_FLAG( vps->getScalabilityMask(i), "scalability_mask_flag[i]" ); 1974 1974 } 1975 1975 … … 2070 2070 } 2071 2071 } 2072 WRITE_FLAG( vps->get IlpSshSignalingEnabledFlag(), "all_ref_layers_active_flag" );2072 WRITE_FLAG( vps->getDefaultRefLayersActiveFlag(), "default_ref_layers_active_flag" ); 2073 2073 2074 2074 // Profile-tier-level signalling
Note: See TracChangeset for help on using the changeset viewer.