History

update the number of reference when ltr changes

ruil2 committed 12 years ago

Commit 9b5902b1 parent 035019f3 files · +42 −10Browse files

Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 3 files). Show all

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+1−7
@@ -825,13 +825,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 824 unmodified lines
825 break;825 break;
826 case ENCODER_OPTION_LTR: {826 case ENCODER_OPTION_LTR: {
827 SLTRConfig* pLTRValue = ((SLTRConfig*) (pOption));827 SLTRConfig* pLTRValue = ((SLTRConfig*) (pOption));
828 SWelsSvcCodingParam sConfig;828 WelsEncoderApplyLTR (&m_pWelsTrace->m_sLogCtx, m_pEncContext, pLTRValue);
829 memcpy (&sConfig, m_pEncContext->pSvcParam, sizeof (SWelsSvcCodingParam));
830 sConfig.bEnableLongTermReference = pLTRValue->bEnableLongTermReference;
831 sConfig.iLTRRefNum = pLTRValue->iLTRRefNum;
832 WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_WARNING, " CWelsH264SVCEncoder::SetOption enable LTR = %d,ltrnum = %d",
833 sConfig.bEnableLongTermReference, sConfig.iLTRRefNum);
834 WelsEncoderParamAdjust (&m_pEncContext, &sConfig);
835 }829 }
836 break;830 break;
837 case ENCODER_OPTION_ENABLE_SSEI: {831 case ENCODER_OPTION_ENABLE_SSEI: {

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