From d9408e2964b81870133fa3346414f48938bb8dbc Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Wed, 7 Aug 2024 13:13:46 -0700
Subject: [PATCH] variance_neon_dotprod.c: add missing !CONFIG_REALTIME_ONLY
check
For 1:4/4:1 sizes.
This fixes some -Wmissing-prototypes warnings.
Bug: aomedia:42302428
Change-Id: Ib67b3f94bac441cbf45a1fd3cd90f5f4238ea411
---
aom_dsp/arm/variance_neon_dotprod.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/aom_dsp/arm/variance_neon_dotprod.c b/aom_dsp/arm/variance_neon_dotprod.c
index fcb80ad6de..8addf0efe1 100644
--- a/aom_dsp/arm/variance_neon_dotprod.c
+++ b/aom_dsp/arm/variance_neon_dotprod.c
@@ -180,25 +180,19 @@ static INLINE void variance_128xh_neon_dotprod(const uint8_t *src,
VARIANCE_WXH_NEON_DOTPROD(4, 4, 4)
VARIANCE_WXH_NEON_DOTPROD(4, 8, 5)
-VARIANCE_WXH_NEON_DOTPROD(4, 16, 6)
VARIANCE_WXH_NEON_DOTPROD(8, 4, 5)
VARIANCE_WXH_NEON_DOTPROD(8, 8, 6)
VARIANCE_WXH_NEON_DOTPROD(8, 16, 7)
-VARIANCE_WXH_NEON_DOTPROD(8, 32, 8)
-VARIANCE_WXH_NEON_DOTPROD(16, 4, 6)
VARIANCE_WXH_NEON_DOTPROD(16, 8, 7)
VARIANCE_WXH_NEON_DOTPROD(16, 16, 8)
VARIANCE_WXH_NEON_DOTPROD(16, 32, 9)
-VARIANCE_WXH_NEON_DOTPROD(16, 64, 10)
-VARIANCE_WXH_NEON_DOTPROD(32, 8, 8)
VARIANCE_WXH_NEON_DOTPROD(32, 16, 9)
VARIANCE_WXH_NEON_DOTPROD(32, 32, 10)
VARIANCE_WXH_NEON_DOTPROD(32, 64, 11)
-VARIANCE_WXH_NEON_DOTPROD(64, 16, 10)
VARIANCE_WXH_NEON_DOTPROD(64, 32, 11)
VARIANCE_WXH_NEON_DOTPROD(64, 64, 12)
VARIANCE_WXH_NEON_DOTPROD(64, 128, 13)
@@ -206,6 +200,15 @@ VARIANCE_WXH_NEON_DOTPROD(64, 128, 13)
VARIANCE_WXH_NEON_DOTPROD(128, 64, 13)
VARIANCE_WXH_NEON_DOTPROD(128, 128, 14)
+#if !CONFIG_REALTIME_ONLY
+VARIANCE_WXH_NEON_DOTPROD(4, 16, 6)
+VARIANCE_WXH_NEON_DOTPROD(8, 32, 8)
+VARIANCE_WXH_NEON_DOTPROD(16, 4, 6)
+VARIANCE_WXH_NEON_DOTPROD(16, 64, 10)
+VARIANCE_WXH_NEON_DOTPROD(32, 8, 8)
+VARIANCE_WXH_NEON_DOTPROD(64, 16, 10)
+#endif
+
#undef VARIANCE_WXH_NEON_DOTPROD
void aom_get_var_sse_sum_8x8_quad_neon_dotprod(