aboutsummaryrefslogtreecommitdiff
path: root/include/libyuv/scale_row.h
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2020-10-28 11:31:10 -0700
committerCommit Bot <commit-bot@chromium.org>2020-10-28 20:41:59 +0000
commitcec28e70882ce6fb302f5a04137e919e779ee291 (patch)
tree8402e14c729ee479bc982d7e32c50d6d1d59a829 /include/libyuv/scale_row.h
parent5c4dc242f41861f6b0764860e6492200023a89c4 (diff)
downloadlibyuv-cec28e70882ce6fb302f5a04137e919e779ee291.tar.gz
PlaneScale, UVScale and ARGBScale test 3x and 4x down sample.
Intel SkylakeX UVTest3x (1925 ms) UVTest4x (2915 ms) PlaneTest3x (2040 ms) PlaneTest4x (4292 ms) ARGBTest3x (2079 ms) ARGBTest4x (1854 ms) Pixel 2 ARGBTest3x (3602 ms) ARGBTest4x (4064 ms) PlaneTest3x (3331 ms) PlaneTest4x (8977 ms) UVTest3x (3473 ms) UVTest4x (6970 ms) Bug: b/171798872, b/171884264 Change-Id: Iebc70fed907857b6cb71a9baf2aba9861ef1e3f7 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2505601 Reviewed-by: richard winterton <rrwinterton@gmail.com> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'include/libyuv/scale_row.h')
-rw-r--r--include/libyuv/scale_row.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/include/libyuv/scale_row.h b/include/libyuv/scale_row.h
index 88858240..95ecef89 100644
--- a/include/libyuv/scale_row.h
+++ b/include/libyuv/scale_row.h
@@ -82,7 +82,7 @@ extern "C" {
// The following are available for gcc/clang x86 platforms, but
// require clang 3.4 or gcc 4.7.
// TODO(fbarchard): Port to Visual C
-#if !defined(LIBYUV_DISABLE_X86) && \
+#if !defined(LIBYUV_DISABLE_X86) && \
(defined(__x86_64__) || defined(__i386__)) && !defined(_MSC_VER) && \
(defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2))
#define HAS_SCALEUVROWDOWN2BOX_AVX2
@@ -848,17 +848,17 @@ void ScaleARGBRowDownEvenBox_Any_MMI(const uint8_t* src_ptr,
// UV Row functions
void ScaleUVRowDown2_SSSE3(const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- uint8_t* dst_uv,
- int dst_width);
+ ptrdiff_t src_stride,
+ uint8_t* dst_uv,
+ int dst_width);
void ScaleUVRowDown2Linear_SSSE3(const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- uint8_t* dst_uv,
- int dst_width);
+ ptrdiff_t src_stride,
+ uint8_t* dst_uv,
+ int dst_width);
void ScaleUVRowDown2Box_SSSE3(const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- uint8_t* dst_uv,
- int dst_width);
+ ptrdiff_t src_stride,
+ uint8_t* dst_uv,
+ int dst_width);
void ScaleUVRowDown2Box_AVX2(const uint8_t* src_ptr,
ptrdiff_t src_stride,
uint8_t* dst_uv,
@@ -952,15 +952,15 @@ void ScaleUVRowDown2Box_Any_MMI(const uint8_t* src_ptr,
uint8_t* dst_ptr,
int dst_width);
void ScaleUVRowDownEven_SSSE3(const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int src_stepx,
- uint8_t* dst_uv,
- int dst_width);
+ ptrdiff_t src_stride,
+ int src_stepx,
+ uint8_t* dst_uv,
+ int dst_width);
void ScaleUVRowDownEvenBox_SSSE3(const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int src_stepx,
- uint8_t* dst_uv,
- int dst_width);
+ ptrdiff_t src_stride,
+ int src_stepx,
+ uint8_t* dst_uv,
+ int dst_width);
void ScaleUVRowDownEven_NEON(const uint8_t* src_ptr,
ptrdiff_t src_stride,
int src_stepx,
@@ -992,15 +992,15 @@ void ScaleUVRowDownEvenBox_MMI(const uint8_t* src_ptr,
uint8_t* dst_uv,
int dst_width);
void ScaleUVRowDownEven_Any_SSSE3(const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int src_stepx,
- uint8_t* dst_ptr,
- int dst_width);
+ ptrdiff_t src_stride,
+ int src_stepx,
+ uint8_t* dst_ptr,
+ int dst_width);
void ScaleUVRowDownEvenBox_Any_SSSE3(const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int src_stepx,
- uint8_t* dst_ptr,
- int dst_width);
+ ptrdiff_t src_stride,
+ int src_stepx,
+ uint8_t* dst_ptr,
+ int dst_width);
void ScaleUVRowDownEven_Any_NEON(const uint8_t* src_ptr,
ptrdiff_t src_stride,
int src_stepx,