Changeset 225 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder


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

Define sps_extension() syntax structure (MACRO: SPS_EXTENSION)

From: Adarsh K. Ramasubramonian <aramasub@…>

Location:
branches/SHM-2.0-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r186 r225  
    564564#endif
    565565
     566#if SPS_EXTENSION
     567  WRITE_FLAG( 1, "sps_extension_flag" );
     568  if( 1 )   // if( sps_extension_flag )
     569  {
     570    codeSPSExtension( pcSPS );
     571    WRITE_FLAG( 0, "sps_extension2_flag" );
     572  }
     573#else
    566574  WRITE_FLAG( 0, "sps_extension_flag" );
    567 }
    568 
     575#endif
     576}
     577#if SPS_EXTENSION
     578Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS )
     579{
     580  // syntax elements to be written here
     581}
     582#endif
    569583Void TEncCavlc::codeVPS( TComVPS* pcVPS )
    570584{
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.h

    r133 r225  
    8989  Void  codeVUI                 ( TComVUI *pcVUI, TComSPS* pcSPS );
    9090  Void  codeSPS                 ( TComSPS* pcSPS );
     91#if SPS_EXTENSION
     92  Void codeSPSExtension         ( TComSPS* pcSPS );
     93#endif
    9194  Void  codePPS                 ( TComPPS* pcPPS );
    9295  Void  codeSliceHeader         ( TComSlice* pcSlice );
Note: See TracChangeset for help on using the changeset viewer.