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 "media/capture/mojo/video_capture_types.mojom"; |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 9 |
| 10 // This format implies a pixel format of I420 |
| 11 // and a storage type of Mojo Shared Memory. |
| 12 struct VideoCaptureFormat { |
| 13 gfx.mojom.Size frame_size; |
| 14 float frame_rate; |
| 15 }; |
| 16 |
| 17 struct VideoCaptureSettings { |
| 18 VideoCaptureFormat format; |
| 19 media.mojom.ResolutionChangePolicy resolution_change_policy; |
| 20 media.mojom.PowerLineFrequency power_line_frequency; |
| 21 }; |
OLD | NEW |