Home
last modified time | relevance | path

Searched refs:pBackgroundOU (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/codec/processing/src/backgrounddetection/
DBackgroundDetection.cpp162 SBackgroundOU* pBackgroundOU = pBgdParam->pOU_array; in ForegroundBackgroundDivision() local
167 pBackgroundOU); in ForegroundBackgroundDivision()
169 pBackgroundOU->iBackgroundFlag = 0; in ForegroundBackgroundDivision()
170 if (pBackgroundOU->iMAD > 63) { in ForegroundBackgroundDivision()
171 pBackgroundOU++; in ForegroundBackgroundDivision()
174 if ((pBackgroundOU->iMaxDiffSubSd <= pBackgroundOU->iSAD >> 3 in ForegroundBackgroundDivision()
175 || pBackgroundOU->iMaxDiffSubSd <= (BGD_OU_SIZE * Q_FACTOR)) in ForegroundBackgroundDivision()
176 && pBackgroundOU->iSAD < (BGD_THD_SAD << 1)) { //BGD_OU_SIZE*BGD_OU_SIZE>>2 in ForegroundBackgroundDivision()
177 if (pBackgroundOU->iSAD <= BGD_OU_SIZE * Q_FACTOR) { in ForegroundBackgroundDivision()
178 pBackgroundOU->iBackgroundFlag = 1; in ForegroundBackgroundDivision()
[all …]
DBackgroundDetection.h85 inline bool ForegroundDilation23Luma (SBackgroundOU* pBackgroundOU,
89 …inline void ForegroundDilation (SBackgroundOU* pBackgroundOU, SBackgroundOU* pOUNeighbours[], …
91 inline void BackgroundErosion (SBackgroundOU* pBackgroundOU, SBackgroundOU* pOUNeighbours[]);
97 SBackgroundOU* pBackgroundOU);