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


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

remove SPS_EXTENSION

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r793 r795  
    848848
    849849  READ_FLAG( uiCode, "sps_extension_flag");
    850   if (uiCode)
    851   {
    852 #if SPS_EXTENSION
    853 
     850
     851#if SVC_EXTENSION
     852  pcSPS->setExtensionFlag( uiCode ? true : false );
     853
     854  if( pcSPS->getExtensionFlag() )
     855  {
    854856#if O0142_CONDITIONAL_SPS_EXTENSION
    855857    UInt spsExtensionTypeFlag[8];
     
    870872    {
    871873#endif
    872 
    873 #endif
    874874      while ( xMoreRbspData() )
    875875      {
    876876        READ_FLAG( uiCode, "sps_extension_data_flag");
    877877      }
    878 #if SPS_EXTENSION
    879     }
    880 #endif
    881   }
    882 }
    883 
    884 #if SPS_EXTENSION
     878    }
     879  }
     880#else
     881  if (uiCode)
     882  {
     883    while ( xMoreRbspData() )
     884    {
     885      READ_FLAG( uiCode, "sps_extension_data_flag");
     886    }
     887  }
     888#endif
     889}
     890
     891#if SVC_EXTENSION
    885892Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS )
    886893{
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.h

    r793 r795  
    7575  Void  parseQtRootCbf      ( UInt uiAbsPartIdx, UInt& uiQtRootCbf );
    7676  Void  parseVPS            ( TComVPS* pcVPS );
    77 #if SPS_EXTENSION
     77#if SVC_EXTENSION
    7878  Void  parseVPSExtension   ( TComVPS* pcVPS );
    7979  Void  defaultVPSExtension ( TComVPS* pcVPS );
Note: See TracChangeset for help on using the changeset viewer.