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


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/TLibEncoder/TEncCavlc.cpp

    r299 r300  
    603603  }
    604604#endif
     605#if M0463_VUI_EXT_ILP_REF
     606  ////   sps_extension_vui_parameters( )
     607  if( pcSPS->getVuiParameters()->getBitstreamRestrictionFlag() )
     608  { 
     609    WRITE_UVLC( pcSPS->getNumIlpRestrictedRefLayers( ),           "num_ilp_restricted_ref_layers" );
     610    for( Int i = 0; i < pcSPS->getNumIlpRestrictedRefLayers( ); i++ )
     611    { 
     612      WRITE_UVLC( pcSPS->getMinSpatialSegmentOffsetPlus1( i ),    "min_spatial_segment_offset_plus1" );
     613      if( pcSPS->getMinSpatialSegmentOffsetPlus1( i ) > 0 )
     614      { 
     615        WRITE_FLAG( pcSPS->getCtuBasedOffsetEnabledFlag( i ),      "ctu_based_offset_enabled_flag[ i ]");
     616        if( pcSPS->getCtuBasedOffsetEnabledFlag( i ) ) 
     617        {
     618          WRITE_UVLC( pcSPS->getMinHorizontalCtuOffsetPlus1( i ), "min_horizontal_ctu_offset_plus1[ i ]");
     619        }
     620      } 
     621    } 
     622  } 
     623  ////   sps_extension_vui_parameters( ) END
     624#endif
    605625}
    606626#endif
Note: See TracChangeset for help on using the changeset viewer.