MCPcopy Create free account
hub / github.com/cisco/openh264 / WelsInitBGDFunc

Function WelsInitBGDFunc

codec/encoder/core/src/encoder.cpp:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141
142void WelsInitBGDFunc (SWelsFuncPtrList* pFuncList, const bool kbEnableBackgroundDetection) {
143 if (kbEnableBackgroundDetection) {
144 pFuncList->pfInterMdBackgroundDecision = WelsMdInterJudgeBGDPskip;
145 pFuncList->pfMdBackgroundInfoUpdate = WelsMdUpdateBGDInfo;
146 } else {
147 pFuncList->pfInterMdBackgroundDecision = WelsMdInterJudgeBGDPskipFalse;
148 pFuncList->pfMdBackgroundInfoUpdate = WelsMdUpdateBGDInfoNULL;
149 }
150}
151
152/*!
153 * \brief initialize function pointers that potentially used in Wels encoding

Callers 1

InitFunctionPointersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected