Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 1 file). Show all
Unified · Split
| @@ -483,7 +483,7 @@ void RcCalculatePictureQp (sWelsEncCtx* pEncCtx) { · 482 unmodified lines | |||
| 483 | iLumaQp = RcConvertQStep2Qp (pWelsSvcRc->iQStep); | 483 | iLumaQp = RcConvertQStep2Qp (pWelsSvcRc->iQStep); |
| 484 | WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_DEBUG, | 484 | WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_DEBUG, |
| 485 | "iCmplxRatio = %d,frameComplexity = %lld,iFrameCmplxMean = %" PRId64 ",iQStep = %d,iLumaQp = %d", (int)iCmplxRatio, | 485 | "iCmplxRatio = %d,frameComplexity = %lld,iFrameCmplxMean = %" PRId64 ",iQStep = %d,iLumaQp = %d", (int)iCmplxRatio, |
| 486 | pEncCtx->pVaa->sComplexityAnalysisParam.iFrameComplexity, pTOverRc->iFrameCmplxMean, pWelsSvcRc->iQStep, iLumaQp); | 486 | iFrameComplexity, pTOverRc->iFrameCmplxMean, pWelsSvcRc->iQStep, iLumaQp); |
| 487 | //limit QP | 487 | //limit QP |
| 488 | int32_t iLastIdxCodecInVGop = pWelsSvcRc->iFrameCodedInVGop - 1; | 488 | int32_t iLastIdxCodecInVGop = pWelsSvcRc->iFrameCodedInVGop - 1; |
| 489 | if (iLastIdxCodecInVGop < 0) | 489 | if (iLastIdxCodecInVGop < 0) |