Changeset 769 in SHVCSoftware for branches/SHM-6-dev/source


Ignore:
Timestamp:
5 May 2014, 18:29:03 (11 years ago)
Author:
seregin
Message:

fix the input argument to be refLayerId not refLayerIdc, ticket #28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r768 r769  
    740740#endif
    741741        {
    742           for(Int refLayerIdc = 0; refLayerIdc < pcSlice->getActiveNumILRRefIdx(); refLayerIdc++)
     742          for(Int refLayer = 0; refLayer < pcSlice->getActiveNumILRRefIdx(); refLayer++)
    743743          { 
    744             xCheckRDCostILRUni( rpcBestCU, rpcTempCU, pcSlice->getVPS()->getRefLayerId( pcSlice->getLayerId(), refLayerIdc ) );
     744            xCheckRDCostILRUni( rpcBestCU, rpcTempCU, pcSlice->getVPS()->getRefLayerId( pcSlice->getLayerId(), pcSlice->getInterLayerPredLayerIdc(refLayer) ) );
    745745            rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode );
    746746          }
Note: See TracChangeset for help on using the changeset viewer.