Commit e623056b authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

vp9_pickmode.c: cleanup -wextra warnings

Change-Id: I07e39f04fb11d2673722651fc78d0e9d22b1f557
parent 1fe6496b
...@@ -31,7 +31,7 @@ static void full_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x, ...@@ -31,7 +31,7 @@ static void full_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x,
int_mv *tmp_mv, int *rate_mv) { int_mv *tmp_mv, int *rate_mv) {
MACROBLOCKD *xd = &x->e_mbd; MACROBLOCKD *xd = &x->e_mbd;
MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi;
struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0}}; struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0, 0}};
int step_param; int step_param;
int sadpb = x->sadperbit16; int sadpb = x->sadperbit16;
MV mvp_full; MV mvp_full;
...@@ -110,7 +110,7 @@ static void sub_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x, ...@@ -110,7 +110,7 @@ static void sub_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x,
MV *tmp_mv) { MV *tmp_mv) {
MACROBLOCKD *xd = &x->e_mbd; MACROBLOCKD *xd = &x->e_mbd;
MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi;
struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0}}; struct buf_2d backup_yv12[MAX_MB_PLANE] = {{0, 0}};
int ref = mbmi->ref_frame[0]; int ref = mbmi->ref_frame[0];
MV ref_mv = mbmi->ref_mvs[ref][0].as_mv; MV ref_mv = mbmi->ref_mvs[ref][0].as_mv;
int dis; int dis;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment