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 module video_capture.mojom; |
| 6 |
| 7 import "services/video_capture/public/interfaces/video_capture_device_client.moj
om"; |
| 8 import "services/video_capture/public/interfaces/video_capture_format.mojom"; |
| 9 |
| 10 enum ResolutionChangePolicy { |
| 11 FIXED_RESOLUTION, |
| 12 FIXED_ASPECT_RATIO, |
| 13 ANY_WITHIN_LIMIT, |
| 14 }; |
| 15 |
| 16 enum PowerLineFrequency { |
| 17 DEFAULT, |
| 18 HZ_50, |
| 19 HZ_60 |
| 20 }; |
| 21 |
| 22 // Note: The VideoCaptureDevice is stopped when the corresponding message pipe |
| 23 // is closed. |
| 24 interface VideoCaptureDevice { |
| 25 Start(VideoCaptureFormat requested_format, |
| 26 ResolutionChangePolicy resolution_change_policy, |
| 27 PowerLineFrequency power_line_frequency, |
| 28 VideoCaptureDeviceClient client); |
| 29 }; |
OLD | NEW |