Skip to content

Commit

Permalink
Make av1_set_subpel_mv_search_range static.
Browse files Browse the repository at this point in the history
It isn't used outside of its source file.

BUG=aomedia:442

Change-Id: I7f9f62b3a8e0e965878fc21af6c64b91883686fc
  • Loading branch information
aconverse committed Apr 24, 2017
1 parent 0fa0f42 commit 0f66841
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 4 additions & 3 deletions av1/encoder/mcomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 0 additions & 3 deletions av1/encoder/mcomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0f66841

Please sign in to comment.