Changeset 515 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
16 Dec 2013, 20:55:32 (11 years ago)
Author:
seregin
Message:

JCTVC_O0142: Conditional SPS extension with macro O0142_CONDITIONAL_SPS_EXTENSION, patch was provided by Danny Hong <danny@…>

File:
1 edited

Legend:

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

    r514 r515  
    828828  {
    829829#if SPS_EXTENSION
     830
     831#if O0142_CONDITIONAL_SPS_EXTENSION
     832    UInt spsExtensionTypeFlag[8];
     833    for (UInt i = 0; i < 8; i++)
     834    {
     835      READ_FLAG( spsExtensionTypeFlag[i], "sps_extension_type_flag" );
     836    }
     837    if (spsExtensionTypeFlag[1])
     838    {
     839      parseSPSExtension( pcSPS );
     840    }
     841    if (spsExtensionTypeFlag[7])
     842    {
     843#else
    830844    parseSPSExtension( pcSPS );
    831845    READ_FLAG( uiCode, "sps_extension2_flag");
    832846    if(uiCode)
    833847    {
     848#endif
     849
    834850#endif
    835851      while ( xMoreRbspData() )
Note: See TracChangeset for help on using the changeset viewer.