aom: sad{,_av1}.c: exclude 1:4/4:1 fns w/CONFIG_REALTIME_ONLY

From e5a842a27b171f590749debcfdbf60a3b00ee790 Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Fri, 14 Jun 2024 19:42:32 -0700
Subject: [PATCH] sad{,_av1}.c: exclude 1:4/4:1 fns w/CONFIG_REALTIME_ONLY

This quiets some -Wmissing-prototypes warnings.

Bug: aomedia:3416
Change-Id: Ibbfa872fb39104c4fdd9bdec570401925201f54e
---
 aom_dsp/sad.c     | 2 +-
 aom_dsp/sad_av1.c | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/aom_dsp/sad.c b/aom_dsp/sad.c
index 0e9d900e5..72ed75837 100644
--- a/aom_dsp/sad.c
+++ b/aom_dsp/sad.c
@@ -365,6 +365,7 @@ HIGHBD_SADMXN(4, 4)
 HIGHBD_SAD_MXNX4D(4, 4)
 HIGHBD_SAD_MXNX3D(4, 4)
 
+#if !CONFIG_REALTIME_ONLY
 HIGHBD_SADMXN(4, 16)
 HIGHBD_SAD_MXNX4D(4, 16)
 HIGHBD_SADMXN(16, 4)
@@ -378,7 +379,6 @@ HIGHBD_SAD_MXNX4D(16, 64)
 HIGHBD_SADMXN(64, 16)
 HIGHBD_SAD_MXNX4D(64, 16)
 
-#if !CONFIG_REALTIME_ONLY
 HIGHBD_SAD_MXNX3D(4, 16)
 HIGHBD_SAD_MXNX3D(16, 4)
 HIGHBD_SAD_MXNX3D(8, 32)
diff --git a/aom_dsp/sad_av1.c b/aom_dsp/sad_av1.c
index 43035d79b..80d7c3fee 100644
--- a/aom_dsp/sad_av1.c
+++ b/aom_dsp/sad_av1.c
@@ -83,12 +83,14 @@ MASKSADMxN(8, 8)
 MASKSADMxN(8, 4)
 MASKSADMxN(4, 8)
 MASKSADMxN(4, 4)
+#if !CONFIG_REALTIME_ONLY
 MASKSADMxN(4, 16)
 MASKSADMxN(16, 4)
 MASKSADMxN(8, 32)
 MASKSADMxN(32, 8)
 MASKSADMxN(16, 64)
 MASKSADMxN(64, 16)
+#endif  // !CONFIG_REALTIME_ONLY
 /* clang-format on */
 
 #if CONFIG_AV1_HIGHBITDEPTH
@@ -148,12 +150,14 @@ HIGHBD_MASKSADMXN(8, 8)
 HIGHBD_MASKSADMXN(8, 4)
 HIGHBD_MASKSADMXN(4, 8)
 HIGHBD_MASKSADMXN(4, 4)
+#if !CONFIG_REALTIME_ONLY
 HIGHBD_MASKSADMXN(4, 16)
 HIGHBD_MASKSADMXN(16, 4)
 HIGHBD_MASKSADMXN(8, 32)
 HIGHBD_MASKSADMXN(32, 8)
 HIGHBD_MASKSADMXN(16, 64)
 HIGHBD_MASKSADMXN(64, 16)
+#endif  // !CONFIG_REALTIME_ONLY
 #endif  // CONFIG_AV1_HIGHBITDEPTH
 
 #if !CONFIG_REALTIME_ONLY