aom: apply clang-format-14

https://github.com/libsdl-org/aom/commit/d6525766c6972bb165b2b4585555af12e4eceb84

From d6525766c6972bb165b2b4585555af12e4eceb84 Mon Sep 17 00:00:00 2001
From: clang-format <[EMAIL REDACTED]>
Date: Tue, 6 Aug 2024 18:52:58 -0700
Subject: [PATCH] apply clang-format-14

Bug: b:328632178
Change-Id: Ia5fb4d0a29a94232963d4d28cf1c83f4cd739b47
---
 av1/decoder/decodetxb.c      | 5 +++--
 av1/encoder/hash.c           | 6 +++---
 av1/encoder/pass2_strategy.c | 4 ++--
 test/simd_impl.h             | 2 +-
 4 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/av1/decoder/decodetxb.c b/av1/decoder/decodetxb.c
index 465af7e06b..eb3eb16cb6 100644
--- a/av1/decoder/decodetxb.c
+++ b/av1/decoder/decodetxb.c
@@ -303,8 +303,9 @@ uint8_t av1_read_coeffs_txb(const AV1_COMMON *const cm, DecoderCodingBlock *dcb,
       tran_low_t dq_coeff;
       // Bitmasking to clamp dq_coeff to valid range:
       //   The valid range for 8/10/12 bit video is at most 17/19/21 bit
-      dq_coeff = (tran_low_t)(
-          (int64_t)level * get_dqv(dequant, scan[c], iqmatrix) & 0xffffff);
+      dq_coeff =
+          (tran_low_t)((int64_t)level * get_dqv(dequant, scan[c], iqmatrix) &
+                       0xffffff);
       dq_coeff = dq_coeff >> shift;
       if (sign) {
         dq_coeff = -dq_coeff;
diff --git a/av1/encoder/hash.c b/av1/encoder/hash.c
index 7e3384e317..f6a230d2da 100644
--- a/av1/encoder/hash.c
+++ b/av1/encoder/hash.c
@@ -15,9 +15,9 @@
 static void crc_calculator_process_data(CRC_CALCULATOR *p_crc_calculator,
                                         uint8_t *pData, uint32_t dataLength) {
   for (uint32_t i = 0; i < dataLength; i++) {
-    const uint8_t index = (uint8_t)(
-        (p_crc_calculator->remainder >> (p_crc_calculator->bits - 8)) ^
-        pData[i]);
+    const uint8_t index = (uint8_t)((p_crc_calculator->remainder >>
+                                     (p_crc_calculator->bits - 8)) ^
+                                    pData[i]);
     p_crc_calculator->remainder <<= 8;
     p_crc_calculator->remainder ^= p_crc_calculator->table[index];
   }
diff --git a/av1/encoder/pass2_strategy.c b/av1/encoder/pass2_strategy.c
index 1a259c3e4d..c9a766b35a 100644
--- a/av1/encoder/pass2_strategy.c
+++ b/av1/encoder/pass2_strategy.c
@@ -3039,8 +3039,8 @@ static int64_t get_kf_group_bits(AV1_COMP *cpi, double kf_group_err,
       double vbr_corpus_complexity_lap =
           cpi->oxcf.rc_cfg.vbr_corpus_complexity_lap / 10.0;
       /* Get the average corpus complexity of the frame */
-      kf_group_bits = (int64_t)(
-          kf_group_bits * (kf_group_avg_error / vbr_corpus_complexity_lap));
+      kf_group_bits = (int64_t)(kf_group_bits * (kf_group_avg_error /
+                                                 vbr_corpus_complexity_lap));
     }
   } else {
     kf_group_bits = (int64_t)(twopass->bits_left *
diff --git a/test/simd_impl.h b/test/simd_impl.h
index f11c903b57..20737a0ed9 100644
--- a/test/simd_impl.h
+++ b/test/simd_impl.h
@@ -37,7 +37,7 @@ class TestIntrinsic : public ::testing::TestWithParam<param_signature> {
 // Create one typedef for each function signature
 #define TYPEDEF_SIMD(name)                                             \
   typedef TestIntrinsic<std::tuple<uint32_t, uint32_t, const char *> > \
-      ARCH_POSTFIX(name)
+  ARCH_POSTFIX(name)
 
 TYPEDEF_SIMD(V64_U8);
 TYPEDEF_SIMD(V64_U16);