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
3136 pFbi->iLayerNum = 0; // for initialization3136 pFbi->iLayerNum = 0; // for initialization
3137 3137
3138 // perform csc/denoise/downsample/padding, generate spatial layers3138 // perform csc/denoise/downsample/padding, generate spatial layers
3139 iSpatialNum = pCtx->pVpp->WelsPreprocessStep1 (pCtx, ppSrcList, iConfiguredLayerNum);3139 iSpatialNum = pCtx->pVpp->BuildSpatialPicList (pCtx, ppSrcList, iConfiguredLayerNum);
3140 if (iSpatialNum < 1) { // skip due to temporal layer settings (different frame rate)3140 if (iSpatialNum < 1) { // skip due to temporal layer settings (different frame rate)
3141 ++ pCtx->iCodingIndex;3141 ++ pCtx->iCodingIndex;
3142 return WELS_FRAME_TYPE_SKIP;3142 return WELS_FRAME_TYPE_SKIP;
@@ -3184,7 +3184,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 41 unmodified lines
3184 SDLayerParam* param_d = &pSvcParam->sDependencyLayers[d_idx];3184 SDLayerParam* param_d = &pSvcParam->sDependencyLayers[d_idx];
3185 3185
3186 pCtx->uiDependencyId = iCurDid = (int8_t)d_idx;3186 pCtx->uiDependencyId = iCurDid = (int8_t)d_idx;
3187 pCtx->pVpp->WelsPreprocessStep3 (pCtx, d_idx);3187 pCtx->pVpp->AnalyzeSpatialPic (pCtx, d_idx);
3188 3188
3189 pCtx->pEncPic = pEncPic = (pSpatialIndexMap + iSpatialIdx)->pSrc;3189 pCtx->pEncPic = pEncPic = (pSpatialIndexMap + iSpatialIdx)->pSrc;
3190 pCtx->pEncPic->iPictureType = pCtx->eSliceType;3190 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