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
3878 }3878 }
3879 3879
3880 pCtx->pFuncList->pfRc.pfWelsRcPictureInfoUpdate (pCtx, iLayerSize);3880 pCtx->pFuncList->pfRc.pfWelsRcPictureInfoUpdate (pCtx, iLayerSize);
3881 RcTraceFrameBits (pCtx, pFbi->uiTimeStamp);3881 iFrameSize += iLayerSize;
3882 RcTraceFrameBits (pCtx, pFbi->uiTimeStamp, iFrameSize);
3882 pCtx->pDecPic->iFrameAverageQp = pCtx->pWelsSvcRc[iCurDid].iAverageFrameQp;3883 pCtx->pDecPic->iFrameAverageQp = pCtx->pWelsSvcRc[iCurDid].iAverageFrameQp;
3883 3884
3884 //update scc related3885 //update scc related
@@ -3894,7 +3895,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 9 unmodified lines
3894 }3895 }
3895 }3896 }
3896 3897
3897 iFrameSize += iLayerSize;3898
3898 //check MinCr3899 //check MinCr
3899 {3900 {
3900 int32_t iMinCrFrameSize = (pParam->iVideoWidth * pParam->iVideoHeight * 3) >> 2; //MinCr = 2;3901 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