Make av1_set_subpel_mv_search_range static.
It isn't used outside of its source file.
BUG=aomedia:442
Change-Id: I7f9f62b3a8e0e965878fc21af6c64b91883686fc
diff --git a/av1/encoder/mcomp.c b/av1/encoder/mcomp.c
index 29eaa28..d8fab61 100644
--- a/av1/encoder/mcomp.c
+++ b/av1/encoder/mcomp.c
@@ -53,9 +53,10 @@
if (mv_limits->row_max > row_max) mv_limits->row_max = row_max;
}
-void av1_set_subpel_mv_search_range(const MvLimits *mv_limits, int *col_min,
- int *col_max, int *row_min, int *row_max,
- const MV *ref_mv) {
+static void av1_set_subpel_mv_search_range(const MvLimits *mv_limits,
+ int *col_min, int *col_max,
+ int *row_min, int *row_max,
+ const MV *ref_mv) {
const int max_mv = MAX_FULL_PEL_VAL * 8;
const int minc = AOMMAX(mv_limits->col_min * 8, ref_mv->col - max_mv);
const int maxc = AOMMIN(mv_limits->col_max * 8, ref_mv->col + max_mv);
diff --git a/av1/encoder/mcomp.h b/av1/encoder/mcomp.h
index a4efd99..780b2d5 100644
--- a/av1/encoder/mcomp.h
+++ b/av1/encoder/mcomp.h
@@ -47,9 +47,6 @@
void av1_init3smotion_compensation(search_site_config *cfg, int stride);
void av1_set_mv_search_range(MvLimits *mv_limits, const MV *mv);
-void av1_set_subpel_mv_search_range(const MvLimits *mv_limits, int *col_min,
- int *col_max, int *row_min, int *row_max,
- const MV *ref_mv);
int av1_mv_bit_cost(const MV *mv, const MV *ref, const int *mvjcost,
int *mvcost[2], int weight);