History

fix RC log numbers

sijchen@cisco.com committed 8 years ago

Commit 987609a1 parent c6f078d4 files · +10 −8Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+3−2
@@ -3878,7 +3878,8 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3877 unmodified lines
38783878 }
38793879
38803880 pCtx->pFuncList->pfRc.pfWelsRcPictureInfoUpdate (pCtx, iLayerSize);
3881− RcTraceFrameBits (pCtx, pFbi->uiTimeStamp);
3881+ iFrameSize += iLayerSize;
3882+ RcTraceFrameBits (pCtx, pFbi->uiTimeStamp, iFrameSize);
38823883 pCtx->pDecPic->iFrameAverageQp = pCtx->pWelsSvcRc[iCurDid].iAverageFrameQp;
38833884
38843885 //update scc related
@@ -3894,7 +3895,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 9 unmodified lines
38943895 }
38953896 }
38963897
3897− iFrameSize += iLayerSize;
3898+
38983899 //check MinCr
38993900 {
39003901 int32_t iMinCrFrameSize = (pParam->iVideoWidth * pParam->iVideoHeight * 3) >> 2; //MinCr = 2;

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