Remove redundant rdcost reset
The initial reset of this_rdc in vp9_pick_inter_mode is not needed, since it will be re-assign when used. Change-Id: Ic0e12d741cbab292fc214c1eabb48b129af7839b
This commit is contained in:
parent
eadffb2d6e
commit
17bedc54f5
@ -599,7 +599,6 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
|
|||||||
|
|
||||||
// initialize mode decisions
|
// initialize mode decisions
|
||||||
vp9_rd_cost_reset(&best_rdc);
|
vp9_rd_cost_reset(&best_rdc);
|
||||||
vp9_rd_cost_reset(&this_rdc);
|
|
||||||
vp9_rd_cost_reset(rd_cost);
|
vp9_rd_cost_reset(rd_cost);
|
||||||
mbmi->sb_type = bsize;
|
mbmi->sb_type = bsize;
|
||||||
mbmi->ref_frame[0] = NONE;
|
mbmi->ref_frame[0] = NONE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user