aom: motion_search_facade.c: make a function static

From 41f75d142d6420ed5ae81187964af6f3b50354dc Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Tue, 13 Aug 2024 17:26:38 -0700
Subject: [PATCH] motion_search_facade.c: make a function static

av1_compound_single_motion_search_interinter() is unused outside of this
file.

Bug: aomedia:3416
Change-Id: I899553a428f423b30059d1ac0279632ef57ba188
---
 av1/encoder/motion_search_facade.c | 6 +++---
 av1/encoder/motion_search_facade.h | 4 ----
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/av1/encoder/motion_search_facade.c b/av1/encoder/motion_search_facade.c
index c45600291..516998929 100644
--- a/av1/encoder/motion_search_facade.c
+++ b/av1/encoder/motion_search_facade.c
@@ -881,7 +881,7 @@ static inline void build_second_inter_pred(const AV1_COMP *cpi, MACROBLOCK *x,
 
 // Wrapper for av1_compound_single_motion_search, for the common case
 // where the second prediction is also an inter mode.
-int av1_compound_single_motion_search_interinter(
+static int compound_single_motion_search_interinter(
     const AV1_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int_mv *cur_mv,
     const uint8_t *mask, int mask_stride, int *rate_mv, int ref_idx) {
   MACROBLOCKD *xd = &x->e_mbd;
@@ -919,8 +919,8 @@ static inline void do_masked_motion_search_indexed(
   tmp_mv[0].as_int = cur_mv[0].as_int;
   tmp_mv[1].as_int = cur_mv[1].as_int;
   if (which == 0 || which == 1) {
-    av1_compound_single_motion_search_interinter(cpi, x, bsize, tmp_mv, mask,
-                                                 mask_stride, rate_mv, which);
+    compound_single_motion_search_interinter(cpi, x, bsize, tmp_mv, mask,
+                                             mask_stride, rate_mv, which);
   } else if (which == 2) {
     const int joint_me_num_refine_iter =
         cpi->sf.inter_sf.enable_fast_compound_mode_search == 2
diff --git a/av1/encoder/motion_search_facade.h b/av1/encoder/motion_search_facade.h
index 8cf853c29..a1cbb77a7 100644
--- a/av1/encoder/motion_search_facade.h
+++ b/av1/encoder/motion_search_facade.h
@@ -48,10 +48,6 @@ int av1_interinter_compound_motion_search(const AV1_COMP *const cpi,
                                           const BLOCK_SIZE bsize,
                                           const PREDICTION_MODE this_mode);
 
-int av1_compound_single_motion_search_interinter(
-    const AV1_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int_mv *cur_mv,
-    const uint8_t *mask, int mask_stride, int *rate_mv, int ref_idx);
-
 int av1_compound_single_motion_search(const AV1_COMP *cpi, MACROBLOCK *x,
                                       BLOCK_SIZE bsize, MV *this_mv,
                                       const uint8_t *second_pred,