Changeset 518 in SHVCSoftware


Ignore:
Timestamp:
18 Dec 2013, 10:09:53 (11 years ago)
Author:
seregin
Message:

added check for adaptive resolution change at decoder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r514 r518  
    792792  // actual decoding starts here
    793793  xActivateParameterSets();
    794 #if !O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS
     794#if !O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS && N0147_IRAP_ALIGN_FLAG
    795795  //Note setting O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS to 0 may cause decoder to crash.
    796796  //When cross_layer_irap_aligned_flag is equal to 0, num_extra_slice_header_bits >=1
     
    11581158    if( m_layerId > 0 && m_uiSliceIdx == 0 )
    11591159    {     
     1160#if M0040_ADAPTIVE_RESOLUTION_CHANGE
     1161      if( !pcSlice->getVPS()->getSingleLayerForNonIrapFlag() || ( pcSlice->getVPS()->getSingleLayerForNonIrapFlag() && pcSlice->isIRAP() ) )
     1162#endif
    11601163      for( i = 0; i < pcSlice->getNumILRRefIdx(); i++ )
    11611164      {
     
    13281331   
    13291332#if N0147_IRAP_ALIGN_FLAG
    1330     if(  m_layerId > 0 && pcSlice->getVPS()->getCrossLayerIrapAlignFlag())
    1331     {
     1333    if( m_layerId > 0 && pcSlice->getVPS()->getCrossLayerIrapAlignFlag() )
     1334    {
     1335#if M0040_ADAPTIVE_RESOLUTION_CHANGE
     1336      if( !pcSlice->getVPS()->getSingleLayerForNonIrapFlag() || ( pcSlice->getVPS()->getSingleLayerForNonIrapFlag() && pcSlice->isIRAP() ) )
     1337#endif
    13321338      for(Int dependentLayerIdx = 0; dependentLayerIdx < pcSlice->getVPS()->getNumDirectRefLayers(m_layerId); dependentLayerIdx++)
    13331339      {
Note: See TracChangeset for help on using the changeset viewer.