Ticket #1090: Ticket1090_1.patch

File Ticket1090_1.patch, 726 bytes (added by libin, 11 years ago)
  • Lib/TLibEncoder/TEncSlice.cpp

     
    12181218        }
    12191219        m_pcRdCost->setLambda(oldLambda);
    12201220
     1221#if RATE_CONTROL_INTRA
     1222        m_pcRateCtrl->getRCPic()->updateAfterLCU( m_pcRateCtrl->getRCPic()->getLCUCoded(), actualBits, actualQP, actualLambda,
     1223          pcCU->getSlice()->getSliceType() == I_SLICE ? 0 : m_pcCfg->getLCULevelRC() );
     1224#else
    12211225        m_pcRateCtrl->getRCPic()->updateAfterLCU( m_pcRateCtrl->getRCPic()->getLCUCoded(), actualBits, actualQP, actualLambda, m_pcCfg->getLCULevelRC() );
     1226#endif
    12221227      }
    12231228#endif
    12241229#endif