History

change FrameQP control and complexity calculation

Karina committed 10 years ago

Commit ffe11831 parent 44d85608 files · +4782 −4817Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+0−2
@@ -3704,7 +3704,6 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3703 unmodified lines
3704#ifdef LONG_TERM_REF_DUMP3704#ifdef LONG_TERM_REF_DUMP
3705 DumpRef (pCtx);3705 DumpRef (pCtx);
3706#endif3706#endif
3707
3708 if (pSvcParam->iRCMode != RC_OFF_MODE)3707 if (pSvcParam->iRCMode != RC_OFF_MODE)
3709 pCtx->pVpp->AnalyzePictureComplexity (pCtx, pCtx->pEncPic, ((pCtx->eSliceType == P_SLICE)3708 pCtx->pVpp->AnalyzePictureComplexity (pCtx, pCtx->pEncPic, ((pCtx->eSliceType == P_SLICE)
3710 && (pCtx->iNumRef0 > 0)) ? pCtx->pRefList0[0] : NULL,3709 && (pCtx->iNumRef0 > 0)) ? pCtx->pRefList0[0] : NULL,
@@ -3712,7 +3711,6 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 1 unmodified line
3712 WelsUpdateRefSyntax (pCtx, pParamInternal->iPOC,3711 WelsUpdateRefSyntax (pCtx, pParamInternal->iPOC,
3713 eFrameType); //get reordering syntax used for writing slice header and transmit to encoder.3712 eFrameType); //get reordering syntax used for writing slice header and transmit to encoder.
3714 PrefetchReferencePicture (pCtx, eFrameType); // update reference picture for current pDq layer3713 PrefetchReferencePicture (pCtx, eFrameType); // update reference picture for current pDq layer
3715
3716 pCtx->pFuncList->pfRc.pfWelsRcPictureInit (pCtx, pFbi->uiTimeStamp);3714 pCtx->pFuncList->pfRc.pfWelsRcPictureInit (pCtx, pFbi->uiTimeStamp);
3717 PreprocessSliceCoding (pCtx); // MUST be called after pfWelsRcPictureInit() and WelsInitCurrentLayer()3715 PreprocessSliceCoding (pCtx); // MUST be called after pfWelsRcPictureInit() and WelsInitCurrentLayer()
3718 3716

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