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_INCLUDE_VIDEO_CAPTURE_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_VIDEO_CAPTURE_H_ |
12 #define WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_VIDEO_CAPTURE_H_ | 12 #define WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_VIDEO_CAPTURE_H_ |
13 | 13 |
14 #include "webrtc/common_video/rotation.h" | 14 #include "webrtc/common_video/rotation.h" |
15 #include "webrtc/modules/interface/module.h" | 15 #include "webrtc/modules/include/module.h" |
16 #include "webrtc/modules/video_capture/include/video_capture_defines.h" | 16 #include "webrtc/modules/video_capture/include/video_capture_defines.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 | 19 |
20 class VideoCaptureModule: public RefCountedModule { | 20 class VideoCaptureModule: public RefCountedModule { |
21 public: | 21 public: |
22 // Interface for receiving information about available camera devices. | 22 // Interface for receiving information about available camera devices. |
23 class DeviceInfo { | 23 class DeviceInfo { |
24 public: | 24 public: |
25 virtual uint32_t NumberOfDevices() = 0; | 25 virtual uint32_t NumberOfDevices() = 0; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 151 |
152 virtual void EnableFrameRateCallback(const bool enable) = 0; | 152 virtual void EnableFrameRateCallback(const bool enable) = 0; |
153 virtual void EnableNoPictureAlarm(const bool enable) = 0; | 153 virtual void EnableNoPictureAlarm(const bool enable) = 0; |
154 | 154 |
155 protected: | 155 protected: |
156 virtual ~VideoCaptureModule() {}; | 156 virtual ~VideoCaptureModule() {}; |
157 }; | 157 }; |
158 | 158 |
159 } // namespace webrtc | 159 } // namespace webrtc |
160 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_VIDEO_CAPTURE_H_ | 160 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_VIDEO_CAPTURE_H_ |
OLD | NEW |