OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module video_capture.mojom; | 5 module video_capture.mojom; |
6 | 6 |
7 import "media/capture/mojo/video_capture_types.mojom"; | 7 import "media/capture/mojo/video_capture_types.mojom"; |
8 import "ui/gfx/geometry/mojo/geometry.mojom"; | 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
9 | 9 |
10 // This format implies a pixel format of I420 | 10 // This format implies a pixel format of I420 |
11 // and a storage type of Mojo Shared Memory. | 11 // and a storage type of Mojo Shared Memory. |
12 struct VideoCaptureFormat { | 12 struct I420CaptureFormat { |
13 gfx.mojom.Size frame_size; | 13 gfx.mojom.Size frame_size; |
14 float frame_rate; | 14 float frame_rate; |
15 }; | 15 }; |
16 | 16 |
17 struct VideoCaptureSettings { | 17 struct CaptureSettings { |
18 VideoCaptureFormat format; | 18 I420CaptureFormat format; |
19 media.mojom.ResolutionChangePolicy resolution_change_policy; | 19 media.mojom.ResolutionChangePolicy resolution_change_policy; |
20 media.mojom.PowerLineFrequency power_line_frequency; | 20 media.mojom.PowerLineFrequency power_line_frequency; |
21 }; | 21 }; |
OLD | NEW |