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

Unified Diff: media/base/video_frame.h

Issue 839523002: V4L2VDA: Generalize EGLImage import and query driver for output formats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index 54da038fa2470fb5a7b330191b6b057b541100b2..e1f1e748fbd4e228067dd920e092883e02adfc92 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -40,6 +40,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
kMaxPlanes = 4,
kYPlane = 0,
+ kARGBPlane = kYPlane,
kUPlane = 1,
kUVPlane = kUPlane,
kVPlane = 2,
@@ -63,6 +64,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
YV12J = 7, // JPEG color range version of YV12
NV12 = 8, // 12bpp 1x1 Y plane followed by an interleaved 2x2 UV plane.
YV24 = 9, // 24bpp YUV planar, no subsampling.
+ ARGB = 10, // 32bpp ARGB, 1 plane.
FORMAT_MAX = YV24, // Must always be equal to largest entry logged.
scherkus (not reviewing) 2015/01/06 21:30:08 update this to be ARGB can you also update the Vi
Pawel Osciak 2015/01/07 01:20:31 Wow, that thing is in dire need of updating, sever
};

Powered by Google App Engine
This is Rietveld 408576698