enable Scroll detection into workflow

This commit is contained in:
lyao2
2014-05-15 09:11:58 +08:00
parent 3d5990500b
commit bd7c04f738
5 changed files with 123 additions and 66 deletions

View File

@@ -138,13 +138,6 @@ typedef enum {
//-----------------------------------------------------------------//
// Algorithm parameters define
//-----------------------------------------------------------------//
typedef struct {
SRect sMaskRect;
bool bMaskInfoAvailable;
int iScrollMvX;
int iScrollMvY;
bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change
} SScrollDetectionParam;
typedef enum {
SIMILAR_SCENE, //similar scene
@@ -159,11 +152,20 @@ typedef enum {
BLOCK_STATIC_IDC_ALL,
} EStaticBlockIdc;
typedef struct {
SRect sMaskRect;
bool bMaskInfoAvailable;
int iScrollMvX;
int iScrollMvY;
bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change
} SScrollDetectionParam;
typedef struct {
ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE
int iMotionBlockNum; // Number of motion blocks
int iFrameComplexity; // frame complexity
unsigned char* pStaticBlockIdc; // static block idc
SScrollDetectionParam sScrollResult; //results from scroll detection
} SSceneChangeResult;
typedef struct {
@@ -216,12 +218,6 @@ typedef enum {
GOM_VAR = -2
} EComplexityAnalysisMode;
typedef struct {
int iScrollMvX;
int iScrollMvY;
bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change
} SScrollDetectionResult;
typedef struct {
int iComplexityAnalysisMode;
int iCalcBgd;
@@ -240,7 +236,7 @@ typedef struct {
int iGomNumInFrame;
int iFrameComplexity;
int iIdrFlag;
SScrollDetectionResult sScrollResult;
SScrollDetectionParam sScrollResult;
} SComplexityAnalysisScreenParam;
/////////////////////////////////////////////////////////////////////////////////////////////