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

Side by Side Diff: webrtc/modules/video_capture/windows/video_capture_ds.h

Issue 2534553002: Replace VideoCaptureDataCallback by VideoSinkInterface. (Closed)
Patch Set: Break overlong lines. Created 4 years 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_
12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_ 12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_
13 13
14 #include "webrtc/modules/video_capture/video_capture_impl.h" 14 #include "webrtc/modules/video_capture/video_capture_impl.h"
15 #include "webrtc/modules/video_capture/windows/device_info_ds.h" 15 #include "webrtc/modules/video_capture/windows/device_info_ds.h"
16 16
17 #define CAPTURE_FILTER_NAME L"VideoCaptureFilter" 17 #define CAPTURE_FILTER_NAME L"VideoCaptureFilter"
18 #define SINK_FILTER_NAME L"SinkFilter" 18 #define SINK_FILTER_NAME L"SinkFilter"
19 19
20 namespace webrtc 20 namespace webrtc
21 { 21 {
22 namespace videocapturemodule 22 namespace videocapturemodule
23 { 23 {
24 // Forward declaraion 24 // Forward declaraion
25 class CaptureSinkFilter; 25 class CaptureSinkFilter;
26 26
27 class VideoCaptureDS: public VideoCaptureImpl 27 class VideoCaptureDS: public VideoCaptureImpl
28 { 28 {
29 public: 29 public:
30 VideoCaptureDS(const int32_t id); 30 VideoCaptureDS();
31 31
32 virtual int32_t Init(const int32_t id, const char* deviceUniqueIdUTF8); 32 virtual int32_t Init(const char* deviceUniqueIdUTF8);
33 33
34 /************************************************************************* 34 /*************************************************************************
35 * 35 *
36 * Start/Stop 36 * Start/Stop
37 * 37 *
38 *************************************************************************/ 38 *************************************************************************/
39 virtual int32_t 39 virtual int32_t
40 StartCapture(const VideoCaptureCapability& capability); 40 StartCapture(const VideoCaptureCapability& capability);
41 virtual int32_t StopCapture(); 41 virtual int32_t StopCapture();
42 42
(...skipping 27 matching lines...) Expand all
70 70
71 // Microsoft DV interface (external DV cameras) 71 // Microsoft DV interface (external DV cameras)
72 IBaseFilter* _dvFilter; 72 IBaseFilter* _dvFilter;
73 IPin* _inputDvPin; 73 IPin* _inputDvPin;
74 IPin* _outputDvPin; 74 IPin* _outputDvPin;
75 75
76 }; 76 };
77 } // namespace videocapturemodule 77 } // namespace videocapturemodule
78 } // namespace webrtc 78 } // namespace webrtc
79 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_ 79 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/windows/sink_filter_ds.cc ('k') | webrtc/modules/video_capture/windows/video_capture_ds.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698