History

enable Scroll detection into workflow

lyao2 committed 12 years ago

Commit bd7c04f1 parent 3d599055 files · +123 −66Browse files

Showing the changes to codec/processing/interface (1 of 5 files). Show all

Unified · Split

codec/processing/interface/IWelsVP.h+10−14
@@ -138,13 +138,6 @@ typedef enum { · 137 unmodified lines
138138 //-----------------------------------------------------------------//
139139 // Algorithm parameters define
140140 //-----------------------------------------------------------------//
141−typedef struct {
142− SRect sMaskRect;
143− bool bMaskInfoAvailable;
144− int iScrollMvX;
145− int iScrollMvY;
146− bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change
147−} SScrollDetectionParam;
148141
149142 typedef enum {
150143 SIMILAR_SCENE, //similar scene
@@ -159,11 +152,20 @@ typedef enum { · 8 unmodified lines
159152 BLOCK_STATIC_IDC_ALL,
160153 } EStaticBlockIdc;
161154
155+typedef struct {
156+ SRect sMaskRect;
157+ bool bMaskInfoAvailable;
158+ int iScrollMvX;
159+ int iScrollMvY;
160+ bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change
161+} SScrollDetectionParam;
162+
162163 typedef struct {
163164 ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE
164165 int iMotionBlockNum; // Number of motion blocks
165166 int iFrameComplexity; // frame complexity
166167 unsigned char* pStaticBlockIdc; // static block idc
168+ SScrollDetectionParam sScrollResult; //results from scroll detection
167169 } SSceneChangeResult;
168170
169171 typedef struct {
@@ -216,12 +218,6 @@ typedef enum { · 46 unmodified lines
216218 GOM_VAR = -2
217219 } EComplexityAnalysisMode;
218220
219−typedef struct {
220− int iScrollMvX;
221− int iScrollMvY;
222− bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change
223−} SScrollDetectionResult;
224−
225221 typedef struct {
226222 int iComplexityAnalysisMode;
227223 int iCalcBgd;
@@ -240,7 +236,7 @@ typedef struct { · 12 unmodified lines
240236 int iGomNumInFrame;
241237 int iFrameComplexity;
242238 int iIdrFlag;
243− SScrollDetectionResult sScrollResult;
239+ SScrollDetectionParam sScrollResult;
244240 } SComplexityAnalysisScreenParam;
245241 /////////////////////////////////////////////////////////////////////////////////////////////
246242

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