History

add complexity calculation in workflow

ruil2 committed 12 years ago

Commit 6b707ff1 parent 2f8c5394 files · +115 −61Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+4−0
@@ -3002,6 +3002,10 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3001 unmodified lines
30023002 #ifdef LONG_TERM_REF_DUMP
30033003 dump_ref (pCtx);
30043004 #endif
3005+ if((pSvcParam->iUsageType == SCREEN_CONTENT_REAL_TIME)&&(pSvcParam->iRCMode != RC_OFF_MODE))
3006+ pCtx->pVpp->AnalyzePictureComplexity(pCtx,pCtx->pEncPic,((pCtx->eSliceType == P_SLICE)&&(pCtx->iNumRef0>0))?pCtx->pRefList0[0]:NULL,
3007+ iCurDid,pSvcParam->bEnableBackgroundDetection);
3008+
30053009 WelsUpdateRefSyntax (pCtx, pCtx->iPOC,
30063010 eFrameType); //get reordering syntax used for writing slice header and transmit to encoder.
30073011 PrefetchReferencePicture (pCtx, eFrameType); // update reference picture for current pDq layer

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