Ignore:
Timestamp:
3 Apr 2013, 01:05:45 (12 years ago)
Author:
qualcomm
Message:

Function structure for VPS extension (MACRO: VPS_EXTNS)

Added VPS extension flag and function structure for VPS extension.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

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

    r108 r109  
    815815  if (uiCode)
    816816  {
     817#if VPS_EXTNS
     818    parseVPSExtension(pcVPS);
     819    READ_FLAG( uiCode, "vps_entension2_flag" );
     820    if(uiCode)
     821    {
     822      while ( xMoreRbspData() )
     823      {
     824        READ_FLAG( uiCode, "vps_extension_data_flag");
     825      }
     826    }
     827#else
    817828    while ( xMoreRbspData() )
    818829    {
    819830      READ_FLAG( uiCode, "vps_extension_data_flag");
    820831    }
     832#endif
    821833  }
    822834 
    823835  return;
    824836}
     837
     838#if VPS_EXTNS
     839Void TDecCavlc::parseVPSExtension(TComVPS *vps)
     840
     841  // ... More syntax elements to be parsed here
     842
     843  // ... More syntax elements to be parsed here
     844}
     845#endif
    825846
    826847Void TDecCavlc::parseSliceHeader (TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager)
  • branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder/TDecCAVLC.h

    r54 r109  
    8181  Void  parseQtRootCbf      ( UInt uiAbsPartIdx, UInt& uiQtRootCbf );
    8282  Void  parseVPS            ( TComVPS* pcVPS );
     83#if VPS_EXTNS
     84  Void  parseVPSExtension   ( TComVPS* pcVPS );
     85#endif
    8386  Void  parseSPS            ( TComSPS* pcSPS );
    8487  Void  parsePPS            ( TComPPS* pcPPS);
Note: See TracChangeset for help on using the changeset viewer.