aboutsummaryrefslogtreecommitdiff
path: root/source/row_neon64.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2021-04-30 09:54:44 -0700
committerFrank Barchard <fbarchard@chromium.org>2021-04-30 18:14:57 +0000
commit49ebc996aa8c4bdf89c1b5ea461eb677234c61cc (patch)
tree8f02917133a54788294fa78e064fd254f3ea9c97 /source/row_neon64.cc
parent99cddd80513167b307d5d9b18c5a347fa8592c33 (diff)
downloadlibyuv-49ebc996aa8c4bdf89c1b5ea461eb677234c61cc.tar.gz
Make 2 step transitive tests measure 2 step time.
Add tests of all macros used by libyuv public headers When a 1 step conversion is added, a 2 step test can compare the old 2 step method to the 1 step. A 1 step unittest is also added which compares C to SIMD. Making the 2 step conversions measure performance of the 2 steps allows the old 2 step performance to be compared to 1 step. All macros used in public headers are added to an ifdef test. Showing them in a unittest allows some diagnostics when a test is failing. Bug: libyuv:901 Change-Id: I7ffa6ed0cb3b506fa1b7fd4b7b1b729658c3c266 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2857916 Reviewed-by: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Mirko Bonadei <mbonadei@chromium.org> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'source/row_neon64.cc')
-rw-r--r--source/row_neon64.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/row_neon64.cc b/source/row_neon64.cc
index ba6ca5d0..da7e3c7c 100644
--- a/source/row_neon64.cc
+++ b/source/row_neon64.cc
@@ -277,7 +277,7 @@ void I422ToRGB565Row_NEON(const uint8_t* src_y,
asm volatile(
YUVTORGB_SETUP
"1: \n" READYUV422 YUVTORGB
- RGBTORGB8 "subs %w[width], %w[width], #8 \n" ARGBTORGB565
+ RGBTORGB8 "subs %w[width], %w[width], #8 \n" ARGBTORGB565
"st1 {v18.8h}, [%[dst_rgb565]], #16 \n" // store 8 pixels RGB565.
"b.gt 1b \n"
: [src_y] "+r"(src_y), // %[src_y]