Showing the changes to codec/encoder/core/src/encoder.cpp (1 of 17 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" |
| @@ -221,6 +222,10 @@ int32_t InitFunctionPointers (sWelsEncCtx* pEncCtx, SWelsSvcCodingParam* pParam, · 169 unmodified lines | |||
| 221 | 222 | ||
| 222 | InitFillNeighborCacheInterFunc (pFuncList, pParam->bEnableBackgroundDetection); | 223 | InitFillNeighborCacheInterFunc (pFuncList, pParam->bEnableBackgroundDetection); |
| 223 | 224 | ||
| 225 | pFuncList->pParametersetStrategy = IWelsParametersetStrategy::CreateParametersetStrategy (pParam->eSpsPpsIdStrategy, | ||
| 226 | pParam->bSimulcastAVC, pParam->iSpatialLayerNum); | ||
| 227 | WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, (NULL == pFuncList->pParametersetStrategy)) | ||
| 228 | |||
| 224 | return iReturn; | 229 | return iReturn; |
| 225 | } | 230 | } |
| 226 | 231 | ||