diff options
author | Frank Barchard <fbarchard@google.com> | 2021-04-21 13:30:56 -0700 |
---|---|---|
committer | Frank Barchard <fbarchard@chromium.org> | 2021-04-21 21:37:44 +0000 |
commit | 5e83cac0d52f0f6a67f49c161066e69eb77b4421 (patch) | |
tree | 9ffd8ff94aacf0440b7245c635b932e075e78d7e /source/convert_argb.cc | |
parent | a1814576bf3e3fd642b7b4ab610fb595280045a6 (diff) | |
download | libyuv-5e83cac0d52f0f6a67f49c161066e69eb77b4421.tar.gz |
Disable win32 SIMD
Bug: libyuv:900, libyuv:848, b/178283356, b/185922513
Change-Id: Iee7d9970c7991856c8f51158cd12ec72ee9c57eb
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2844779
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Diffstat (limited to 'source/convert_argb.cc')
-rw-r--r-- | source/convert_argb.cc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/source/convert_argb.cc b/source/convert_argb.cc index 16b5ff92..d8f7b277 100644 --- a/source/convert_argb.cc +++ b/source/convert_argb.cc @@ -5310,6 +5310,40 @@ int H420ToAR30(const uint8_t* src_y, &kYvuH709Constants, width, height); } +// Convert I420 to AB30. +LIBYUV_API +int I420ToAB30(const uint8_t* src_y, + int src_stride_y, + const uint8_t* src_u, + int src_stride_u, + const uint8_t* src_v, + int src_stride_v, + uint8_t* dst_ab30, + int dst_stride_ab30, + int width, + int height) { + return I420ToAR30Matrix(src_y, src_stride_y, src_v, src_stride_v, src_u, + src_stride_u, dst_ab30, dst_stride_ab30, + &kYvuI601Constants, width, height); +} + +// Convert H420 to AB30. +LIBYUV_API +int H420ToAB30(const uint8_t* src_y, + int src_stride_y, + const uint8_t* src_u, + int src_stride_u, + const uint8_t* src_v, + int src_stride_v, + uint8_t* dst_ab30, + int dst_stride_ab30, + int width, + int height) { + return I420ToAR30Matrix(src_y, src_stride_y, src_v, src_stride_v, src_u, + src_stride_u, dst_ab30, dst_stride_ab30, + &kYvuH709Constants, width, height); +} + #ifdef __cplusplus } // extern "C" } // namespace libyuv |