Changeset 1524 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 3 Feb 2016, 23:00:44 (9 years ago)
- Location:
- branches/SHM-dev/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1511 r1524 121 121 #if SVC_EXTENSION 122 122 TAppEncCfg::TAppEncCfg() 123 #if AVC_BASE 124 : m_nonHEVCBaseLayerFlag(false) 125 #endif 126 , m_maxTidRefPresentFlag(1) 123 : m_maxTidRefPresentFlag(1) 127 124 , m_defaultTargetOutputLayerIdc (-1) 128 125 , m_numOutputLayerSets (-1) … … 131 128 , m_outputInternalColourSpace(false) 132 129 , m_elRapSliceBEnabled(false) 130 #if AVC_BASE 131 , m_nonHEVCBaseLayerFlag(false) 132 #endif 133 133 { 134 134 memset( m_apcLayerCfg, 0, sizeof(m_apcLayerCfg) ); … … 3130 3130 ii++; 3131 3131 } 3132 #if AVC_BASE 3132 3133 if( m_numLayers > 1 && m_numPTLInfo > 1 && !m_nonHEVCBaseLayerFlag ) 3134 #else 3135 if( m_numLayers > 1 && m_numPTLInfo > 1 ) 3136 #endif 3133 3137 { 3134 3138 assert(m_profileList[0] <= Profile::MULTIVIEWMAIN); //Profile IDC of PTL in VPS shall be one of single-layer profile IDCs … … 3506 3510 m_numLayers = m_numLayers > MAX_LAYERS ? MAX_LAYERS : m_numLayers; 3507 3511 3508 // it can be updated after AVC BL support will be added to the WD 3512 #if AVC_BASE 3509 3513 if( m_nonHEVCBaseLayerFlag ) 3510 3514 { … … 3513 3517 m_crossLayerAlignedIdrOnlyFlag = false; 3514 3518 } 3519 #endif 3515 3520 3516 3521 // verify layer configuration parameters -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1511 r1524 118 118 Int m_numLayers; ///< number of layers 119 119 Int m_scalabilityMask[MAX_VPS_NUM_SCALABILITY_TYPES]; ///< scalability_mask 120 #if AVC_BASE121 Bool m_nonHEVCBaseLayerFlag; ///< non HEVC BL122 #endif123 120 Bool m_maxTidRefPresentFlag; 124 121 … … 542 539 Bool m_altOutputLayerFlag; ///< Specifies the value of alt_output_laye_flag in VPS extension 543 540 Bool m_elRapSliceBEnabled; 541 #if AVC_BASE 542 Bool m_nonHEVCBaseLayerFlag; ///< non HEVC BL 543 #endif 544 544 #endif 545 545 -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1517 r1524 249 249 //1 250 250 m_cTEncTop.setInterLayerWeightedPredFlag ( m_useInterLayerWeightedPred ); 251 #if AVC_BASE 251 252 m_cTEncTop.setMFMEnabledFlag ( layer == 0 ? false : ( m_nonHEVCBaseLayerFlag ? false : true ) && m_apcLayerCfg[layer]->getNumMotionPredRefLayers()); 253 #else 254 m_cTEncTop.setMFMEnabledFlag ( layer == 0 ? false : m_apcLayerCfg[layer]->getNumMotionPredRefLayers()); 255 #endif 252 256 253 257 // set layer ID … … 1059 1063 #if AVC_BASE 1060 1064 vps->setNonHEVCBaseLayerFlag( m_nonHEVCBaseLayerFlag ); 1061 if ( m_nonHEVCBaseLayerFlag ) 1062 { 1063 vps->setBaseLayerInternalFlag (false); 1064 } 1065 #else 1066 vps->setAvcBaseLayerFlag(false); 1065 if( m_nonHEVCBaseLayerFlag ) 1066 { 1067 vps->setBaseLayerInternalFlag(false); 1068 } 1067 1069 #endif 1068 1070 … … 1607 1609 { 1608 1610 list<AccessUnit>::iterator first_au = outputAccessUnits.begin(); 1611 #if AVC_BASE 1609 1612 if( m_nonHEVCBaseLayerFlag ) 1610 1613 { 1611 1614 first_au++; 1612 1615 } 1616 #endif 1613 1617 AccessUnit::iterator it_sps; 1614 1618 for (it_sps = first_au->begin(); it_sps != first_au->end(); it_sps++)
Note: See TracChangeset for help on using the changeset viewer.