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

Unified Diff: include/libyuv/convert_from.h

Issue 2266533003: 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_from.h
diff --git a/include/libyuv/convert_from.h b/include/libyuv/convert_from.h
index 39e1578a0e33343ceb3eaf5e5804b9fef726f50e..bf93b543c3f2f6feae7ab5c17ce497bdf71d629b 100644
--- a/include/libyuv/convert_from.h
+++ b/include/libyuv/convert_from.h
@@ -160,6 +160,13 @@ int I420ToARGB4444(const uint8* src_y, int src_stride_y,
uint8* dst_frame, int dst_stride_frame,
int width, int height);
+// Merge separate U and V planes into one interleaved UV plane.
+LIBYUV_API
+int MergeUVPlanes(const uint8* src_u, int src_stride_u,
fbarchard1 2016/08/24 17:42:23 move to planar_functions.h functions in convert fr
+ const uint8* src_v, int src_stride_v,
+ uint8* dst_uv, int dst_stride_uv,
+ int width, int height);
+
// Convert I420 to specified format.
// "dst_sample_stride" is bytes in a row for the destination. Pass 0 if the
// buffer has contiguous rows. Can be negative. A multiple of 16 is optimal.

Powered by Google App Engine
This is Rietveld 408576698