aboutsummaryrefslogtreecommitdiff
path: root/source/row_common.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2019-08-06 18:14:54 -0700
committerCommit Bot <commit-bot@chromium.org>2019-08-07 01:29:13 +0000
commit9b63884a3ea866de0f3bfacd6f80a19c789905b3 (patch)
treecc79abc64e398ed616b0059ab1796ef35c96be3d /source/row_common.cc
parenta57b724ffb25412deba1fad79d17b8f4a7c01622 (diff)
downloadlibyuv-9b63884a3ea866de0f3bfacd6f80a19c789905b3.tar.gz
Add ABGRToNV21 and ABGRToNV12
Fix ARGBToUVJRow_AVX2 constants for win32 BUG=libyuv:833, libyuv:839 Change-Id: Id4731a573d40d7a9b46fcc31c2fee295483e1ff6 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/1739509 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Diffstat (limited to 'source/row_common.cc')
-rw-r--r--source/row_common.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/row_common.cc b/source/row_common.cc
index 8ef1b1c5..9fa6e34c 100644
--- a/source/row_common.cc
+++ b/source/row_common.cc
@@ -3319,6 +3319,7 @@ void AYUVToYRow_C(const uint8_t* src_ayuv, uint8_t* dst_y, int width) {
}
}
+// Convert UV plane of NV12 to VU of NV21.
void SwapUVRow_C(const uint8_t* src_uv, uint8_t* dst_vu, int width) {
int x;
for (x = 0; x < width; ++x) {