Changeset 1116 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 7 Jul 2015, 01:18:46 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1115 r1116 2005 2005 #if VPS_EXTN_MASK_AND_DIM_INFO 2006 2006 UInt i = 0, j = 0; 2007 #if !VPS_AVC_BL_FLAG_REMOVAL2008 WRITE_FLAG( vps->getAvcBaseLayerFlag(), "avc_base_layer_flag" );2009 #endif2010 2007 2011 2008 WRITE_FLAG( vps->getSplittingFlag(), "splitting_flag" ); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1094 r1116 1290 1290 // inferring of the scaling list can be moved to the config file 1291 1291 UInt refLayerId = 0; 1292 #if VPS_AVC_BL_FLAG_REMOVAL1293 1292 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) ) 1294 #else1295 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )1296 #endif1297 1293 { 1298 1294 m_pcEncTop->getSPS()->setInferScalingListFlag( true ); … … 1324 1320 // inferring of the scaling list can be moved to the config file 1325 1321 UInt refLayerId = 0; 1326 #if VPS_AVC_BL_FLAG_REMOVAL1327 1322 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) ) 1328 #else1329 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )1330 #endif1331 1323 { 1332 1324 m_pcEncTop->getSPS()->setInferScalingListFlag( true ); … … 2292 2284 2293 2285 #if AVC_BASE 2294 #if VPS_AVC_BL_FLAG_REMOVAL2295 2286 if( m_layerId == 0 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) 2296 #else2297 if( m_layerId == 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() )2298 #endif2299 2287 { 2300 2288 pcPic->getPicYuvOrg()->copyToPic( pcPic->getPicYuvRec() ); … … 2388 2376 OutputNALUnit nalu( NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0. 2389 2377 #if AVC_BASE 2390 #if VPS_AVC_BL_FLAG_REMOVAL2391 2378 if( ( m_layerId > 0 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) ) 2392 #else2393 if( ( m_layerId > 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) )2394 #endif2395 2379 #else 2396 2380 if( m_layerId == 0 )
Note: See TracChangeset for help on using the changeset viewer.