TestI400LargeSize test __x86_64__, _M_X64, or __aarch64__

- apply clang-format to row_neon64.cc

Bug: 416842099
Change-Id: Ic21f08d8b65bb86cf72eba82d45591f6558170ec
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6634515
Reviewed-by: Wan-Teh Chang <wtc@google.com>
This commit is contained in:
Frank Barchard 2025-06-10 15:46:40 -07:00
parent 4ac0a3ae3d
commit 843cda7e7b
2 changed files with 11 additions and 11 deletions

View File

@ -5593,16 +5593,16 @@ void Convert8To16Row_NEON(const uint8_t* src_y,
// to widen to int32.
int shift = 15 - __builtin_clz(scale);
asm volatile(
"dup v2.8h, %w[shift] \n"
"1: \n"
"ldr q0, [%[src]], #16 \n"
"zip2 v1.16b, v0.16b, v0.16b \n"
"zip1 v0.16b, v0.16b, v0.16b \n"
"subs %w[width], %w[width], #16 \n"
"ushl v1.8h, v1.8h, v2.8h \n"
"ushl v0.8h, v0.8h, v2.8h \n"
"stp q0, q1, [%[dst]], #32 \n"
"b.ne 1b \n"
"dup v2.8h, %w[shift] \n"
"1: \n"
"ldr q0, [%[src]], #16 \n"
"zip2 v1.16b, v0.16b, v0.16b \n"
"zip1 v0.16b, v0.16b, v0.16b \n"
"subs %w[width], %w[width], #16 \n"
"ushl v1.8h, v1.8h, v2.8h \n"
"ushl v0.8h, v0.8h, v2.8h \n"
"stp q0, q1, [%[dst]], #32 \n"
"b.ne 1b \n"
: [src] "+r"(src_y), // %[src]
[dst] "+r"(dst_y), // %[dst]
[width] "+r"(width) // %[width]

View File

@ -2721,7 +2721,7 @@ TEST_F(LibYUVConvertTest, TestUYVYToARGB) {
EXPECT_EQ(3486643515u, checksum);
}
#if defined(_M_X64) || defined(_M_X64) || defined(__aarch64__)
#if defined(__x86_64__) || defined(_M_X64) || defined(__aarch64__)
TEST_F(LibYUVConvertTest, TestI400LargeSize) {
// The width and height are chosen as follows:
// - kWidth * kHeight is not a multiple of 8: This lets us to use the Any