Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: webrtc/media/engine/webrtcvideocapturer.h

Issue 2487633002: Reland of Delete all use of cricket::VideoFrame and cricket::WebRtcVideoFrame. (Closed)
Patch Set: Rebase, and update rtcstatscollector_unittest.cc. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/media/devices/gtkvideorenderer.cc ('k') | webrtc/media/engine/webrtcvideocapturer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURER_H_ 11 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURER_H_
12 #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURER_H_ 12 #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURER_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/asyncinvoker.h" 18 #include "webrtc/base/asyncinvoker.h"
19 #include "webrtc/base/messagehandler.h" 19 #include "webrtc/base/messagehandler.h"
20 #include "webrtc/base/scoped_ref_ptr.h" 20 #include "webrtc/base/scoped_ref_ptr.h"
21 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 21 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
22 #include "webrtc/media/base/device.h" 22 #include "webrtc/media/base/device.h"
23 #include "webrtc/media/base/videocapturer.h" 23 #include "webrtc/media/base/videocapturer.h"
24 #include "webrtc/media/engine/webrtcvideoframe.h"
25 #include "webrtc/modules/video_capture/video_capture.h" 24 #include "webrtc/modules/video_capture/video_capture.h"
26 25
27 namespace cricket { 26 namespace cricket {
28 27
29 // Factory to allow injection of a VCM impl into WebRtcVideoCapturer. 28 // Factory to allow injection of a VCM impl into WebRtcVideoCapturer.
30 // DeviceInfos do not have a Release() and therefore need an explicit Destroy(). 29 // DeviceInfos do not have a Release() and therefore need an explicit Destroy().
31 class WebRtcVcmFactoryInterface { 30 class WebRtcVcmFactoryInterface {
32 public: 31 public:
33 virtual ~WebRtcVcmFactoryInterface() {} 32 virtual ~WebRtcVcmFactoryInterface() {}
34 virtual rtc::scoped_refptr<webrtc::VideoCaptureModule> Create( 33 virtual rtc::scoped_refptr<webrtc::VideoCaptureModule> Create(
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int captured_frames_; 82 int captured_frames_;
84 std::vector<uint8_t> capture_buffer_; 83 std::vector<uint8_t> capture_buffer_;
85 rtc::Thread* start_thread_; // Set in Start(), unset in Stop(); 84 rtc::Thread* start_thread_; // Set in Start(), unset in Stop();
86 85
87 std::unique_ptr<rtc::AsyncInvoker> async_invoker_; 86 std::unique_ptr<rtc::AsyncInvoker> async_invoker_;
88 }; 87 };
89 88
90 } // namespace cricket 89 } // namespace cricket
91 90
92 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_ 91 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_
OLDNEW
« no previous file with comments | « webrtc/media/devices/gtkvideorenderer.cc ('k') | webrtc/media/engine/webrtcvideocapturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698