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

Unified Diff: media/base/video_types.h

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests: cc, skcanvas_video_renderer, wrtcrecorder... Fake capture supports Y16. 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.
+ PIXEL_FORMAT_Y16 = 23, // single 16bpp plane.
// 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