OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #ifndef WEBRTC_TEST_VCM_CAPTURER_H_ | 10 #ifndef WEBRTC_TEST_VCM_CAPTURER_H_ |
11 #define WEBRTC_TEST_VCM_CAPTURER_H_ | 11 #define WEBRTC_TEST_VCM_CAPTURER_H_ |
12 | 12 |
| 13 #include <memory> |
| 14 |
13 #include "webrtc/base/criticalsection.h" | 15 #include "webrtc/base/criticalsection.h" |
14 #include "webrtc/base/scoped_ref_ptr.h" | 16 #include "webrtc/base/scoped_ref_ptr.h" |
15 #include "webrtc/common_types.h" | 17 #include "webrtc/common_types.h" |
16 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 18 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
17 #include "webrtc/modules/video_capture/video_capture.h" | 19 #include "webrtc/modules/video_capture/video_capture.h" |
18 #include "webrtc/test/video_capturer.h" | 20 #include "webrtc/test/video_capturer.h" |
19 | 21 |
20 namespace webrtc { | 22 namespace webrtc { |
21 namespace test { | 23 namespace test { |
22 | 24 |
(...skipping 21 matching lines...) Expand all Loading... |
44 bool started_ GUARDED_BY(crit_); | 46 bool started_ GUARDED_BY(crit_); |
45 rtc::VideoSinkInterface<VideoFrame>* sink_ GUARDED_BY(crit_); | 47 rtc::VideoSinkInterface<VideoFrame>* sink_ GUARDED_BY(crit_); |
46 rtc::scoped_refptr<VideoCaptureModule> vcm_; | 48 rtc::scoped_refptr<VideoCaptureModule> vcm_; |
47 VideoCaptureCapability capability_; | 49 VideoCaptureCapability capability_; |
48 }; | 50 }; |
49 | 51 |
50 } // test | 52 } // test |
51 } // webrtc | 53 } // webrtc |
52 | 54 |
53 #endif // WEBRTC_TEST_VCM_CAPTURER_H_ | 55 #endif // WEBRTC_TEST_VCM_CAPTURER_H_ |
OLD | NEW |