Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

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

Issue 2457003002: [Mojo Video Capture] Simplify API and some cleanups (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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 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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698