History

Merge pull request #483 from volvet/develop_b

use large/medium/similar to define scene change result

Licai Guo committed 12 years ago

Commit fc4e0ca2 parents b5a4d70 fc5c4883 files · +10 −10Browse files

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

Unified · Split

codec/processing/src/scenechangedetection/SceneChangeDetection.cpp+2−2
@@ -81,7 +81,7 @@ EResult CSceneChangeDetection::Process (int32_t iType, SPixMap* pSrcPixMap, SPix · 80 unmodified lines
8181 iRefRowStride = pRefPixMap->iStride[0] << 3;
8282 iCurRowStride = pSrcPixMap->iStride[0] << 3;
8383
84− m_sSceneChangeParam.bSceneChangeFlag = 0;
84+ m_sSceneChangeParam.eSceneChangeIdc = SIMILAR_SCENE;
8585
8686 for (int32_t j = 0; j < iBlock8x8Height; j ++) {
8787 pRefTmp = pRefY;
@@ -101,7 +101,7 @@ EResult CSceneChangeDetection::Process (int32_t iType, SPixMap* pSrcPixMap, SPix · 13 unmodified lines
101101 }
102102
103103 if (iMotionBlockNum >= iSceneChangeThreshold) {
104− m_sSceneChangeParam.bSceneChangeFlag = 1;
104+ m_sSceneChangeParam.eSceneChangeIdc = LARGE_CHANGED_SCENE;
105105 }
106106
107107 eReturn = RET_SUCCESS;

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