History

1, update the max-nal-size setting in UT and param check since we are using a larger input check 2, fix potential overflow (will change bs but little impact on bs)

Sijia Chen committed 11 years ago

Commit 431bcee1 parent 7d055ca10 files · +7711 −7708Browse files

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

Unified · Split

codec/processing/interface/IWelsVP.h+3−3
@@ -163,7 +163,7 @@ typedef struct { · 162 unmodified lines
163163 typedef struct {
164164 ESceneChangeIdc eSceneChangeIdc; // SIMILAR_SCENE, MEDIUM_CHANGED_SCENE, LARGE_CHANGED_SCENE
165165 int iMotionBlockNum; // Number of motion blocks
166− int iFrameComplexity; // frame complexity
166+ long long iFrameComplexity; // frame complexity
167167 unsigned char* pStaticBlockIdc; // static block idc
168168 SScrollDetectionParam sScrollResult; //results from scroll detection
169169 } SSceneChangeResult;
@@ -222,7 +222,7 @@ typedef struct { · 52 unmodified lines
222222 int iComplexityAnalysisMode;
223223 int iCalcBgd;
224224 int iMbNumInGom;
225− int iFrameComplexity;
225+ long long iFrameComplexity;
226226 int* pGomComplexity;
227227 int* pGomForegroundBlockNum;
228228 signed char* pBackgroundMbFlag;
@@ -234,7 +234,7 @@ typedef struct { · 5 unmodified lines
234234 int iMbRowInGom;
235235 int* pGomComplexity;
236236 int iGomNumInFrame;
237− int iFrameComplexity;
237+ long long iFrameComplexity; //255*255(MaxMbSAD)*36864(MaxFS) make the highest bit of 32-bit integer 1
238238 int iIdrFlag;
239239 SScrollDetectionParam sScrollResult;
240240 } SComplexityAnalysisScreenParam;

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