Index: source/libvpx/vp9/encoder/vp9_mbgraph.c |
diff --git a/source/libvpx/vp9/encoder/vp9_mbgraph.c b/source/libvpx/vp9/encoder/vp9_mbgraph.c |
index acbd7dd436b2586b97137ee441160e8c41d06ec1..178466672a7778ec1e50a18e232aa9f243ab8fee 100644 |
--- a/source/libvpx/vp9/encoder/vp9_mbgraph.c |
+++ b/source/libvpx/vp9/encoder/vp9_mbgraph.c |
@@ -14,12 +14,12 @@ |
#include "./vpx_dsp_rtcd.h" |
#include "vpx_mem/vpx_mem.h" |
+#include "vpx_ports/system_state.h" |
#include "vp9/encoder/vp9_segmentation.h" |
#include "vp9/encoder/vp9_mcomp.h" |
#include "vp9/common/vp9_blockd.h" |
#include "vp9/common/vp9_reconinter.h" |
#include "vp9/common/vp9_reconintra.h" |
-#include "vp9/common/vp9_systemdependent.h" |
static unsigned int do_16x16_motion_iteration(VP9_COMP *cpi, |
@@ -41,7 +41,7 @@ static unsigned int do_16x16_motion_iteration(VP9_COMP *cpi, |
// Further step/diamond searches as necessary |
int step_param = mv_sf->reduce_first_step_size; |
- step_param = MIN(step_param, MAX_MVSEARCH_STEPS - 2); |
+ step_param = VPXMIN(step_param, MAX_MVSEARCH_STEPS - 2); |
vp9_set_mv_search_range(x, ref_mv); |
@@ -410,7 +410,7 @@ void vp9_update_mbgraph_stats(VP9_COMP *cpi) { |
golden_ref, cpi->Source); |
} |
- vp9_clear_system_state(); |
+ vpx_clear_system_state(); |
separate_arf_mbs(cpi); |
} |