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


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

Define sps_extension() syntax structure (MACRO: SPS_EXTENSION)

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

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

    r224 r226  
    571571#endif
    572572
     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
    573581  WRITE_FLAG( 0, "sps_extension_flag" );
    574 }
    575 
     582#endif
     583}
     584#if SPS_EXTENSION
     585Void TEncCavlc::codeSPSExtension( TComSPS* pcSPS )
     586{
     587  // syntax elements to be written here
     588}
     589#endif
    576590Void TEncCavlc::codeVPS( TComVPS* pcVPS )
    577591{
  • branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.h

    r191 r226  
    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.