summaryrefslogtreecommitdiff
path: root/vp8/common/findnearmv.c
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2012-08-03 12:17:18 -0700
committerDeb Mukherjee <debargha@google.com>2012-08-03 13:38:49 -0700
commit2af5473a90306b993d145ef64faad6ad1ed21a4d (patch)
tree6ca204f45bb96af6425a870bd206a8357737e951 /vp8/common/findnearmv.c
parentfcbff9ee04f5b67ce79fd329333c8b1970d9318d (diff)
downloadlibvpx-2af5473a90306b993d145ef64faad6ad1ed21a4d.tar
libvpx-2af5473a90306b993d145ef64faad6ad1ed21a4d.tar.gz
libvpx-2af5473a90306b993d145ef64faad6ad1ed21a4d.tar.bz2
libvpx-2af5473a90306b993d145ef64faad6ad1ed21a4d.zip
Merging in high_precision_mv experiment
Merged in the high_precision_mv experiment to make it easier to work on new mv encoding strategies. Also removed coef_update_probs3(). Change-Id: I82d3b0bb642419fe05dba82528bc9ba010e90924
Diffstat (limited to 'vp8/common/findnearmv.c')
-rw-r--r--vp8/common/findnearmv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vp8/common/findnearmv.c b/vp8/common/findnearmv.c
index 8a67162bd..d35e2c4d4 100644
--- a/vp8/common/findnearmv.c
+++ b/vp8/common/findnearmv.c
@@ -133,7 +133,6 @@ void vp8_find_near_mvs
/* Make sure that the 1/8th bits of the Mvs are zero if high_precision
* is not being used, by truncating the last bit towards 0
*/
-#if CONFIG_HIGH_PRECISION_MV
if (!xd->allow_high_precision_mv) {
if (best_mv->as_mv.row & 1)
best_mv->as_mv.row += (best_mv->as_mv.row > 0 ? -1 : 1);
@@ -148,7 +147,6 @@ void vp8_find_near_mvs
if (nearby->as_mv.col & 1)
nearby->as_mv.col += (nearby->as_mv.col > 0 ? -1 : 1);
}
-#endif
// TODO: move clamp outside findnearmv
vp8_clamp_mv2(nearest, xd);