History

use the same complexity computation branch for screen and camera

ruil2 committed 11 years ago

Commit 173ec601 parent 827c7b22 files · +11 −12Browse 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−3
@@ -3263,11 +3263,10 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3262 unmodified lines
32633263 #ifdef LONG_TERM_REF_DUMP
32643264 DumpRef (pCtx);
32653265 #endif
3266− if ((pSvcParam->iUsageType == SCREEN_CONTENT_REAL_TIME) && (pSvcParam->iRCMode != RC_OFF_MODE))
3266+ if ((pSvcParam->iRCMode != RC_OFF_MODE))
32673267 pCtx->pVpp->AnalyzePictureComplexity (pCtx, pCtx->pEncPic, ((pCtx->eSliceType == P_SLICE)
32683268 && (pCtx->iNumRef0 > 0)) ? pCtx->pRefList0[0] : NULL,
3269− iCurDid, pSvcParam->bEnableBackgroundDetection);
3270−
3269+ iCurDid,(pCtx->eSliceType == P_SLICE)&&(pSvcParam->bEnableBackgroundDetection));
32713270 WelsUpdateRefSyntax (pCtx, pCtx->iPOC,
32723271 eFrameType); //get reordering syntax used for writing slice header and transmit to encoder.
32733272 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