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

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

Issue 2813343002: [Mojo Video Capture] Switch to using Mojo structs in media/capture/mojo (Closed)
Patch Set: Removed extraneous AtLeast Created 3 years, 8 months 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 enum VideoCaptureApi {
8 LINUX_V4L2_SINGLE_PLANE,
9 WIN_MEDIA_FOUNDATION,
10 WIN_DIRECT_SHOW,
11 MACOSX_AVFOUNDATION,
12 MACOSX_DECKLINK,
13 ANDROID_API1,
14 ANDROID_API2_LEGACY,
15 ANDROID_API2_FULL,
16 ANDROID_API2_LIMITED,
17 ANDROID_TANGO,
18 UNKNOWN
19 };
20
21 enum VideoCaptureTransportType {
22 // For MACOSX_AVFOUNDATION Api, identifies devices that are built-in or USB.
23 MACOSX_USB_OR_BUILT_IN,
24 OTHER_TRANSPORT
25 };
26
27 struct DeviceDescriptor {
28 string display_name;
29 string device_id;
30 string model_id;
31 VideoCaptureApi capture_api;
32 VideoCaptureTransportType transport_type;
33 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698