Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: include/libyuv/convert.h

Issue 2266533003: Add SplitUVPlanes and MergeUVPlanes (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/libyuv/convert_from.h » ('j') | include/libyuv/convert_from.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/libyuv/convert.h
diff --git a/include/libyuv/convert.h b/include/libyuv/convert.h
index fcfcf544e1285533738e7ca5da14987de992f6ba..71ced19be6e9ea17883adb2bf1a12bd884f08169 100644
--- a/include/libyuv/convert.h
+++ b/include/libyuv/convert.h
@@ -201,6 +201,13 @@ int ARGB4444ToI420(const uint8* src_frame, int src_stride_frame,
uint8* dst_v, int dst_stride_v,
int width, int height);
+// Split interleaved UV plane into separate U and V planes.
+LIBYUV_API
+int SplitUVPlane(const uint8* src_uv, int src_stride_uv,
fbarchard1 2016/08/24 17:42:23 prefer SplitPlane function name function name for
fbarchard1 2016/08/24 17:42:23 Should be moved to planar_functions.h
+ uint8* dst_u, int dst_stride_u,
+ uint8* dst_v, int dst_stride_v,
+ int width, int height);
+
#ifdef HAVE_JPEG
// src_width/height provided by capture.
// dst_width/height for clipping determine final size.
« no previous file with comments | « no previous file | include/libyuv/convert_from.h » ('j') | include/libyuv/convert_from.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698