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


Ignore:
Timestamp:
20 Jun 2013, 17:44:29 (12 years ago)
Author:
nokia
Message:

Implementation of JCTVC-M0040 "Adaptive Resolution Change"

Location:
branches/SHM-2.1-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

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

    r291 r296  
    11581158  }
    11591159#endif
     1160#if M0040_ADAPTIVE_RESOLUTION_CHANGE
     1161  READ_FLAG(uiCode, "single_layer_for_non_irap_flag" ); vps->setSingleLayerForNonIrapFlag(uiCode == 1 ? true : false);
     1162#endif
    11601163}
    11611164#endif
     
    16191622      rpcSlice->setColRefLayerIdx( 0 );
    16201623      rpcSlice->setAltColIndicationFlag( false );
    1621       if ( sps->getLayerId() > 0 && rpcSlice->getNumMotionPredRefLayers() > 0 )
     1624      if ( sps->getLayerId() > 0 && rpcSlice->getActiveNumILRRefIdx() > 0 && rpcSlice->getNumMotionPredRefLayers() > 0 )
    16221625      {
    16231626        READ_FLAG( uiCode, "alt_collocated_indication_flag" );
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r295 r296  
    937937      pcSlice->setRefPicList( m_cListPic, false, m_cIlpPic);
    938938    }
     939#if M0040_ADAPTIVE_RESOLUTION_CHANGE
     940    else if ( m_layerId > 0 )
     941    {
     942      pcSlice->setRefPicList( m_cListPic, false, NULL);
     943    }
     944#endif
    939945#endif
    940946
Note: See TracChangeset for help on using the changeset viewer.