Commit 0f668410 authored by Alex Converse's avatar Alex Converse
Browse files

Make av1_set_subpel_mv_search_range static.

It isn't used outside of its source file.

BUG=aomedia:442

Change-Id: I7f9f62b3a8e0e965878fc21af6c64b91883686fc
parent 0fa0f42c
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment