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

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

Issue 1715883002: Remove DeviceManager and DeviceInfo. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 9 months 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
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/common_video/libyuv/include/webrtc_libyuv.h" 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
21 #include "webrtc/media/base/device.h"
21 #include "webrtc/media/base/videocapturer.h" 22 #include "webrtc/media/base/videocapturer.h"
22 #include "webrtc/media/engine/webrtcvideoframe.h" 23 #include "webrtc/media/engine/webrtcvideoframe.h"
23 #include "webrtc/modules/video_capture/video_capture.h" 24 #include "webrtc/modules/video_capture/video_capture.h"
24 25
25 namespace cricket { 26 namespace cricket {
26 27
27 // Factory to allow injection of a VCM impl into WebRtcVideoCapturer. 28 // Factory to allow injection of a VCM impl into WebRtcVideoCapturer.
28 // 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().
29 class WebRtcVcmFactoryInterface { 30 class WebRtcVcmFactoryInterface {
30 public: 31 public:
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 struct WebRtcCapturedFrame : public CapturedFrame { 88 struct WebRtcCapturedFrame : public CapturedFrame {
88 public: 89 public:
89 WebRtcCapturedFrame(const webrtc::VideoFrame& frame, 90 WebRtcCapturedFrame(const webrtc::VideoFrame& frame,
90 void* buffer, 91 void* buffer,
91 size_t length); 92 size_t length);
92 }; 93 };
93 94
94 } // namespace cricket 95 } // namespace cricket
95 96
96 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_ 97 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_
OLDNEW
« no previous file with comments | « webrtc/media/engine/fakewebrtcvideocapturemodule.h ('k') | webrtc/media/engine/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698