diff options
author | Frank Barchard <fbarchard@google.com> | 2022-05-23 11:12:25 -0700 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-24 01:42:31 +0000 |
commit | 715150b5aab187315ab75029d0973fff6ff10322 (patch) | |
tree | ad9024e59ec14e2f62c97193342f95e62e1eb243 /BUILD.gn | |
parent | 966768e899c0eb932e1cd72935d37e15284daec0 (diff) | |
download | libyuv-715150b5aab187315ab75029d0973fff6ff10322.tar.gz |
Add UYVYToY function
This function reads 2 byte values and writes the 2nd byte to the destination.
It turns out this is useful for P010ToNV12 as well, so adding the planar function allows a high level to call this.
And adds UYVY support for something YUY2 already had. Which is writing the 1st byte.
Bug: b/233233302, b/233634772
Change-Id: I10a9454cb4f5b2c4ac5532fa86feddf78284d8b8
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3659055
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: richard winterton <rrwinterton@gmail.com>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -27,10 +27,6 @@ config("libyuv_config") { if (is_android && current_cpu != "arm64") { ldflags = [ "-Wl,--dynamic-linker,/system/bin/linker" ] } - - if (!libyuv_use_neon) { - defines = [ "LIBYUV_DISABLE_NEON" ] - } } # This target is built when no specific target is specified on the command line. |