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

Side by Side Diff: device/capture/video/video_capture_device_descriptor.h

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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 #ifndef MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_ 5 #ifndef DEVICE_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_
6 #define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_ 6 #define DEVICE_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
11 #include "media/capture/capture_export.h" 11 #include "device/capture/capture_export.h"
12 12
13 namespace media { 13 namespace device {
14 14
15 // A Java counterpart will be generated for this enum. 15 // A Java counterpart will be generated for this enum.
16 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.media 16 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.device
17 enum class VideoCaptureApi { 17 enum class VideoCaptureApi {
18 LINUX_V4L2_SINGLE_PLANE, 18 LINUX_V4L2_SINGLE_PLANE,
19 WIN_MEDIA_FOUNDATION, 19 WIN_MEDIA_FOUNDATION,
20 WIN_DIRECT_SHOW, 20 WIN_DIRECT_SHOW,
21 MACOSX_AVFOUNDATION, 21 MACOSX_AVFOUNDATION,
22 MACOSX_DECKLINK, 22 MACOSX_DECKLINK,
23 ANDROID_API1, 23 ANDROID_API1,
24 ANDROID_API2_LEGACY, 24 ANDROID_API2_LEGACY,
25 ANDROID_API2_FULL, 25 ANDROID_API2_FULL,
26 ANDROID_API2_LIMITED, 26 ANDROID_API2_LIMITED,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // It is of the form "[vid]:[pid]" when a USB device is detected, and empty 79 // It is of the form "[vid]:[pid]" when a USB device is detected, and empty
80 // otherwise. 80 // otherwise.
81 std::string model_id; 81 std::string model_id;
82 82
83 VideoCaptureApi capture_api; 83 VideoCaptureApi capture_api;
84 VideoCaptureTransportType transport_type; 84 VideoCaptureTransportType transport_type;
85 }; 85 };
86 86
87 using VideoCaptureDeviceDescriptors = std::list<VideoCaptureDeviceDescriptor>; 87 using VideoCaptureDeviceDescriptors = std::list<VideoCaptureDeviceDescriptor>;
88 88
89 } // namespace media 89 } // namespace device
90 90
91 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_ 91 #endif // DEVICE_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « device/capture/video/video_capture_device.cc ('k') | device/capture/video/video_capture_device_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698