aom: Add const to two input pointer parameters

From 14010c6f0f787b0c294a352823e34fe058674510 Mon Sep 17 00:00:00 2001
From: Wan-Teh Chang <[EMAIL REDACTED]>
Date: Wed, 28 Feb 2024 17:06:29 -0800
Subject: [PATCH]  Add const to two input pointer parameters

 Add const to the input parameter `b` of update_a_sep_sym() and to the
 input parameter `a` of update_b_sep_sym() because the functions do not
 modify those input parameters.

Change-Id: Ieb748a40abc1944b45841de683366d4122571d27
---
 av1/encoder/pickrst.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/av1/encoder/pickrst.c b/av1/encoder/pickrst.c
index 43b8b10f6..d290d44d5 100644
--- a/av1/encoder/pickrst.c
+++ b/av1/encoder/pickrst.c
@@ -1175,7 +1175,8 @@ static int linsolve_wiener(int n, int64_t *A, int stride, int64_t *b,
 
 // Fix vector b, update vector a
 static AOM_INLINE void update_a_sep_sym(int wiener_win, int64_t **Mc,
-                                        int64_t **Hc, int32_t *a, int32_t *b) {
+                                        int64_t **Hc, int32_t *a,
+                                        const int32_t *b) {
   int i, j;
   int64_t S[WIENER_WIN];
   int64_t A[WIENER_HALFWIN1], B[WIENER_HALFWIN1 * WIENER_HALFWIN1];
@@ -1246,7 +1247,8 @@ static AOM_INLINE void update_a_sep_sym(int wiener_win, int64_t **Mc,
 
 // Fix vector a, update vector b
 static AOM_INLINE void update_b_sep_sym(int wiener_win, int64_t **Mc,
-                                        int64_t **Hc, int32_t *a, int32_t *b) {
+                                        int64_t **Hc, const int32_t *a,
+                                        int32_t *b) {
   int i, j;
   int64_t S[WIENER_WIN];
   int64_t A[WIENER_HALFWIN1], B[WIENER_HALFWIN1 * WIENER_HALFWIN1];