shithub: libvpx

Download patch

ref: e06c242baa46ead2fb3d9801b5197ee199f8c60d
parent: c4aeff94b16a6f71d6bea91c442d8b94056d9a75
author: Yunqing Wang <yunqingwang@google.com>
date: Wed Dec 14 10:35:04 EST 2011

Only call vp8_find_near_mvs() once for each macroblock

While doing motion search on a macroblock, we usually call
vp8_find_near_mvs once per reference frame. Actually, for
different reference frames, the only difference in calculating
these near_mvs is they may have different sign_bias, which
causes a sign change in resulting near_mvs. In this change, we
only do find_near_mvs for the first reference frame. For other
reference frames, only need to adjust the near_mvs according to
that reference frame's sign_bias value.

Change-Id: I661394b49c6ad79fed7d0f2eb2be239b9c56f149