Changeset 940 in SHVCSoftware


Ignore:
Timestamp:
27 Dec 2014, 00:48:18 (10 years ago)
Author:
seregin
Message:

fix lambda refinement setting

File:
1 edited

Legend:

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

    r916 r940  
    165165    if( slice->getLayerId() > 0 && m_ppcTEncTop[slice->getLayerId()]->getNumActiveRefLayers() && m_pcCfg->getGOPSize() >= 8 && slice->isIntra() == false && depth == 0 )
    166166    {
     167      dLambdas[0] = dLambda * 1.1;
     168      m_pcRdCost->setLambda( dLambdas[0] );
     169
    167170      m_pcRdCost->setDistortionWeight(compID, tmpWeight * 1.15);
    168       dLambdas[compIdx]=dLambda * 1.1/ tmpWeight / 1.15;
     171      dLambdas[compIdx] = dLambdas[0] / tmpWeight / 1.15;
    169172    }
    170173    else
Note: See TracChangeset for help on using the changeset viewer.