Chromium Code Reviews

Side by Side Diff: services/video_capture/public/interfaces/capture_settings.mojom

Issue 2813343002: [Mojo Video Capture] Switch to using Mojo structs in media/capture/mojo (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(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 I420CaptureFormat {
13 gfx.mojom.Size frame_size;
14 float frame_rate;
15 };
16
17 struct CaptureSettings {
18 I420CaptureFormat format;
19 media.mojom.ResolutionChangePolicy resolution_change_policy;
20 media.mojom.PowerLineFrequency power_line_frequency;
21 };
OLDNEW

Powered by Google App Engine