Adjust full-pixel clamping and motion vector limit calculation
authorYunqing Wang <yunqingwang@google.com>
Thu, 7 Jul 2011 15:21:41 +0000 (11:21 -0400)
committerYunqing Wang <yunqingwang@google.com>
Fri, 8 Jul 2011 15:34:28 +0000 (11:34 -0400)
commit40991faeae8ded446de7ca2d9efeae54644b294b
treed1d39100bc95541dd5fccd7dae9a0451995c81c8
parentb4f70084cc64b8304005a385cb0a670431aced20
Adjust full-pixel clamping and motion vector limit calculation

Do mvp clamping in full-pixel precision instead of 1/8-pixel
precision to avoid error caused by right shifting operation.
Also, further fixed the motion vector limit calculation in change:
b7480454706a6b15bf091e659cd6227ab373c1a6

Change-Id: Ied88a4f7ddfb0476eb9f7afc6ceeddbf209fffd7
vp8/encoder/firstpass.c
vp8/encoder/mcomp.c
vp8/encoder/pickinter.c
vp8/encoder/rdopt.c
vp8/encoder/temporal_filter.c