Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 17 files). Show all
Unified · Split
| @@ -348,11 +348,11 @@ void RcTraceVGopBitrate (sWelsEncCtx* pEncCtx) { · 347 unmodified lines | ||
| 348 | 348 | #ifdef _TEST_TEMP_Rc_ |
| 349 | 349 | fprintf (fp_vgop, "%d\n", WELS_ROUND ((double)iTotalBits / iFrameInVGop)); |
| 350 | 350 | #endif |
| 351 | − WelsLog (&(pEncCtx->sLogCtx), WELS_LOG_INFO, "[Rc] VGOPbitrate%d: %d \n", kiDid, iVGopBitrate); | |
| 351 | + WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO, "[Rc] VGOPbitrate%d: %d \n", kiDid, iVGopBitrate); | |
| 352 | 352 | if (iTotalBits > 0) { |
| 353 | 353 | iTid = 0; |
| 354 | 354 | while (iTid <= kiHighestTid) { |
| 355 | − WelsLog (&(pEncCtx->sLogCtx), WELS_LOG_INFO, "T%d=%8.3f \n", iTid, (double) (pTOverRc[iTid].iGopBitsDq / iTotalBits)); | |
| 355 | + WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO, "T%d=%8.3f \n", iTid, (double) (pTOverRc[iTid].iGopBitsDq / iTotalBits)); | |
| 356 | 356 | ++ iTid; |
| 357 | 357 | } |
| 358 | 358 | } |
| @@ -756,7 +756,7 @@ void RcVBufferCalculationPadding (sWelsEncCtx* pEncCtx) { · 397 unmodified lines | ||
| 756 | 756 | void RcTraceFrameBits (sWelsEncCtx* pEncCtx) { |
| 757 | 757 | SWelsSvcRc* pWelsSvcRc = &pEncCtx->pWelsSvcRc[pEncCtx->uiDependencyId]; |
| 758 | 758 | |
| 759 | − WelsLog (&(pEncCtx->sLogCtx), WELS_LOG_INFO, | |
| 759 | + WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO, | |
| 760 | 760 | "[Rc] encoding_qp%d, qp = %3d, index = %8d, iTid = %1d, used = %8d, target = %8d, remaingbits = %8d\n", |
| 761 | 761 | pEncCtx->uiDependencyId, pWelsSvcRc->iAverageFrameQp, pEncCtx->iFrameIndex, pEncCtx->uiTemporalId, |
| 762 | 762 | pWelsSvcRc->iFrameDqBits, |