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
138//-----------------------------------------------------------------//138//-----------------------------------------------------------------//
139// Algorithm parameters define139// Algorithm parameters define
140//-----------------------------------------------------------------//140//-----------------------------------------------------------------//
141typedef 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;
148 141
149typedef enum {142typedef enum {
150 SIMILAR_SCENE, //similar scene143 SIMILAR_SCENE, //similar scene
@@ -159,11 +152,20 @@ typedef enum { · 8 unmodified lines
159 BLOCK_STATIC_IDC_ALL,152 BLOCK_STATIC_IDC_ALL,
160} EStaticBlockIdc;153} EStaticBlockIdc;
161 154
155typedef 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
162typedef struct {163typedef struct {
163 ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE164 ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE
164 int iMotionBlockNum; // Number of motion blocks165 int iMotionBlockNum; // Number of motion blocks
165 int iFrameComplexity; // frame complexity166 int iFrameComplexity; // frame complexity
166 unsigned char* pStaticBlockIdc; // static block idc167 unsigned char* pStaticBlockIdc; // static block idc
168 SScrollDetectionParam sScrollResult; //results from scroll detection
167} SSceneChangeResult;169} SSceneChangeResult;
168 170
169typedef struct {171typedef struct {
@@ -216,12 +218,6 @@ typedef enum { · 46 unmodified lines
216 GOM_VAR = -2218 GOM_VAR = -2
217} EComplexityAnalysisMode;219} EComplexityAnalysisMode;
218 220
219typedef struct {
220 int iScrollMvX;
221 int iScrollMvY;
222 bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change
223} SScrollDetectionResult;
224
225typedef struct {221typedef struct {
226 int iComplexityAnalysisMode;222 int iComplexityAnalysisMode;
227 int iCalcBgd;223 int iCalcBgd;
@@ -240,7 +236,7 @@ typedef struct { · 12 unmodified lines
240 int iGomNumInFrame;236 int iGomNumInFrame;
241 int iFrameComplexity;237 int iFrameComplexity;
242 int iIdrFlag;238 int iIdrFlag;
243 SScrollDetectionResult sScrollResult;239 SScrollDetectionParam sScrollResult;
244} SComplexityAnalysisScreenParam;240} SComplexityAnalysisScreenParam;
245/////////////////////////////////////////////////////////////////////////////////////////////241/////////////////////////////////////////////////////////////////////////////////////////////
246 242

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