Changeset 363 in SHVCSoftware for branches


Ignore:
Timestamp:
22 Aug 2013, 03:38:20 (11 years ago)
Author:
seregin
Message:

merge SPS_PTL_FIX from SHM-3.0-dev branch

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev

  • branches/SHM-3.1-dev/source

  • branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h

    r362 r363  
    4949#define RPL_INIT_N0316_N0082             1      ///< N0316, N0082: initial reference picture list construction
    5050#define FINAL_RPL_CHANGE_N0082           1      ///< N0082: final ref picture list change (encoder)
    51 #define EXTERNAL_USEDBYCURR_N0082        1      ///< N0082: final ref picture list change (encoder)
     51#define EXTERNAL_USEDBYCURR_N0082        1      ///< N0082: final ref picture list change (encoder) //dev ver.
    5252#define M0464_TILE_BOUNDARY_ALIGNED_FLAG 1      ///< VUI flag to indicate tile boundary alignment
    5353#define M0463_VUI_EXT_ILP_REF            1      ///< VUI extension inter-layer dependency offset signalling
     
    7676#endif
    7777
     78#define SPS_PTL_FIX                      1      ///< remove profile_tier_level from enhancement layer SPS
    7879#define SH_DISCARDABLE_FLAG              1      ///< M0152: Use one reserved flag in the slice header for discardable flag
    7980
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r345 r363  
    525525#endif
    526526  }
    527 
     527#ifdef SPS_PTL_FIX
     528  if ( pcSPS->getLayerId() == 0)
     529  {
     530    parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1);
     531  }
     532#else
    528533  parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1);
     534#endif
     535
    529536  READ_UVLC(     uiCode, "sps_seq_parameter_set_id" );           pcSPS->setSPSId( uiCode );
    530537  assert(uiCode <= 15);
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r345 r363  
    414414  }
    415415#endif
     416#ifdef SPS_PTL_FIX
     417  if (pcSPS->getLayerId() == 0)
     418  {
     419    codePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1);
     420  }
     421#else
    416422  codePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1);
     423#endif
    417424  WRITE_UVLC( pcSPS->getSPSId (),                   "sps_seq_parameter_set_id" );
    418425  WRITE_UVLC( pcSPS->getChromaFormatIdc (),         "chroma_format_idc" );
Note: See TracChangeset for help on using the changeset viewer.