OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_MEDIA_VIDEO_CAPTURE_DEVICE_INFO_H_ |
| 6 #define CONTENT_BROWSER_MEDIA_VIDEO_CAPTURE_DEVICE_INFO_H_ |
| 7 |
| 8 #include "media/base/video_capture_types.h" |
| 9 #include "media/capture/video/video_capture_device_descriptor.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 // Bundles a media::VideoCaptureDeviceDescriptor with corresponding supported |
| 14 // video formats. |
| 15 struct VideoCaptureDeviceInfo { |
| 16 VideoCaptureDeviceInfo(media::VideoCaptureDeviceDescriptor descriptor); |
| 17 ~VideoCaptureDeviceInfo(); |
| 18 VideoCaptureDeviceInfo(const VideoCaptureDeviceInfo& other); |
| 19 VideoCaptureDeviceInfo& operator=(const VideoCaptureDeviceInfo& other); |
| 20 |
| 21 media::VideoCaptureDeviceDescriptor descriptor; |
| 22 media::VideoCaptureFormats supported_formats; |
| 23 }; |
| 24 |
| 25 using VideoCaptureDeviceInfos = std::vector<VideoCaptureDeviceInfo>; |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_BROWSER_MEDIA_VIDEO_CAPTURE_DEVICE_INFO_H_ |
OLD | NEW |