Changeset 425 in SHVCSoftware for branches


Ignore:
Timestamp:
9 Oct 2013, 22:57:05 (11 years ago)
Author:
seregin
Message:

implementation of vps_extension_offset syntax element (VPS_EXTN_OFFSET)

Location:
branches/SHM-3.1-dev/source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r414 r425  
    10741074  vps->setSingleLayerForNonIrapFlag(m_adaptiveResolutionChange > 0 ? true : false);
    10751075#endif
     1076#if VPS_EXTN_OFFSET
     1077  // to be updated according to the current semantics
     1078  vps->setExtensionOffset( 0xffff );
     1079#endif
    10761080#else
    10771081  m_cTEncTop.init();
  • branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.h

    r415 r425  
    508508  Bool        m_scalingListLayerDependency[MAX_LAYERS][MAX_LAYERS];  // layer dependency for scaling list
    509509#endif
     510#if VPS_EXTN_OFFSET
     511  UInt        m_extensionOffset;
     512#endif
    510513  TComPTL     m_pcPTL;
    511514  TimingInfo  m_timingInfo;
     
    848851  Int     getNumViews();
    849852  Int     scalTypeToScalIdx( ScalabilityType scalType );
     853#endif
     854#if VPS_EXTN_OFFSET
     855  Int     getExtensionOffset()                 { return m_extensionOffset;   }
     856  Void    setExtensionOffset( UInt offset )    { m_extensionOffset = offset; }
    850857#endif
    851858};
  • branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h

    r420 r425  
    9696#endif
    9797
     98#define VPS_EXTN_OFFSET                  1      ///< implementation of vps_extension_offset syntax element
    9899#define SPS_PTL_FIX                      1      ///< remove profile_tier_level from enhancement layer SPS
    99100#define SH_DISCARDABLE_FLAG              1      ///< JCTVC-M0152: Use one reserved flag in the slice header for discardable flag
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r414 r425  
    893893  READ_FLAG(     uiCode,  "vps_temporal_id_nesting_flag" );       pcVPS->setTemporalNestingFlag( uiCode ? true:false );
    894894  assert (pcVPS->getMaxTLayers()>1||pcVPS->getTemporalNestingFlag());
     895#if VPS_EXTN_OFFSET
     896  READ_CODE( 16, uiCode,  "vps_extension_offset" );               pcVPS->setExtensionOffset( uiCode );
     897#else
    895898  READ_CODE( 16, uiCode,  "vps_reserved_ffff_16bits" );           assert(uiCode == 0xffff);
     899#endif
    896900  parsePTL ( pcVPS->getPTL(), true, pcVPS->getMaxTLayers()-1);
    897901  UInt subLayerOrderingInfoPresentFlag;
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r414 r425  
    718718  WRITE_FLAG( pcVPS->getTemporalNestingFlag(),                "vps_temporal_id_nesting_flag" );
    719719  assert (pcVPS->getMaxTLayers()>1||pcVPS->getTemporalNestingFlag());
     720#if VPS_EXTN_OFFSET
     721  WRITE_CODE( pcVPS->getExtensionOffset(),         16,        "vps_extension_offset" );
     722#else
    720723  WRITE_CODE( 0xffff,                              16,        "vps_reserved_ffff_16bits" );
     724#endif
    721725  codePTL( pcVPS->getPTL(), true, pcVPS->getMaxTLayers() - 1 );
    722726  const Bool subLayerOrderingInfoPresentFlag = 1;
Note: See TracChangeset for help on using the changeset viewer.