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

Unified Diff: media/base/video_util.h

Issue 12263013: media: Add support for playback of VP8 Alpha video streams (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments on patchset 2 Created 7 years, 10 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: media/base/video_util.h
diff --git a/media/base/video_util.h b/media/base/video_util.h
index 562ad7d86ccae39af852ae8d4ece09dba94a9889..370833951f936baa93cea6d5fce5252306c42177 100644
--- a/media/base/video_util.h
+++ b/media/base/video_util.h
@@ -28,6 +28,11 @@ MEDIA_EXPORT void CopyUPlane(const uint8* source, int stride, int rows,
VideoFrame* frame);
MEDIA_EXPORT void CopyVPlane(const uint8* source, int stride, int rows,
VideoFrame* frame);
+MEDIA_EXPORT void CopyAPlane(const uint8* source, int stride, int rows,
+ VideoFrame* frame);
+
+// Sets A Plane values to be completely opaque (all 255's)
+MEDIA_EXPORT void ClearAPlane(int stride, int rows, VideoFrame* frame);
Tom Finegan 2013/02/25 22:56:06 Hmm... s/ClearAPlane/x/ ? Where x is: OpaqueAP
vignesh 2013/02/25 23:33:14 I prefer MakeOpaqueAPlane as it seems consistent w
// Fills |frame| containing YUV data to the given color values.
MEDIA_EXPORT void FillYUV(VideoFrame* frame, uint8 y, uint8 u, uint8 v);

Powered by Google App Engine
This is Rietveld 408576698