Showing the changes to codec/processing/src/backgrounddetection/BackgroundDetection.cpp (1 of 2 files). Show all
Unified · Split
| @@ -340,7 +340,6 @@ void CBackgroundDetection::ForegroundDilationAndBackgroundErosion (vBGDParam* pB · 339 unmodified lines | |||
| 340 | int8_t* pVaaBackgroundMbFlag = (int8_t*)pBgdParam->pBackgroundMbFlag; | 340 | int8_t* pVaaBackgroundMbFlag = (int8_t*)pBgdParam->pBackgroundMbFlag; |
| 341 | SBackgroundOU* pOUNeighbours[4];//0: left; 1: right; 2: top; 3: bottom | 341 | SBackgroundOU* pOUNeighbours[4];//0: left; 1: right; 2: top; 3: bottom |
| 342 | 342 | ||
| 343 | pBackgroundOU = pBgdParam->pOU_array; | ||
| 344 | pOUNeighbours[2] = pBackgroundOU;//top OU | 343 | pOUNeighbours[2] = pBackgroundOU;//top OU |
| 345 | for (int32_t j = 0; j < iPicHeightInOU; j ++) { | 344 | for (int32_t j = 0; j < iPicHeightInOU; j ++) { |
| 346 | int8_t* pRowSkipFlag = pVaaBackgroundMbFlag; | 345 | int8_t* pRowSkipFlag = pVaaBackgroundMbFlag; |