Changeset 1116 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
7 Jul 2015, 01:18:46 (10 years ago)
Author:
seregin
Message:

macro cleanup: VPS_AVC_BL_FLAG_REMOVAL

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1115 r1116  
    20052005#if VPS_EXTN_MASK_AND_DIM_INFO
    20062006  UInt i = 0, j = 0;
    2007 #if !VPS_AVC_BL_FLAG_REMOVAL
    2008   WRITE_FLAG( vps->getAvcBaseLayerFlag(),              "avc_base_layer_flag" );
    2009 #endif
    20102007
    20112008  WRITE_FLAG( vps->getSplittingFlag(),                 "splitting_flag" );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1094 r1116  
    12901290      // inferring of the scaling list can be moved to the config file
    12911291      UInt refLayerId = 0;
    1292 #if VPS_AVC_BL_FLAG_REMOVAL
    12931292      if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
    1294 #else
    1295       if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
    1296 #endif
    12971293      {
    12981294        m_pcEncTop->getSPS()->setInferScalingListFlag( true );
     
    13241320      // inferring of the scaling list can be moved to the config file
    13251321      UInt refLayerId = 0;
    1326 #if VPS_AVC_BL_FLAG_REMOVAL
    13271322      if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
    1328 #else
    1329       if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
    1330 #endif
    13311323      {
    13321324        m_pcEncTop->getSPS()->setInferScalingListFlag( true );
     
    22922284
    22932285#if AVC_BASE
    2294 #if VPS_AVC_BL_FLAG_REMOVAL
    22952286    if( m_layerId == 0 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() )
    2296 #else
    2297     if( m_layerId == 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() )
    2298 #endif
    22992287    {
    23002288      pcPic->getPicYuvOrg()->copyToPic( pcPic->getPicYuvRec() );
     
    23882376      OutputNALUnit nalu( NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0.
    23892377#if AVC_BASE
    2390 #if VPS_AVC_BL_FLAG_REMOVAL
    23912378      if( ( m_layerId > 0 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) )
    2392 #else
    2393       if( ( m_layerId > 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) )
    2394 #endif
    23952379#else
    23962380      if( m_layerId == 0 )
Note: See TracChangeset for help on using the changeset viewer.