History

Merge pull request #2484 from sijchen/refactor_preprocess13

[Encoder] Refactor: add class for diff preprocess strategy

ruil2 committed 10 years ago

Commit 2d3fc372 parents c29da29 03863ae3 files · +121 −54Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−1
@@ -2454,7 +2454,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 2453 unmodified lines
24542454 WelsCabacInit (pCtx);
24552455 WelsRcInitModule (pCtx, pCtx->pSvcParam->iRCMode);
24562456
2457− pCtx->pVpp = new CWelsPreProcess (pCtx);
2457+ pCtx->pVpp = CWelsPreProcess::CreatePreProcess(pCtx);
24582458 if (pCtx->pVpp == NULL) {
24592459 iRet = 1;
24602460 WelsLog (pLogCtx, WELS_LOG_ERROR, "WelsInitEncoderExt(), pOut of memory in case new CWelsPreProcess().");

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