Changeset 226 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
22 May 2013, 22:24:23 (12 years ago)
Author:
qualcomm
Message:

Define sps_extension() syntax structure (MACRO: SPS_EXTENSION)

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

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

    r224 r226  
    747747  if (uiCode)
    748748  {
    749     while ( xMoreRbspData() )
    750     {
    751       READ_FLAG( uiCode, "sps_extension_data_flag");
    752     }
    753   }
    754 }
    755 
     749#if SPS_EXTENSION
     750    parseSPSExtension( pcSPS );
     751    READ_FLAG( uiCode, "sps_extension2_flag");
     752    if(uiCode)
     753    {
     754#endif
     755      while ( xMoreRbspData() )
     756      {
     757        READ_FLAG( uiCode, "sps_extension_data_flag");
     758      }
     759#if SPS_EXTENSION
     760    }
     761#endif
     762  }
     763}
     764
     765#if SPS_EXTENSION
     766Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS )
     767{
     768  // syntax elements to be parsed here
     769}
     770#endif
    756771Void TDecCavlc::parseVPS(TComVPS* pcVPS)
    757772{
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.h

    r224 r226  
    8080  Void  parseSPS            ( TComSPS* pcSPS );
    8181#endif
     82#if SPS_EXTENSION
     83  Void parseSPSExtension    ( TComSPS* pcSPS );
     84#endif
    8285  Void  parsePPS            ( TComPPS* pcPPS);
    8386  Void  parseVUI            ( TComVUI* pcVUI, TComSPS* pcSPS );
Note: See TracChangeset for help on using the changeset viewer.