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

Unified Diff: include/libyuv/convert.h

Issue 2277603004: Add SplitUVPlanes and MergeUVPlanes (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: 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
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 23:04:10 move to planar_functions.h
fbarchard1 2016/08/24 23:11:50 Done.
+ 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 | « README.chromium ('k') | include/libyuv/convert_from.h » ('j') | include/libyuv/convert_from.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698