Ignore:
Timestamp:
25 Dec 2013, 05:53:40 (11 years ago)
Author:
seregin
Message:

remove IL_SL_SIGNALLING_N0371 macro and related code

File:
1 edited

Legend:

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

    r528 r529  
    661661#endif
    662662
    663 #if IL_SL_SIGNALLING_N0371
    664     m_pcEncTop->getScalingList()->setLayerId( m_layerId );
    665 #endif
    666 
    667663    pcSlice->setLastIDR(m_iLastIDR);
    668664    pcSlice->setSliceIdx(0);
     
    672668    if(m_pcEncTop->getUseScalingListId() == SCALING_LIST_OFF)
    673669    {
    674 #if IL_SL_SIGNALLING_N0371
    675       m_pcEncTop->getTrQuant()->setFlatScalingList( m_layerId );
    676 #else
    677670      m_pcEncTop->getTrQuant()->setFlatScalingList();
    678 #endif
    679671      m_pcEncTop->getTrQuant()->setUseScalingList(false);
    680672      m_pcEncTop->getSPS()->setScalingListPresentFlag(false);
     
    700692      {
    701693#endif
    702 #if IL_SL_SIGNALLING_N0371
    703       pcSlice->getScalingList()->setLayerId( m_layerId );
    704 #endif
    705 
    706 #if IL_SL_SIGNALLING_N0371
    707       pcSlice->setDefaultScalingList ( m_layerId );
    708 #else
    709694      pcSlice->setDefaultScalingList ();
    710 #endif
    711 
    712695      m_pcEncTop->getSPS()->setScalingListPresentFlag(false);
    713696      m_pcEncTop->getPPS()->setScalingListPresentFlag(false);
     
    722705    else if(m_pcEncTop->getUseScalingListId() == SCALING_LIST_FILE_READ)
    723706    {
    724 #if IL_SL_SIGNALLING_N0371
    725       pcSlice->getScalingList()->setLayerId( m_layerId );
    726 #endif
    727 
    728707#if SCALINGLIST_INFERRING
    729708      // inferring of the scaling list can be moved to the config file
     
    746725      if(pcSlice->getScalingList()->xParseScalingList(m_pcCfg->getScalingListFile()))
    747726      {
    748 #if IL_SL_SIGNALLING_N0371
    749         pcSlice->setDefaultScalingList ( m_layerId );
    750 #else
    751727        pcSlice->setDefaultScalingList ();
    752 #endif
    753       }
    754 #if IL_SL_SIGNALLING_N0371
    755       pcSlice->getScalingList()->checkDcOfMatrix( m_layerId );
    756 #else
     728      }
     729
    757730      pcSlice->getScalingList()->checkDcOfMatrix();
    758 #endif
    759731      m_pcEncTop->getSPS()->setScalingListPresentFlag(pcSlice->checkDefaultScalingList());
    760 
    761 #if IL_SL_SIGNALLING_N0371
    762       if( m_layerId > 0 )
    763       {
    764         m_pcEncTop->getSPS()->setPredScalingListFlag  (true);
    765         m_pcEncTop->getSPS()->setScalingListRefLayerId( 0 );
    766       }
    767 #endif
    768 
    769732      m_pcEncTop->getPPS()->setScalingListPresentFlag(false);
    770 
    771 #if IL_SL_SIGNALLING_N0371
    772       if( m_layerId > 0 )
    773       {
    774         m_pcEncTop->getPPS()->setPredScalingListFlag  (false);
    775         m_pcEncTop->getPPS()->setScalingListRefLayerId( 0   );
    776       }
    777 #endif
    778733
    779734#if SCALINGLIST_INFERRING
     
    17781733#if SVC_EXTENSION
    17791734      nalu = NALUnit(NAL_UNIT_SPS, 0, m_layerId);
    1780 #if IL_SL_SIGNALLING_N0371
    1781       pcSlice->getSPS()->setVPS( pcSlice->getVPS() );
    1782 #endif
    17831735#else
    17841736      nalu = NALUnit(NAL_UNIT_SPS);
Note: See TracChangeset for help on using the changeset viewer.