From 6e120cd323dd2488127606a9413806dc5e927e57 Mon Sep 17 00:00:00 2001
From: Wan-Teh Chang <[EMAIL REDACTED]>
Date: Thu, 8 Aug 2024 20:14:43 -0700
Subject: [PATCH] Change "inline static" to "static inline"
Bug: aomedia:358402891
Change-Id: I2d58d38998c8e6eaaefcd0b619a221317eeed3c5
---
av1/encoder/arm/rdopt_neon.c | 2 +-
av1/encoder/x86/rdopt_avx2.c | 2 +-
av1/encoder/x86/rdopt_sse4.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/av1/encoder/arm/rdopt_neon.c b/av1/encoder/arm/rdopt_neon.c
index 5199b2e7c..237878b09 100644
--- a/av1/encoder/arm/rdopt_neon.c
+++ b/av1/encoder/arm/rdopt_neon.c
@@ -21,7 +21,7 @@
// We actually use the 4x4 pixels to calculate correlations corresponding to
// the top-left 3x3 pixels, so this function must be called with 1x1 overlap,
// moving the window along/down by 3 pixels at a time.
-inline static void horver_correlation_4x4(const int16_t *diff, int stride,
+static inline void horver_correlation_4x4(const int16_t *diff, int stride,
int32x4_t *xy_sum_32,
int32x4_t *xz_sum_32,
int32x4_t *x_sum_32,
diff --git a/av1/encoder/x86/rdopt_avx2.c b/av1/encoder/x86/rdopt_avx2.c
index d604fde00..71dd0ea16 100644
--- a/av1/encoder/x86/rdopt_avx2.c
+++ b/av1/encoder/x86/rdopt_avx2.c
@@ -21,7 +21,7 @@
// We actually use the 4x4 pixels to calculate correlations corresponding to
// the top-left 3x3 pixels, so this function must be called with 1x1 overlap,
// moving the window along/down by 3 pixels at a time.
-inline static void horver_correlation_4x4(const int16_t *diff, int stride,
+static inline void horver_correlation_4x4(const int16_t *diff, int stride,
__m256i *xy_sum_32,
__m256i *xz_sum_32, __m256i *x_sum_32,
__m256i *x2_sum_32) {
diff --git a/av1/encoder/x86/rdopt_sse4.c b/av1/encoder/x86/rdopt_sse4.c
index 20877b564..a65b5b188 100644
--- a/av1/encoder/x86/rdopt_sse4.c
+++ b/av1/encoder/x86/rdopt_sse4.c
@@ -20,7 +20,7 @@
// We actually use the 4x4 pixels to calculate correlations corresponding to
// the top-left 3x3 pixels, so this function must be called with 1x1 overlap,
// moving the window along/down by 3 pixels at a time.
-inline static void horver_correlation_4x4(const int16_t *diff, int stride,
+static inline void horver_correlation_4x4(const int16_t *diff, int stride,
__m128i *xy_sum_32,
__m128i *xz_sum_32, __m128i *x_sum_32,
__m128i *x2_sum_32) {