Ignore:
Timestamp:
4 Jun 2013, 23:13:05 (11 years ago)
Author:
qualcomm
Message:

Generic initialization of ActiveNumILRRefIdx and InterLayerPredLayerIdc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r191 r258  
    491491  {
    492492#if JCTVC_M0458_INTERLAYER_RPS_SIG
    493   // currently only one reference layer is supported in software and no decision logic to select yet.
    494   // hence num of active inter layer references is set to one always
    495493    if( rpcSlice->getNumILRRefIdx() > 0 )
    496494    {
    497       rpcSlice->setActiveNumILRRefIdx(1);
     495      rpcSlice->setActiveNumILRRefIdx( rpcSlice->getNumILRRefIdx() );
     496      for( Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ )
     497      {
     498        rpcSlice->setInterLayerPredLayerIdc(i, i);
     499      }
    498500      rpcSlice->setInterLayerPredEnabledFlag(1);
    499501    }
Note: See TracChangeset for help on using the changeset viewer.