Changeset 225 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
22 May 2013, 21:12:45 (12 years ago)
Author:
qualcomm
Message:

Define sps_extension() syntax structure (MACRO: SPS_EXTENSION)

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

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

    r185 r225  
    727727  if (uiCode)
    728728  {
    729     while ( xMoreRbspData() )
    730     {
    731       READ_FLAG( uiCode, "sps_extension_data_flag");
    732     }
    733   }
    734 }
    735 
     729#if SPS_EXTENSION
     730    parseSPSExtension( pcSPS );
     731    READ_FLAG( uiCode, "sps_extension2_flag");
     732    if(uiCode)
     733    {
     734#endif
     735      while ( xMoreRbspData() )
     736      {
     737        READ_FLAG( uiCode, "sps_extension_data_flag");
     738      }
     739#if SPS_EXTENSION
     740    }
     741#endif
     742  }
     743}
     744
     745#if SPS_EXTENSION
     746Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS )
     747{
     748  // syntax elements to be parsed here
     749}
     750#endif
    736751Void TDecCavlc::parseVPS(TComVPS* pcVPS)
    737752{
  • branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecCAVLC.h

    r133 r225  
    7676#endif
    7777  Void  parseSPS            ( TComSPS* pcSPS );
     78#if SPS_EXTENSION
     79  Void  parseSPSExtension   ( TComSPS* pcSPS );
     80#endif
    7881  Void  parsePPS            ( TComPPS* pcPPS);
    7982  Void  parseVUI            ( TComVUI* pcVUI, TComSPS* pcSPS );
Note: See TracChangeset for help on using the changeset viewer.