Changeset 768 in SHVCSoftware for branches


Ignore:
Timestamp:
5 May 2014, 18:23:25 (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

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