History

Multi-thread-fixed:RBC#1751:Dynamic slice mode under multiThread reallocate feature enable

huade committed 9 years ago

Commit 095f0b61 parent 623599014 files · +325 −336Browse files

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

Unified · Split

codec/encoder/core/src/ratectl.cpp+1−1
@@ -547,7 +547,7 @@ void RcDecideTargetBits (sWelsEncCtx* pEncCtx) { · 546 unmodified lines
547 SRCTemporal* pTOverRc = &pWelsSvcRc->pTemporalOverRc[pEncCtx->uiTemporalId];547 SRCTemporal* pTOverRc = &pWelsSvcRc->pTemporalOverRc[pEncCtx->uiTemporalId];
548 548
549 pWelsSvcRc->iCurrentBitsLevel = BITS_NORMAL;549 pWelsSvcRc->iCurrentBitsLevel = BITS_NORMAL;
550//allocate bits550 //allocate bits
551 if (pEncCtx->eSliceType == I_SLICE) {551 if (pEncCtx->eSliceType == I_SLICE) {
552 pWelsSvcRc->iTargetBits = pWelsSvcRc->iBitsPerFrame * IDR_BITRATE_RATIO;552 pWelsSvcRc->iTargetBits = pWelsSvcRc->iBitsPerFrame * IDR_BITRATE_RATIO;
553 } else {553 } else {

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