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


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

Move scaled reference layer offsets to SPS extension.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r226 r227  
    732732  }
    733733
     734  READ_FLAG( uiCode, "sps_extension_flag");
     735  if (uiCode)
     736  {
     737#if SPS_EXTENSION
     738    parseSPSExtension( pcSPS );
     739    READ_FLAG( uiCode, "sps_extension2_flag");
     740    if(uiCode)
     741    {
     742#endif
     743      while ( xMoreRbspData() )
     744      {
     745        READ_FLAG( uiCode, "sps_extension_data_flag");
     746      }
     747#if SPS_EXTENSION
     748    }
     749#endif
     750  }
     751}
     752
     753#if SPS_EXTENSION
     754Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS )
     755{
     756  // more syntax elements to be parsed here
    734757#if SCALED_REF_LAYER_OFFSETS
    735758  if( pcSPS->getLayerId() > 0 )
     
    743766  }
    744767#endif
    745 
    746   READ_FLAG( uiCode, "sps_extension_flag");
    747   if (uiCode)
    748   {
    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
    766 Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS )
    767 {
    768   // syntax elements to be parsed here
    769768}
    770769#endif
Note: See TracChangeset for help on using the changeset viewer.