History

Check and Fix some issue#1535

dong zhang committed 11 years ago

Commit b18e9051 parent c13bfe62 files · +1 −4Browse files

Showing the changes to codec/processing/src (2 of 2 files). Show all

Unified · Split

2 files
  1. codec/processing/src/backgrounddetection/BackgroundDetection.cpp +0 −1
  2. codec/processing/src/common/WelsFrameWork.cpp +1 −3
codec/processing/src/backgrounddetection/BackgroundDetection.cpp+0−1
@@ -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: bottom341 SBackgroundOU* pOUNeighbours[4];//0: left; 1: right; 2: top; 3: bottom
342 342
343 pBackgroundOU = pBgdParam->pOU_array;
344 pOUNeighbours[2] = pBackgroundOU;//top OU343 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;
codec/processing/src/common/WelsFrameWork.cpp+1−3
@@ -91,9 +91,7 @@ CVpFrameWork::CVpFrameWork (uint32_t uiThreadsNum, EResult& eReturn) { · 90 unmodified lines
91 uint32_t uiCPUFlag = WelsCPUFeatureDetect (&iCoreNum);91 uint32_t uiCPUFlag = WelsCPUFeatureDetect (&iCoreNum);
92 92
93 for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) {93 for (int32_t i = 0; i < MAX_STRATEGY_NUM; i++) {
94 IStrategy* pStrategy = m_pStgChain[i];94 m_pStgChain[i] = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag);
95 pStrategy = CreateStrategy (WelsStaticCast (EMethods, i + 1), uiCPUFlag);
96 m_pStgChain[i] = pStrategy;
97 }95 }
98 96
99 WelsMutexInit (&m_mutes);97 WelsMutexInit (&m_mutes);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t