Changeset 1006 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibCommon


Ignore:
Timestamp:
27 Jan 2015, 19:44:15 (10 years ago)
Author:
seregin
Message:

port implementation of JCTVC-R0235 - Processing of bitstreams without an available base layer (rev 1005)

Location:
branches/SHM-upgrade/source/Lib/TLibCommon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/Lib/TLibCommon/TComSlice.cpp

    r1000 r1006  
    901901 */
    902902#if NO_CLRAS_OUTPUT_FLAG
     903#if R0235_SMALLEST_LAYER_ID
     904Void TComSlice::decodingRefreshMarking( TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag, UInt smallestLayerId )
     905#else
    903906Void TComSlice::decodingRefreshMarking( TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag )
     907#endif
    904908{
    905909  if( !isIRAP() )
     
    913917  // When the current picture is an IRAP picture with nuh_layer_id equal to 0 and NoClrasOutputFlag is equal to 1,
    914918  // all reference pictures with any value of nuh_layer_id currently in the DPB (if any) are marked as "unused for reference".
     919#if R0235_SMALLEST_LAYER_ID
     920  if (m_layerId == smallestLayerId && noClrasOutputFlag)
     921#else
    915922  if( m_layerId == 0 && noClrasOutputFlag )
     923#endif
    916924  {
    917925    // mark all pictures for all layers as not used for reference
  • branches/SHM-upgrade/source/Lib/TLibCommon/TComSlice.h

    r959 r1006  
    25362536  Void      checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, NalUnitType& associatedIRAPType, TComList<TComPic *>& rcListPic);
    25372537#if NO_CLRAS_OUTPUT_FLAG
     2538#if R0235_SMALLEST_LAYER_ID
     2539  Void      decodingRefreshMarking( TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag, UInt smallestLayerId = 0 );
     2540#else
    25382541  Void      decodingRefreshMarking( TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag );
     2542#endif
    25392543  Void      decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag);
    25402544#else
  • branches/SHM-upgrade/source/Lib/TLibCommon/TypeDef.h

    r979 r1006  
    8181#define R0227_BR_PR_ADD_LAYER_SET        1      ///< JCTVC-R0227, Signalling of bit-rate and picture rate for additional layer set
    8282#define R0042_PROFILE_INDICATION         1      ///< JCTVC-R0042, Profile indication for additional layer sets
     83#define R0235_SMALLEST_LAYER_ID          1      ///< JCTVC-R0235, SmallestLayerId semantics
    8384
    8485#define Q0108_TSA_STSA                   1      ///< JCTVC-Q0108, Remove cross-layer alignment constraints of TSA and STSA pictures, enable to have different prediction structures in different layers
Note: See TracChangeset for help on using the changeset viewer.