Changeset 174 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
9 May 2013, 22:14:35 (12 years ago)
Author:
qualcomm
Message:

code formatting, Changes initialization process of m_activeNumILRRefIdx

Location:
branches/SHM-2.0-dev/source/Lib/TLibEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r170 r174  
    797797#endif
    798798#endif
    799 #if JCTVC_M0458
     799#if JCTVC_M0458_INTERLAYER_RPS_SIG
    800800      WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag");
    801801#endif
     
    11661166    }
    11671167  }
    1168 #if JCTVC_M0458   
     1168#if JCTVC_M0458_INTERLAYER_RPS_SIG   
    11691169    if((pcSlice->getSPS()->getLayerId() > 0)  &&  (pcSlice->getNumILRRefIdx() > 0) )
    11701170    {
     
    11791179          }       
    11801180          for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
    1181             WRITE_UVLC(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_layer_idc[i]");          
     1181            WRITE_UVLC(pcSlice->getInterLayerPredLayerIdc(i),"inter_layer_pred_layer_idc[i]");     
    11821182        }
    11831183      }
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r171 r174  
    669669        pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumRefIdx(REF_PIC_LIST_1)+pcSlice->getNumILRRefIdx());
    670670      }
     671#if JCTVC_M0458_INTERLAYER_RPS_SIG
     672        // currently only one reference layer is supported in software and no decision logic to select yet.
     673        // hence num of active inter layer references is set to one always
     674          pcSlice->setActiveNumILRRefIdx(1);
     675#endif
    671676    }
    672677#endif
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r171 r174  
    485485  rpcSlice->setMaxNumMergeCand        ( m_pcCfg->getMaxNumMergeCand()        );
    486486  xStoreWPparam( pPPS->getUseWP(), pPPS->getWPBiPred() );
     487
     488#if JCTVC_M0458_INTERLAYER_RPS_SIG
     489  // currently only one reference layer is supported in software and no decision logic to select yet.
     490  // hence num of active inter layer references is set to one always
     491  rpcSlice->setActiveNumILRRefIdx(1);
     492#endif
    487493}
    488494
Note: See TracChangeset for help on using the changeset viewer.