Ticket #901: hadme_lamda.patch

File hadme_lamda.patch, 511 bytes (added by ksuehring, 10 years ago)
  • source/Lib/TLibEncoder/TEncSlice.cpp

    diff --git a/source/Lib/TLibEncoder/TEncSlice.cpp b/source/Lib/TLibEncoder/TEncSlice.cpp
    index ef20385..7ac7f0c 100644
    a b Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNum 
    312312    }
    313313   
    314314    // if hadamard is used in ME process
    315     if ( !m_pcCfg->getUseHADME() )
     315    if ( !m_pcCfg->getUseHADME() && rpcSlice->getSliceType( ) != I_SLICE )
    316316    {
    317317      dLambda *= 0.95;
    318318    }