History

use large/medium/similar to define scene change result

volvet committed 12 years ago

Commit c8761c01 parent 8962b7c3 files · +10 −10Browse files

Showing the changes to codec/processing/src/scenechangedetection (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
81 iRefRowStride = pRefPixMap->iStride[0] << 3;81 iRefRowStride = pRefPixMap->iStride[0] << 3;
82 iCurRowStride = pSrcPixMap->iStride[0] << 3;82 iCurRowStride = pSrcPixMap->iStride[0] << 3;
83 83
84 m_sSceneChangeParam.bSceneChangeFlag = 0;84 m_sSceneChangeParam.eSceneChangeIdc = SIMILAR_SCENE;
85 85
86 for (int32_t j = 0; j < iBlock8x8Height; j ++) {86 for (int32_t j = 0; j < iBlock8x8Height; j ++) {
87 pRefTmp = pRefY;87 pRefTmp = pRefY;
@@ -101,7 +101,7 @@ EResult CSceneChangeDetection::Process (int32_t iType, SPixMap* pSrcPixMap, SPix · 13 unmodified lines
101 }101 }
102 102
103 if (iMotionBlockNum >= iSceneChangeThreshold) {103 if (iMotionBlockNum >= iSceneChangeThreshold) {
104 m_sSceneChangeParam.bSceneChangeFlag = 1;104 m_sSceneChangeParam.eSceneChangeIdc = LARGE_CHANGED_SCENE;
105 }105 }
106 106
107 eReturn = RET_SUCCESS;107 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