History

modify delivery status interface

ruil2 committed 12 years ago

Commit 2f041c71 parent 43dc6f04 files · +127 −125Browse files

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

Unified · Split

codec/encoder/core/src/ratectl.cpp+5−3
@@ -709,7 +709,7 @@ void RcVBufferCalculationSkip (sWelsEncCtx* pEncCtx) { · 708 unmodified lines
709 || (dIncPercent > pWelsSvcRc->iRcVaryPercentage)) {709 || (dIncPercent > pWelsSvcRc->iRcVaryPercentage)) {
710 pEncCtx->iSkipFrameFlag = 1;710 pEncCtx->iSkipFrameFlag = 1;
711 pWelsSvcRc->iBufferFullnessSkip = pWelsSvcRc->iBufferFullnessSkip - kiOutputBits;711 pWelsSvcRc->iBufferFullnessSkip = pWelsSvcRc->iBufferFullnessSkip - kiOutputBits;
712 WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO,"skip one frame");712 WelsLog (& (pEncCtx->sLogCtx), WELS_LOG_INFO, "skip one frame");
713 }713 }
714 714
715 if (pWelsSvcRc->iBufferFullnessSkip < 0)715 if (pWelsSvcRc->iBufferFullnessSkip < 0)
@@ -1005,8 +1005,10 @@ void WelRcPictureInitBufferBasedQp (void* pCtx) { · 289 unmodified lines
1005 iMinQp = MIN_SCREEN_QP + 1;1005 iMinQp = MIN_SCREEN_QP + 1;
1006 else1006 else
1007 iMinQp = MIN_SCREEN_QP;1007 iMinQp = MIN_SCREEN_QP;
1008 1008 if (pEncCtx->bDeliveryFlag)
1009 pEncCtx->iGlobalQp += pEncCtx->iDropNumber;1009 pEncCtx->iGlobalQp -= 1;
1010 else
1011 pEncCtx->iGlobalQp += 2;
1010 pEncCtx->iGlobalQp = WELS_CLIP3 (pEncCtx->iGlobalQp, iMinQp, MAX_SCREEN_QP);1012 pEncCtx->iGlobalQp = WELS_CLIP3 (pEncCtx->iGlobalQp, iMinQp, MAX_SCREEN_QP);
1011}1013}
1012void WelsRcInitModule (void* pCtx, RC_MODES iRcMode) {1014void WelsRcInitModule (void* pCtx, RC_MODES iRcMode) {

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