History

completing and bug-fixing the screen content MD/ME process

Sijia Chen committed 12 years ago

Commit a964ae81 parent 2eb65d717 files · +404 −289Browse files

Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 17 files). Show all

Unified · Split

codec/encoder/core/src/ratectl.cpp+3−3
@@ -348,11 +348,11 @@ void RcTraceVGopBitrate (sWelsEncCtx* pEncCtx) { · 347 unmodified lines
348#ifdef _TEST_TEMP_Rc_348#ifdef _TEST_TEMP_Rc_
349 fprintf (fp_vgop, "%d\n", WELS_ROUND ((double)iTotalBits / iFrameInVGop));349 fprintf (fp_vgop, "%d\n", WELS_ROUND ((double)iTotalBits / iFrameInVGop));
350#endif350#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 if (iTotalBits > 0) {352 if (iTotalBits > 0) {
353 iTid = 0;353 iTid = 0;
354 while (iTid <= kiHighestTid) {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 ++ iTid;356 ++ iTid;
357 }357 }
358 }358 }
@@ -756,7 +756,7 @@ void RcVBufferCalculationPadding (sWelsEncCtx* pEncCtx) { · 397 unmodified lines
756void RcTraceFrameBits (sWelsEncCtx* pEncCtx) {756void RcTraceFrameBits (sWelsEncCtx* pEncCtx) {
757 SWelsSvcRc* pWelsSvcRc = &pEncCtx->pWelsSvcRc[pEncCtx->uiDependencyId];757 SWelsSvcRc* pWelsSvcRc = &pEncCtx->pWelsSvcRc[pEncCtx->uiDependencyId];
758 758
759 WelsLog (&(pEncCtx->sLogCtx), WELS_LOG_INFO,759 WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO,
760 "[Rc] encoding_qp%d, qp = %3d, index = %8d, iTid = %1d, used = %8d, target = %8d, remaingbits = %8d\n",760 "[Rc] encoding_qp%d, qp = %3d, index = %8d, iTid = %1d, used = %8d, target = %8d, remaingbits = %8d\n",
761 pEncCtx->uiDependencyId, pWelsSvcRc->iAverageFrameQp, pEncCtx->iFrameIndex, pEncCtx->uiTemporalId,761 pEncCtx->uiDependencyId, pWelsSvcRc->iAverageFrameQp, pEncCtx->iFrameIndex, pEncCtx->uiTemporalId,
762 pWelsSvcRc->iFrameDqBits,762 pWelsSvcRc->iFrameDqBits,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t