aboutsummaryrefslogtreecommitdiff
path: root/include/libyuv/planar_functions.h
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2019-07-17 16:05:26 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-18 02:13:02 +0000
commitf1c00932dfbc6bec9a48da90ca36ebd0101f16ce (patch)
treece809d8d199f56548f2d5f7ed5ae0427d795ebd6 /include/libyuv/planar_functions.h
parentf9aacffa029ff3a32f0408f78e2588663271f1b1 (diff)
downloadlibyuv-f1c00932dfbc6bec9a48da90ca36ebd0101f16ce.tar.gz
NV21 unittest and benchmark
BUG=libyuv:809 Change-Id: I75afb5612dcd05820479848a90ad16b07a7981bc Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/1707229 Reviewed-by: richard winterton <rrwinterton@gmail.com> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'include/libyuv/planar_functions.h')
-rw-r--r--include/libyuv/planar_functions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h
index f6f5b3ed..5299fe2c 100644
--- a/include/libyuv/planar_functions.h
+++ b/include/libyuv/planar_functions.h
@@ -105,6 +105,15 @@ void MergeUVPlane(const uint8_t* src_u,
int width,
int height);
+// Swap U and V channels in interleaved UV plane.
+LIBYUV_API
+void SwapUVPlane(const uint8_t* src_uv,
+ int src_stride_uv,
+ uint8_t* dst_vu,
+ int dst_stride_vu,
+ int width,
+ int height);
+
// Split interleaved RGB plane into separate R, G and B planes.
LIBYUV_API
void SplitRGBPlane(const uint8_t* src_rgb,