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


Ignore:
Timestamp:
6 Jun 2014, 20:36:57 (11 years ago)
Author:
seregin
Message:

remove SPS_EXTENSION

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

Legend:

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

    r793 r795  
    639639  }
    640640
    641 #if SPS_EXTENSION
    642   WRITE_FLAG( 1, "sps_extension_flag" );
    643   if( 1 )   // if( sps_extension_flag )
     641#if SVC_EXTENSION
     642  WRITE_FLAG( pcSPS->getExtensionFlag() ? 1 : 0, "sps_extension_flag" );
     643
     644  if( pcSPS->getExtensionFlag() )
    644645  {
    645646#if O0142_CONDITIONAL_SPS_EXTENSION
     
    662663#endif
    663664}
    664 #if SPS_EXTENSION
     665
     666#if SVC_EXTENSION
    665667Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS )
    666668{
     
    689691  }
    690692}
    691 #endif
     693#endif //SVC_EXTENSION
     694
    692695Void TEncCavlc::codeVPS( TComVPS* pcVPS )
    693696{
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.h

    r793 r795  
    159159  Void codeDFSvlc       ( Int   iCode, const Char *pSymbolName );
    160160
    161 #if SPS_EXTENSION
     161#if SVC_EXTENSION
    162162  Void codeSPSExtension        ( TComSPS* pcSPS );
    163163  Void codeVPSExtension        ( TComVPS* pcVPS );
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r778 r795  
    912912{
    913913#if SVC_EXTENSION
     914  m_cSPS.setExtensionFlag( m_layerId > 0 ? true : false );
     915
    914916#if Q0078_ADD_LAYER_SETS
    915917  if (getNumDirectRefLayers() == 0 && getNumAddLayerSets() > 0)
Note: See TracChangeset for help on using the changeset viewer.