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

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
« no previous file with comments | « content/common/gpu/media/v4l2_video_device.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 54da038fa2470fb5a7b330191b6b057b541100b2..0ffd0585cdb20d434760d8e6d654f753b1c4e9db 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,7 +64,9 @@ 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.
- FORMAT_MAX = YV24, // Must always be equal to largest entry logged.
+ ARGB = 10, // 32bpp ARGB, 1 plane.
+ // Please update UMA histogram enumeration when adding new formats here.
+ FORMAT_MAX = ARGB, // Must always be equal to largest entry logged.
};
// Returns the name of a Format as a string.
« no previous file with comments | « content/common/gpu/media/v4l2_video_device.cc ('k') | media/base/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698