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

Unified Diff: media/base/video_types.h

Issue 2571163002: Add PIXEL_FORMAT_I422. (Closed)
Patch Set: move switch cases to align with the enum value order Created 4 years 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/video_frame_unittest.cc ('k') | media/base/video_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_types.h
diff --git a/media/base/video_types.h b/media/base/video_types.h
index 734a133206c60bf4d7fbb95518a695ddb443c604..f34071186a38a00ecf5426feb8c0007f2b70a3e2 100644
--- a/media/base/video_types.h
+++ b/media/base/video_types.h
@@ -61,9 +61,12 @@ enum VideoPixelFormat {
PIXEL_FORMAT_Y8 = 25, // single 8bpp plane.
PIXEL_FORMAT_Y16 = 26, // single 16bpp plane.
+ PIXEL_FORMAT_I422 =
+ 27, // 16bpp YUV planar 1x1 Y, 2x1 UV samples, a.k.a. YU16.
+
// Please update UMA histogram enumeration when adding new formats here.
PIXEL_FORMAT_MAX =
- PIXEL_FORMAT_Y16, // Must always be equal to largest entry logged.
+ PIXEL_FORMAT_I422, // Must always be equal to largest entry logged.
};
// Color space or color range used for the pixels.
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | media/base/video_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698