History

using default value for LTR.

ruil2 committed 12 years ago

Commit c6a136c1 parent 1a394d12 files · +3 −3Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+2−2
@@ -3834,7 +3834,7 @@ void WelsEncoderApplyLTR (SLogContext* pLogCtx, sWelsEncCtx** ppCtx, SLTRConfig* · 3833 unmodified lines
38343834 int32_t uiGopSize = 1 << (sConfig.iTemporalLayerNum - 1);
38353835 if (sConfig.iUsageType == SCREEN_CONTENT_REAL_TIME) {
38363836 if (sConfig.bEnableLongTermReference) {
3837− sConfig.iLTRRefNum = WELS_CLIP3 (sConfig.iLTRRefNum, 1, LONG_TERM_REF_NUM_SCREEN);
3837+ sConfig.iLTRRefNum = LONG_TERM_REF_NUM_SCREEN;//WELS_CLIP3 (sConfig.iLTRRefNum, 1, LONG_TERM_REF_NUM_SCREEN);
38383838 iNumRefFrame = WELS_MAX (1, WELS_LOG2 (uiGopSize)) + sConfig.iLTRRefNum;
38393839 } else {
38403840 sConfig.iLTRRefNum = 0;
@@ -3842,7 +3842,7 @@ void WelsEncoderApplyLTR (SLogContext* pLogCtx, sWelsEncCtx** ppCtx, SLTRConfig* · 1 unmodified line
38423842 }
38433843 } else {
38443844 if (sConfig.bEnableLongTermReference) {
3845− sConfig.iLTRRefNum = WELS_CLIP3 (sConfig.iLTRRefNum, 1, LONG_TERM_REF_NUM);
3845+ sConfig.iLTRRefNum = LONG_TERM_REF_NUM;//WELS_CLIP3 (sConfig.iLTRRefNum, 1, LONG_TERM_REF_NUM);
38463846 } else {
38473847 sConfig.iLTRRefNum = 0;
38483848 }

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