From fff567c78af52f34f712646526452b34911e2a8a Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Tue, 13 Aug 2024 17:22:02 -0700
Subject: [PATCH] interp_search.c: make av1_find_interp_filter_match() static
This function is unused outside of this file.
Bug: aomedia:3416
Change-Id: I8d72c13c8cfd7959fb1479261b4249667f5fa199
---
av1/encoder/interp_search.c | 4 ++--
av1/encoder/interp_search.h | 6 ------
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/av1/encoder/interp_search.c b/av1/encoder/interp_search.c
index 8011f3c0d1..f639e75dbc 100644
--- a/av1/encoder/interp_search.c
+++ b/av1/encoder/interp_search.c
@@ -90,7 +90,7 @@ static inline int find_interp_filter_in_stats(
return -1; // no match result found
}
-int av1_find_interp_filter_match(
+static int find_interp_filter_match(
MB_MODE_INFO *const mbmi, const AV1_COMP *const cpi,
const InterpFilter assign_filter, const int need_search,
INTERPOLATION_FILTER_STATS *interp_filter_stats,
@@ -673,7 +673,7 @@ int64_t av1_interpolation_filter_search(
int match_found_idx = -1;
const InterpFilter assign_filter = cm->features.interp_filter;
- match_found_idx = av1_find_interp_filter_match(
+ match_found_idx = find_interp_filter_match(
mbmi, cpi, assign_filter, need_search, args->interp_filter_stats,
args->interp_filter_stats_idx);
diff --git a/av1/encoder/interp_search.h b/av1/encoder/interp_search.h
index d7df92f0d3..28b036de76 100644
--- a/av1/encoder/interp_search.h
+++ b/av1/encoder/interp_search.h
@@ -184,12 +184,6 @@ static const int_interpfilters filter_sets[DUAL_FILTER_SET_SIZE] = {
{ 0x00000002 }, { 0x00010002 }, { 0x00020002 }, // y = 2
};
-int av1_find_interp_filter_match(
- MB_MODE_INFO *const mbmi, const AV1_COMP *const cpi,
- const InterpFilter assign_filter, const int need_search,
- INTERPOLATION_FILTER_STATS *interp_filter_stats,
- int interp_filter_stats_idx);
-
int64_t av1_interpolation_filter_search(
MACROBLOCK *const x, const AV1_COMP *const cpi,
const TileDataEnc *tile_data, BLOCK_SIZE bsize,