Index: source/libvpx/vp9/encoder/vp9_mbgraph.c |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_mbgraph.c (revision 281795) |
+++ source/libvpx/vp9/encoder/vp9_mbgraph.c (working copy) |
@@ -11,7 +11,6 @@ |
#include <limits.h> |
#include "vpx_mem/vpx_mem.h" |
-#include "vp9/encoder/vp9_rdopt.h" |
#include "vp9/encoder/vp9_segmentation.h" |
#include "vp9/encoder/vp9_mcomp.h" |
#include "vp9/common/vp9_blockd.h" |
@@ -37,9 +36,8 @@ |
MV ref_full; |
// Further step/diamond searches as necessary |
- int step_param = mv_sf->reduce_first_step_size + |
- (cpi->oxcf.speed > 5 ? 1 : 0); |
- step_param = MIN(step_param, mv_sf->max_step_search_steps - 2); |
+ int step_param = mv_sf->reduce_first_step_size; |
+ step_param = MIN(step_param, MAX_MVSEARCH_STEPS - 2); |
vp9_set_mv_search_range(x, ref_mv); |