Showing the changes to codec/processing/interface (1 of 5 files). Show all
Unified · Split
| @@ -138,13 +138,6 @@ typedef enum { · 137 unmodified lines | |||
| 138 | //-----------------------------------------------------------------// | 138 | //-----------------------------------------------------------------// |
| 139 | // Algorithm parameters define | 139 | // Algorithm parameters define |
| 140 | //-----------------------------------------------------------------// | 140 | //-----------------------------------------------------------------// |
| 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; | ||
| 148 | 141 | ||
| 149 | typedef enum { | 142 | typedef enum { |
| 150 | SIMILAR_SCENE, //similar scene | 143 | 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 | ||
| 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 | |||
| 162 | typedef struct { | 163 | typedef struct { |
| 163 | ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE | 164 | ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE |
| 164 | int iMotionBlockNum; // Number of motion blocks | 165 | int iMotionBlockNum; // Number of motion blocks |
| 165 | int iFrameComplexity; // frame complexity | 166 | int iFrameComplexity; // frame complexity |
| 166 | unsigned char* pStaticBlockIdc; // static block idc | 167 | unsigned char* pStaticBlockIdc; // static block idc |
| 168 | SScrollDetectionParam sScrollResult; //results from scroll detection | ||
| 167 | } SSceneChangeResult; | 169 | } SSceneChangeResult; |
| 168 | 170 | ||
| 169 | typedef struct { | 171 | typedef struct { |
| @@ -216,12 +218,6 @@ typedef enum { · 46 unmodified lines | |||
| 216 | GOM_VAR = -2 | 218 | GOM_VAR = -2 |
| 217 | } EComplexityAnalysisMode; | 219 | } EComplexityAnalysisMode; |
| 218 | 220 | ||
| 219 | typedef struct { | ||
| 220 | int iScrollMvX; | ||
| 221 | int iScrollMvY; | ||
| 222 | bool bScrollDetectFlag; // 0:false ; 1:ltr; 2: scene change | ||
| 223 | } SScrollDetectionResult; | ||
| 224 | |||
| 225 | typedef struct { | 221 | typedef 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 | ||