History

name pre-process steps

volvet committed 12 years ago

Commit bb354d71 parent c17994c3 files · +6 −6Browse 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+2−2
@@ -3136,7 +3136,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 3135 unmodified lines
31363136 pFbi->iLayerNum = 0; // for initialization
31373137
31383138 // perform csc/denoise/downsample/padding, generate spatial layers
3139− iSpatialNum = pCtx->pVpp->WelsPreprocessStep1 (pCtx, ppSrcList, iConfiguredLayerNum);
3139+ iSpatialNum = pCtx->pVpp->BuildSpatialPicList (pCtx, ppSrcList, iConfiguredLayerNum);
31403140 if (iSpatialNum < 1) { // skip due to temporal layer settings (different frame rate)
31413141 ++ pCtx->iCodingIndex;
31423142 return WELS_FRAME_TYPE_SKIP;
@@ -3184,7 +3184,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 41 unmodified lines
31843184 SDLayerParam* param_d = &pSvcParam->sDependencyLayers[d_idx];
31853185
31863186 pCtx->uiDependencyId = iCurDid = (int8_t)d_idx;
3187− pCtx->pVpp->WelsPreprocessStep3 (pCtx, d_idx);
3187+ pCtx->pVpp->AnalyzeSpatialPic (pCtx, d_idx);
31883188
31893189 pCtx->pEncPic = pEncPic = (pSpatialIndexMap + iSpatialIdx)->pSrc;
31903190 pCtx->pEncPic->iPictureType = pCtx->eSliceType;

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