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

Unified Diff: media/base/video_frame.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: rebase Created 7 years, 8 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 | « media/base/simd/yuv_to_rgb_table.cc ('k') | media/base/video_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index 9a6f0a67fddb27b3eb5772ddd6f7e717744506c8..6cd5a0f7f7ccd7af2b49eb0c57c3341409c11c65 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -24,13 +24,14 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
};
enum {
- kMaxPlanes = 3,
+ kMaxPlanes = 4,
kRGBPlane = 0,
kYPlane = 0,
kUPlane = 1,
kVPlane = 2,
+ kAPlane = 3,
};
// Surface formats roughly based on FOURCC labels, see:
@@ -47,6 +48,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
#if defined(GOOGLE_TV)
HOLE = 13, // Hole frame.
#endif
+ YV12A = 14, // 20bpp YUVA planar 1x1 Y, 2x2 VU, 1x1 A samples.
};
// Creates a new frame in system memory with given parameters. Buffers for
« no previous file with comments | « media/base/simd/yuv_to_rgb_table.cc ('k') | media/base/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698