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 | 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 | 142 | typedef enum { |
| 150 | 143 | SIMILAR_SCENE, //similar scene |
| @@ -159,11 +152,20 @@ typedef enum { · 8 unmodified lines | ||
| 159 | 152 | BLOCK_STATIC_IDC_ALL, |
| 160 | 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 | 163 | typedef struct { |
| 163 | 164 | ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE |
| 164 | 165 | int iMotionBlockNum; // Number of motion blocks |
| 165 | 166 | int iFrameComplexity; // frame complexity |
| 166 | 167 | unsigned char* pStaticBlockIdc; // static block idc |
| 168 | + SScrollDetectionParam sScrollResult; //results from scroll detection | |
| 167 | 169 | } SSceneChangeResult; |
| 168 | 170 | |
| 169 | 171 | typedef struct { |
| @@ -216,12 +218,6 @@ typedef enum { · 46 unmodified lines | ||
| 216 | 218 | GOM_VAR = -2 |
| 217 | 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 | 221 | typedef struct { |
| 226 | 222 | int iComplexityAnalysisMode; |
| 227 | 223 | int iCalcBgd; |
| @@ -240,7 +236,7 @@ typedef struct { · 12 unmodified lines | ||
| 240 | 236 | int iGomNumInFrame; |
| 241 | 237 | int iFrameComplexity; |
| 242 | 238 | int iIdrFlag; |
| 243 | − SScrollDetectionResult sScrollResult; | |
| 239 | + SScrollDetectionParam sScrollResult; | |
| 244 | 240 | } SComplexityAnalysisScreenParam; |
| 245 | 241 | ///////////////////////////////////////////////////////////////////////////////////////////// |
| 246 | 242 | |