| 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_ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 VcmCapturer(); | 44 VcmCapturer(); |
| 45 bool Init(size_t width, | 45 bool Init(size_t width, |
| 46 size_t height, | 46 size_t height, |
| 47 size_t target_fps, | 47 size_t target_fps, |
| 48 size_t capture_device_index); | 48 size_t capture_device_index); |
| 49 void Destroy(); | 49 void Destroy(); |
| 50 | 50 |
| 51 rtc::CriticalSection crit_; | 51 rtc::CriticalSection crit_; |
| 52 bool started_ GUARDED_BY(crit_); | 52 bool started_ RTC_GUARDED_BY(crit_); |
| 53 rtc::VideoSinkInterface<VideoFrame>* sink_ GUARDED_BY(crit_); | 53 rtc::VideoSinkInterface<VideoFrame>* sink_ RTC_GUARDED_BY(crit_); |
| 54 rtc::scoped_refptr<VideoCaptureModule> vcm_; | 54 rtc::scoped_refptr<VideoCaptureModule> vcm_; |
| 55 VideoCaptureCapability capability_; | 55 VideoCaptureCapability capability_; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // test | 58 } // test |
| 59 } // webrtc | 59 } // webrtc |
| 60 | 60 |
| 61 #endif // WEBRTC_TEST_VCM_CAPTURER_H_ | 61 #endif // WEBRTC_TEST_VCM_CAPTURER_H_ |
| OLD | NEW |