Showing the changes to codec/encoder/core/src/encoder.cpp (1 of 5 files). Show all
Unified · Split
| @@ -142,10 +142,10 @@ int32_t InitPic (const void* kpSrc, const int32_t kiColorspace, const int32_t ki · 141 unmodified lines | |||
| 142 | void WelsInitBGDFunc (SWelsFuncPtrList* pFuncList, const bool kbEnableBackgroundDetection) { | 142 | void WelsInitBGDFunc (SWelsFuncPtrList* pFuncList, const bool kbEnableBackgroundDetection) { |
| 143 | if (kbEnableBackgroundDetection) { | 143 | if (kbEnableBackgroundDetection) { |
| 144 | pFuncList->pfInterMdBackgroundDecision = WelsMdInterJudgeBGDPskip; | 144 | pFuncList->pfInterMdBackgroundDecision = WelsMdInterJudgeBGDPskip; |
| 145 | pFuncList->pfInterMdBackgroundInfoUpdate = WelsMdInterUpdateBGDInfo; | 145 | pFuncList->pfMdBackgroundInfoUpdate = WelsMdUpdateBGDInfo; |
| 146 | } else { | 146 | } else { |
| 147 | pFuncList->pfInterMdBackgroundDecision = WelsMdInterJudgeBGDPskipFalse; | 147 | pFuncList->pfInterMdBackgroundDecision = WelsMdInterJudgeBGDPskipFalse; |
| 148 | pFuncList->pfInterMdBackgroundInfoUpdate = WelsMdInterUpdateBGDInfoNULL; | 148 | pFuncList->pfMdBackgroundInfoUpdate = WelsMdUpdateBGDInfoNULL; |
| 149 | } | 149 | } |
| 150 | } | 150 | } |
| 151 | 151 | ||