OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ |
12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ | 12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ |
13 | 13 |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "webrtc/modules/video_capture/include/video_capture.h" | 16 #include "webrtc/modules/video_capture/include/video_capture.h" |
17 #include "webrtc/modules/video_capture/video_capture_delay.h" | 17 #include "webrtc/modules/video_capture/video_capture_delay.h" |
18 #include "webrtc/system_wrappers/interface/rw_lock_wrapper.h" | 18 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" |
19 | 19 |
20 namespace webrtc | 20 namespace webrtc |
21 { | 21 { |
22 namespace videocapturemodule | 22 namespace videocapturemodule |
23 { | 23 { |
24 class DeviceInfoImpl: public VideoCaptureModule::DeviceInfo | 24 class DeviceInfoImpl: public VideoCaptureModule::DeviceInfo |
25 { | 25 { |
26 public: | 26 public: |
27 DeviceInfoImpl(const int32_t id); | 27 DeviceInfoImpl(const int32_t id); |
28 virtual ~DeviceInfoImpl(void); | 28 virtual ~DeviceInfoImpl(void); |
(...skipping 30 matching lines...) Expand all Loading... |
59 int32_t _id; | 59 int32_t _id; |
60 typedef std::vector<VideoCaptureCapability> VideoCaptureCapabilities; | 60 typedef std::vector<VideoCaptureCapability> VideoCaptureCapabilities; |
61 VideoCaptureCapabilities _captureCapabilities; | 61 VideoCaptureCapabilities _captureCapabilities; |
62 RWLockWrapper& _apiLock; | 62 RWLockWrapper& _apiLock; |
63 char* _lastUsedDeviceName; | 63 char* _lastUsedDeviceName; |
64 uint32_t _lastUsedDeviceNameLength; | 64 uint32_t _lastUsedDeviceNameLength; |
65 }; | 65 }; |
66 } // namespace videocapturemodule | 66 } // namespace videocapturemodule |
67 } // namespace webrtc | 67 } // namespace webrtc |
68 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ | 68 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ |
OLD | NEW |