Changeset 300 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
25 Jun 2013, 20:34:38 (12 years ago)
Author:
suehring
Message:

M0463: VUI extension inter-layer dependency offset signalling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r299 r300  
    784784  }
    785785#endif
    786 }
    787 #endif
     786#if M0463_VUI_EXT_ILP_REF
     787  ////   sps_extension_vui_parameters( )
     788  if( pcSPS->getVuiParameters()->getBitstreamRestrictionFlag() )
     789  { 
     790    READ_UVLC( uiCode, "num_ilp_restricted_ref_layers" ); pcSPS->setNumIlpRestrictedRefLayers( uiCode );
     791    for( Int i = 0; i < pcSPS->getNumIlpRestrictedRefLayers( ); i++ )
     792    { 
     793      READ_UVLC( uiCode, "min_spatial_segment_offset_plus1" ); pcSPS->setMinSpatialSegmentOffsetPlus1( i, uiCode );
     794      if( pcSPS->getMinSpatialSegmentOffsetPlus1( i ) > 0 )
     795      { 
     796        READ_FLAG( uiCode, "ctu_based_offset_enabled_flag[ i ]"); pcSPS->setCtuBasedOffsetEnabledFlag(i, uiCode == 1 );
     797        if( pcSPS->getCtuBasedOffsetEnabledFlag( i ) ) 
     798        {
     799          READ_UVLC( uiCode, "min_horizontal_ctu_offset_plus1[ i ]"); pcSPS->setMinHorizontalCtuOffsetPlus1( i, uiCode );
     800        }
     801      } 
     802    } 
     803  } 
     804  ////   sps_extension_vui_parameters( ) END
     805#endif
     806}
     807#endif
     808
    788809Void TDecCavlc::parseVPS(TComVPS* pcVPS)
    789810{
Note: See TracChangeset for help on using the changeset viewer.