History

add set method for scene change detection

volvet committed 12 years ago

Commit 157b8761 parent f0c2cdd1 file · +7 −0Browse files

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

Unified · Split

codec/processing/src/scenechangedetection/SceneChangeDetection.h+7−0
@@ -172,6 +172,13 @@ class CSceneChangeDetection : public IStrategy { · 171 unmodified lines
172172 return RET_SUCCESS;
173173 }
174174
175+ EResult Set(int32_t iType, void * pParam) {
176+ if( pParam == NULL ){
177+ return RET_INVALIDPARAM;
178+ }
179+ m_sSceneChangeParam = *(SSceneChangeResult*)pParam;
180+ return RET_SUCCESS;
181+ }
175182 private:
176183 SSceneChangeResult m_sSceneChangeParam;
177184 T m_cDetector;

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