Changeset 1063 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
4 Mar 2015, 22:53:14 (10 years ago)
Author:
interdigital
Message:

m_gcAnalyzeAll/I/P/B shall be ordered by layer index instead of layerId

File:
1 edited

Legend:

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

    r1059 r1063  
    37843784  //===== add PSNR =====
    37853785#if SVC_EXTENSION
    3786   m_gcAnalyzeAll[m_layerId].addResult (dPSNR, (Double)uibits, MSEyuvframe);
     3786  m_gcAnalyzeAll[pcPic->getSlice(0)->getVPS()->getLayerIdxInVps(m_layerId)].addResult (dPSNR, (Double)uibits, MSEyuvframe);
    37873787  TComSlice*  pcSlice = pcPic->getSlice(0);
    37883788  if (pcSlice->isIntra())
    37893789  {
    3790     m_gcAnalyzeI[m_layerId].addResult (dPSNR, (Double)uibits, MSEyuvframe);
     3790    m_gcAnalyzeI[pcPic->getSlice(0)->getVPS()->getLayerIdxInVps(m_layerId)].addResult (dPSNR, (Double)uibits, MSEyuvframe);
    37913791  }
    37923792  if (pcSlice->isInterP())
    37933793  {
    3794     m_gcAnalyzeP[m_layerId].addResult (dPSNR, (Double)uibits, MSEyuvframe);
     3794    m_gcAnalyzeP[pcPic->getSlice(0)->getVPS()->getLayerIdxInVps(m_layerId)].addResult (dPSNR, (Double)uibits, MSEyuvframe);
    37953795  }
    37963796  if (pcSlice->isInterB())
    37973797  {
    3798     m_gcAnalyzeB[m_layerId].addResult (dPSNR, (Double)uibits, MSEyuvframe);
     3798    m_gcAnalyzeB[pcPic->getSlice(0)->getVPS()->getLayerIdxInVps(m_layerId)].addResult (dPSNR, (Double)uibits, MSEyuvframe);
    37993799  }
    38003800#else
Note: See TracChangeset for help on using the changeset viewer.