aom: encoder.c: make av1_increment_scaled_ref_counts_fpmt() static

From a5ee6ea3171b741334383f86776d8e603e592037 Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Tue, 20 Aug 2024 18:12:16 -0700
Subject: [PATCH] encoder.c: make av1_increment_scaled_ref_counts_fpmt() static

This function is unused outside of this file.

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

diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c
index cb925116b..f1591d1e5 100644
--- a/av1/encoder/encoder.c
+++ b/av1/encoder/encoder.c
@@ -4878,8 +4878,8 @@ void av1_scale_references_fpmt(AV1_COMP *cpi, int *ref_buffers_used_map) {
 
 // Increments the ref_count of frame buffers referenced by cpi->scaled_ref_buf
 // corresponding to frames in a parallel encode set.
-void av1_increment_scaled_ref_counts_fpmt(BufferPool *buffer_pool,
-                                          int ref_buffers_used_map) {
+static void increment_scaled_ref_counts_fpmt(BufferPool *buffer_pool,
+                                             int ref_buffers_used_map) {
   for (int i = 0; i < buffer_pool->num_frame_bufs; ++i) {
     if (ref_buffers_used_map & (1 << i)) {
       ++buffer_pool->frame_bufs[i].ref_count;
@@ -5131,8 +5131,8 @@ int av1_init_parallel_frame_context(const AV1_COMP_DATA *const first_cpi_data,
     }
   }
 
-  av1_increment_scaled_ref_counts_fpmt(first_cpi->common.buffer_pool,
-                                       *ref_buffers_used_map);
+  increment_scaled_ref_counts_fpmt(first_cpi->common.buffer_pool,
+                                   *ref_buffers_used_map);
 
   // Return the number of frames in the parallel encode set.
   return parallel_frame_count;
diff --git a/av1/encoder/encoder.h b/av1/encoder/encoder.h
index a50188c8f..fedc1ec23 100644
--- a/av1/encoder/encoder.h
+++ b/av1/encoder/encoder.h
@@ -3781,9 +3781,6 @@ void av1_post_encode_updates(AV1_COMP *const cpi,
 
 void av1_scale_references_fpmt(AV1_COMP *cpi, int *ref_buffers_used_map);
 
-void av1_increment_scaled_ref_counts_fpmt(BufferPool *buffer_pool,
-                                          int ref_buffers_used_map);
-
 void av1_release_scaled_references_fpmt(AV1_COMP *cpi);
 
 void av1_decrement_ref_counts_fpmt(BufferPool *buffer_pool,