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

Unified Diff: media/capture/video_capture_types.h

Issue 2609863004: Pass camera facing to WebKit (Closed)
Patch Set: address review comments Created 3 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/renderer/media/media_stream_video_track.cc ('k') | media/capture/video_capturer_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video_capture_types.h
diff --git a/media/capture/video_capture_types.h b/media/capture/video_capture_types.h
index 7a6246beaf6cd2af413654378a8a60475302feff..c8e3c2cc80d765e564b96c8e0c17c83eb3ac42e6 100644
--- a/media/capture/video_capture_types.h
+++ b/media/capture/video_capture_types.h
@@ -28,6 +28,13 @@ enum VideoPixelStorage {
PIXEL_STORAGE_MAX = PIXEL_STORAGE_CPU,
};
+enum class CameraFacing {
+ DEFAULT = 0,
+ // FRONT means a person's right will be on the left in the video.
wuchengli 2017/01/09 08:28:00 This is not always true. Apps can choose not to mi
shenghao 2017/01/10 12:16:35 Done.
+ FRONT,
wuchengli 2017/01/09 08:28:00 Also document BACK. // The source is facing away
shenghao 2017/01/10 12:16:35 Done.
+ BACK,
+};
+
// Policies for capture devices that have source content that varies in size.
// It is up to the implementation how the captured content will be transformed
// (e.g., scaling and/or letterboxing) in order to produce video frames that
« no previous file with comments | « content/renderer/media/media_stream_video_track.cc ('k') | media/capture/video_capturer_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698