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


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/TLibEncoder/TEncCavlc.cpp

    r226 r227  
    560560      codeVUI(pcSPS->getVuiParameters(), pcSPS);
    561561  }
     562
     563#if SPS_EXTENSION
     564  WRITE_FLAG( 1, "sps_extension_flag" );
     565  if( 1 )   // if( sps_extension_flag )
     566  {
     567    codeSPSExtension( pcSPS );
     568    WRITE_FLAG( 0, "sps_extension2_flag" );
     569  }
     570#else
     571  WRITE_FLAG( 0, "sps_extension_flag" );
     572#endif
     573}
     574#if SPS_EXTENSION
     575Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS )
     576{
     577  // more syntax elements to be written here
    562578#if SCALED_REF_LAYER_OFFSETS
    563579  if( pcSPS->getLayerId() > 0 )
     
    570586  }
    571587#endif
    572 
    573 #if SPS_EXTENSION
    574   WRITE_FLAG( 1, "sps_extension_flag" );
    575   if( 1 )   // if( sps_extension_flag )
    576   {
    577     codeSPSExtension( pcSPS );
    578     WRITE_FLAG( 0, "sps_extension2_flag" );
    579   }
    580 #else
    581   WRITE_FLAG( 0, "sps_extension_flag" );
    582 #endif
    583 }
    584 #if SPS_EXTENSION
    585 Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS )
    586 {
    587   // syntax elements to be written here
    588588}
    589589#endif
Note: See TracChangeset for help on using the changeset viewer.