| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 std::unique_ptr<WebRtcVcmFactoryInterface> factory_; | 81 std::unique_ptr<WebRtcVcmFactoryInterface> factory_; |
| 82 rtc::scoped_refptr<webrtc::VideoCaptureModule> module_; | 82 rtc::scoped_refptr<webrtc::VideoCaptureModule> module_; |
| 83 int captured_frames_; | 83 int captured_frames_; |
| 84 std::vector<uint8_t> capture_buffer_; | 84 std::vector<uint8_t> capture_buffer_; |
| 85 rtc::Thread* start_thread_; // Set in Start(), unset in Stop(); | 85 rtc::Thread* start_thread_; // Set in Start(), unset in Stop(); |
| 86 | 86 |
| 87 std::unique_ptr<rtc::AsyncInvoker> async_invoker_; | 87 std::unique_ptr<rtc::AsyncInvoker> async_invoker_; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 struct WebRtcCapturedFrame : public CapturedFrame { | |
| 91 public: | |
| 92 WebRtcCapturedFrame(const webrtc::VideoFrame& frame, | |
| 93 void* buffer, | |
| 94 size_t length); | |
| 95 }; | |
| 96 | |
| 97 } // namespace cricket | 90 } // namespace cricket |
| 98 | 91 |
| 99 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_ | 92 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_ |
| OLD | NEW |