Changeset 228 in SHVCSoftware


Ignore:
Timestamp:
23 May 2013, 00:07:32 (12 years ago)
Author:
qualcomm
Message:

Condition signaling of scaled reference layer offsets (MACRO: SCALED_REF_LAYER_OFFSET_FLAG)

Condition signaling of scaled reference layer offsets on scaled_ref_layer_offset_flag.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/Lib/TLibCommon/TypeDef.h

    r226 r228  
    4545#if SVC_EXTENSION
    4646#define SPS_EXTENSION                    1      ///< Define sps_extension() syntax structure
     47#define SCALED_REF_LAYER_OFFSET_FLAG     1      ///< M0309: Signal scaled reference layer offsets in SPS
    4748#define SCALED_REF_LAYER_OFFSETS         1      ///< M0309: Signal scaled reference layer offsets in SPS
    4849#define MAX_LAYERS                       2      ///< max number of layers the codec is supposed to handle
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r227 r228  
    754754Void TDecCavlc::parseSPSExtension( TComSPS* pcSPS )
    755755{
     756  UInt uiCode;
    756757  // more syntax elements to be parsed here
    757758#if SCALED_REF_LAYER_OFFSETS
     759#if SCALED_REF_LAYER_OFFSET_FLAG
     760  READ_FLAG( uiCode, "scaled_ref_layer_offset_present_flag" );
     761  if( uiCode )
     762#else
    758763  if( pcSPS->getLayerId() > 0 )
     764#endif
    759765  {
    760766    Int iCode;
  • branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r227 r228  
    577577  // more syntax elements to be written here
    578578#if SCALED_REF_LAYER_OFFSETS
     579#if SCALED_REF_LAYER_OFFSET_FLAG
     580  WRITE_FLAG( pcSPS->getLayerId() > 0, "scaled_ref_layer_offset_present_flag" );
    579581  if( pcSPS->getLayerId() > 0 )
     582#else
     583  if( pcSPS->getLayerId() > 0 )
     584#endif
    580585  {
    581586    Window scaledWindow = pcSPS->getScaledRefLayerWindow();
Note: See TracChangeset for help on using the changeset viewer.