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