From 0f6684107dc5e1bb2c37436675a57075377c91de Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Mon, 24 Apr 2017 13:10:32 -0700 Subject: [PATCH] Make av1_set_subpel_mv_search_range static. It isn't used outside of its source file. BUG=aomedia:442 Change-Id: I7f9f62b3a8e0e965878fc21af6c64b91883686fc --- av1/encoder/mcomp.c | 7 ++++--- av1/encoder/mcomp.h | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/av1/encoder/mcomp.c b/av1/encoder/mcomp.c index 29eaa280f..d8fab618b 100644 --- a/av1/encoder/mcomp.c +++ b/av1/encoder/mcomp.c @@ -53,9 +53,10 @@ void av1_set_mv_search_range(MvLimits *mv_limits, const MV *mv) { 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 a4efd99ee..780b2d5f9 100644 --- a/av1/encoder/mcomp.h +++ b/av1/encoder/mcomp.h @@ -47,9 +47,6 @@ void av1_init_dsmotion_compensation(search_site_config *cfg, int stride); 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);