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

Unified Diff: media/base/video_types.h

Issue 2113243003: media: Introduce Y8 and Y16 video pixel format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 4 years, 3 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_types.h
diff --git a/media/base/video_types.h b/media/base/video_types.h
index 7590b1b3a25d4e67a0018eda302f129861aa7cdd..8b225fb3f15db6b4465745b234fcf4963d07a4d4 100644
--- a/media/base/video_types.h
+++ b/media/base/video_types.h
@@ -53,10 +53,11 @@ enum VideoPixelFormat {
PIXEL_FORMAT_YUV422P10 = 19,
PIXEL_FORMAT_YUV444P9 = 20,
PIXEL_FORMAT_YUV444P10 = 21,
-
+ PIXEL_FORMAT_Y8 = 22, // single 8bpp plane.
fbarchard1 2016/09/20 21:52:24 // Single 8 bpp plane.
dshwang 2016/09/21 09:00:00 Done.
+ PIXEL_FORMAT_Y16 = 23, // single 16bpp plane.
fbarchard1 2016/09/20 21:52:24 // Single 16 bpp plane.
dshwang 2016/09/21 09:00:00 Done.
// Please update UMA histogram enumeration when adding new formats here.
PIXEL_FORMAT_MAX =
- PIXEL_FORMAT_YUV444P10, // Must always be equal to largest entry logged.
+ PIXEL_FORMAT_Y16, // Must always be equal to largest entry logged.
};
// Color space or color range used for the pixels.

Powered by Google App Engine
This is Rietveld 408576698