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

Unified Diff: media/capture/video/video_capture_device_info.h

Issue 2769543002: [Mojo Video Capture] Introduce abstraction VideoCaptureSystem (Closed)
Patch Set: Incorporated suggestions from PatchSet 5 Created 3 years, 8 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/capture/video/video_capture_device_info.h
diff --git a/media/capture/video/video_capture_device_info.h b/media/capture/video/video_capture_device_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..32f61c6b5f65cf8bb08127ebc7d25a9f19f60b7a
--- /dev/null
+++ b/media/capture/video/video_capture_device_info.h
@@ -0,0 +1,28 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_
+#define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_
+
+#include "media/capture/video/video_capture_device_descriptor.h"
+#include "media/capture/video_capture_types.h"
+
+namespace media {
+
+// Bundles a media::VideoCaptureDeviceDescriptor with corresponding supported
+// video formats.
+struct CAPTURE_EXPORT VideoCaptureDeviceInfo {
+ VideoCaptureDeviceInfo();
+ VideoCaptureDeviceInfo(media::VideoCaptureDeviceDescriptor descriptor);
+ VideoCaptureDeviceInfo(const VideoCaptureDeviceInfo& other);
+ ~VideoCaptureDeviceInfo();
+ VideoCaptureDeviceInfo& operator=(const VideoCaptureDeviceInfo& other);
+
+ media::VideoCaptureDeviceDescriptor descriptor;
+ media::VideoCaptureFormats supported_formats;
+};
+
+} // namespace media
+
+#endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_
« no previous file with comments | « media/capture/video/video_capture_device_factory.h ('k') | media/capture/video/video_capture_device_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698