Showing the changes to codec/processing/src (2 of 2 files). Show all
Unified · Split
| @@ -340,7 +340,6 @@ void CBackgroundDetection::ForegroundDilationAndBackgroundErosion (vBGDParam* pB · 339 unmodified lines | ||
| 340 | 340 | int8_t* pVaaBackgroundMbFlag = (int8_t*)pBgdParam->pBackgroundMbFlag; |
| 341 | 341 | SBackgroundOU* pOUNeighbours[4];//0: left; 1: right; 2: top; 3: bottom |
| 342 | 342 | |
| 343 | − pBackgroundOU = pBgdParam->pOU_array; | |
| 344 | 343 | pOUNeighbours[2] = pBackgroundOU;//top OU |
| 345 | 344 | for (int32_t j = 0; j < iPicHeightInOU; j ++) { |
| 346 | 345 | int8_t* pRowSkipFlag = pVaaBackgroundMbFlag; |
| @@ -91,9 +91,7 @@ CVpFrameWork::CVpFrameWork (uint32_t uiThreadsNum, EResult& eReturn) { · 90 unmodified lines | ||
| 91 | 91 | uint32_t uiCPUFlag = WelsCPUFeatureDetect (&iCoreNum); |
| 92 | 92 | |
| 93 | 93 | for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) { |
| 94 | − IStrategy* pStrategy = m_pStgChain[i]; | |
| 95 | − pStrategy = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag); | |
| 96 | − m_pStgChain[i] = pStrategy; | |
| 94 | + m_pStgChain[i] = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag); | |
| 97 | 95 | } |
| 98 | 96 | |
| 99 | 97 | WelsMutexInit (&m_mutes); |