Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 10 files). Show all
Unified · Split
| @@ -583,7 +583,7 @@ void CWelsH264SVCEncoder::UpdateStatistics (const int64_t kiCurrentFrameTs, EVid · 582 unmodified lines | |||
| 583 | pStatistics->uiLTRSentNum ++; | 583 | pStatistics->uiLTRSentNum ++; |
| 584 | } | 584 | } |
| 585 | 585 | ||
| 586 | m_pEncContext->iTotalEncodedBits += kiCurrentFrameSize; | 586 | m_pEncContext->iTotalEncodedBits += (kiCurrentFrameSize<<3); |
| 587 | 587 | ||
| 588 | if (m_pEncContext->iStatisticsLogInterval > 0) { | 588 | if (m_pEncContext->iStatisticsLogInterval > 0) { |
| 589 | int64_t iTimeDiff = kiCurrentFrameTs - m_pEncContext->iLastStatisticsLogTs; | 589 | int64_t iTimeDiff = kiCurrentFrameTs - m_pEncContext->iLastStatisticsLogTs; |