Showing the changes to codec/encoder/core/src/encoder.cpp (1 of 14 files). Show all
Unified · Split
| @@ -46,6 +46,7 @@ · 45 unmodified lines | |||
| 46 | #include "deblocking.h" | 46 | #include "deblocking.h" |
| 47 | #include "ref_list_mgr_svc.h" | 47 | #include "ref_list_mgr_svc.h" |
| 48 | #include "mc.h" | 48 | #include "mc.h" |
| 49 | #include "paraset_strategy.h" | ||
| 49 | #include "sample.h" | 50 | #include "sample.h" |
| 50 | 51 | ||
| 51 | #include "svc_enc_golomb.h" | 52 | #include "svc_enc_golomb.h" |
| @@ -223,6 +224,10 @@ int32_t InitFunctionPointers (sWelsEncCtx* pEncCtx, SWelsSvcCodingParam* pParam, · 171 unmodified lines | |||
| 223 | 224 | ||
| 224 | InitRefListMgrFunc (pFuncList, pParam->bEnableLongTermReference, bScreenContent); | 225 | InitRefListMgrFunc (pFuncList, pParam->bEnableLongTermReference, bScreenContent); |
| 225 | 226 | ||
| 227 | pFuncList->pParametersetStrategy = IWelsParametersetStrategy::CreateParametersetStrategy (pParam->eSpsPpsIdStrategy, | ||
| 228 | pParam->bSimulcastAVC, pParam->iSpatialLayerNum); | ||
| 229 | WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, (NULL == pFuncList->pParametersetStrategy)) | ||
| 230 | |||
| 226 | return iReturn; | 231 | return iReturn; |
| 227 | } | 232 | } |
| 228 | 233 | ||