fix IOCs
Left shift of negative values caused IOC warnings. Change-Id: I6f41b020ca0ff51f7861719d41393e9460b75d4e
This commit is contained in:
parent
6a4e2ddabc
commit
dc9af3b509
@ -124,8 +124,8 @@ static int full_pixel_motion_search(VP9_COMP *cpi, MACROBLOCK *x,
|
||||
stride, 0x7fffffff);
|
||||
|
||||
// scale to 1/8 pixel resolution
|
||||
tmp_mv->as_mv.row = tmp_mv->as_mv.row << 3;
|
||||
tmp_mv->as_mv.col = tmp_mv->as_mv.col << 3;
|
||||
tmp_mv->as_mv.row = tmp_mv->as_mv.row * 8;
|
||||
tmp_mv->as_mv.col = tmp_mv->as_mv.col * 8;
|
||||
|
||||
// calculate the bit cost on motion vector
|
||||
*rate_mv = vp9_mv_bit_cost(&tmp_mv->as_mv, &ref_mv.as_mv,
|
||||
|
Loading…
x
Reference in New Issue
Block a user