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

Unified Diff: media/base/video_types.h

Issue 2571163002: Add PIXEL_FORMAT_I422. (Closed)
Patch Set: 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.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..728bd72aa22eac1544398fdc794775589493ed2a 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 =
wuchengli 2016/12/14 08:16:53 I prefer PIXEL_FORMAT_YU16 to be consistent with P
jcliang 2016/12/14 08:25:41 I followed the naming of libyuv which lists YU16 a
+ 27, // 16bpp YUV planar 1x1 Y, 2x2 UV samples, a.k.a. YU16.
wuchengli 2016/12/14 08:16:53 This should be 2x1 UV samples.
jcliang 2016/12/14 08:25:41 Done.
+
// 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.cc ('k') | media/base/video_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698