fix compile warnings
This commit is contained in:
parent
d8080adb4c
commit
71ab928ca3
@ -547,7 +547,7 @@ bool FeatureSearchOne( SFeatureSearchIn &sFeatureSearchIn, const int32_t iFeatur
|
||||
void MotionEstimateFeatureFullSearch( SFeatureSearchIn &sFeatureSearchIn,
|
||||
const uint32_t kuiMaxSearchPoint,
|
||||
SWelsME* pMe) {
|
||||
SFeatureSearchOut sFeatureSearchOut = {0};//TODO: this can be refactored and removed
|
||||
SFeatureSearchOut sFeatureSearchOut = { { 0 } };//TODO: this can be refactored and removed
|
||||
sFeatureSearchOut.uiBestSadCost = pMe->uiSadCost;
|
||||
sFeatureSearchOut.sBestMv = pMe->sMv;
|
||||
sFeatureSearchOut.pBestRef = pMe->pRefMb;
|
||||
|
@ -1013,15 +1013,15 @@ ESceneChangeIdc CWelsPreProcess::DetectSceneChangeScreen (sWelsEncCtx* pCtx, SPi
|
||||
return LARGE_CHANGED_SCENE;
|
||||
}
|
||||
|
||||
SRefInfoParam sAvailableRefList[MAX_REF_PIC_COUNT] = {0};
|
||||
SRefInfoParam sAvailableRefList[MAX_REF_PIC_COUNT] = { { 0 } };
|
||||
int32_t iAvailableRefNum = 0;
|
||||
int32_t iAvailableSceneRefNum = 0;
|
||||
|
||||
int32_t iSceneChangeMethodIdx = METHOD_SCENE_CHANGE_DETECTION_SCREEN;
|
||||
SSceneChangeResult sSceneChangeResult = {SIMILAR_SCENE, 0, 0, NULL};
|
||||
|
||||
SPixMap sSrcMap = {0};
|
||||
SPixMap sRefMap = {0};
|
||||
SPixMap sSrcMap = { { 0 } };
|
||||
SPixMap sRefMap = { { 0 } };
|
||||
SRefJudgement sLtrJudgement;
|
||||
SRefJudgement sSceneLtrJudgement;
|
||||
SRefInfoParam sLtrSaved = {0};
|
||||
@ -1030,7 +1030,7 @@ ESceneChangeIdc CWelsPreProcess::DetectSceneChangeScreen (sWelsEncCtx* pCtx, SPi
|
||||
int32_t iNumOfLargeChange = 0, iNumOfMediumChangeToLtr = 0;
|
||||
|
||||
bool bBestRefIsLtr = false, bIsClosestLtrFrame = false;
|
||||
int32_t ret = 1, iScdIdx = 0, i = 0;
|
||||
int32_t ret = 1, iScdIdx = 0;
|
||||
|
||||
SPicture* pRefPic = NULL;
|
||||
SRefInfoParam* pRefPicInfo = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user