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

Side by Side Diff: webrtc/modules/video_capture/device_info_impl.h

Issue 2665113006: Delete DeviceInfoImpl::GetExpectedCaptureDelay and related declarations. (Closed)
Patch Set: Drop include of video_capture_delay.h, and definition of WindowsCaptureDelays. Created 3 years, 10 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
« no previous file with comments | « webrtc/modules/video_capture/BUILD.gn ('k') | webrtc/modules/video_capture/device_info_impl.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) 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_DEVICE_INFO_IMPL_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_
12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ 12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_
13 13
14 #include <vector> 14 #include <vector>
15 15
16 #include "webrtc/modules/video_capture/video_capture.h" 16 #include "webrtc/modules/video_capture/video_capture.h"
17 #include "webrtc/modules/video_capture/video_capture_delay.h"
18 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" 17 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h"
19 18
20 namespace webrtc 19 namespace webrtc
21 { 20 {
22 namespace videocapturemodule 21 namespace videocapturemodule
23 { 22 {
24 class DeviceInfoImpl: public VideoCaptureModule::DeviceInfo 23 class DeviceInfoImpl: public VideoCaptureModule::DeviceInfo
25 { 24 {
26 public: 25 public:
27 DeviceInfoImpl(); 26 DeviceInfoImpl();
(...skipping 13 matching lines...) Expand all
41 40
42 protected: 41 protected:
43 /* Initialize this object*/ 42 /* Initialize this object*/
44 43
45 virtual int32_t Init()=0; 44 virtual int32_t Init()=0;
46 /* 45 /*
47 * Fills the member variable _captureCapabilities with capabilities for the given device name. 46 * Fills the member variable _captureCapabilities with capabilities for the given device name.
48 */ 47 */
49 virtual int32_t CreateCapabilityMap(const char* deviceUniqueIdUTF8)=0; 48 virtual int32_t CreateCapabilityMap(const char* deviceUniqueIdUTF8)=0;
50 49
51 /* Returns the expected Capture delay*/
52 int32_t GetExpectedCaptureDelay(const DelayValues delayValues[],
53 const uint32_t sizeOfDelayValues,
54 const char* productId,
55 const uint32_t width,
56 const uint32_t height);
57 protected: 50 protected:
58 // Data members 51 // Data members
59 typedef std::vector<VideoCaptureCapability> VideoCaptureCapabilities; 52 typedef std::vector<VideoCaptureCapability> VideoCaptureCapabilities;
60 VideoCaptureCapabilities _captureCapabilities; 53 VideoCaptureCapabilities _captureCapabilities;
61 RWLockWrapper& _apiLock; 54 RWLockWrapper& _apiLock;
62 char* _lastUsedDeviceName; 55 char* _lastUsedDeviceName;
63 uint32_t _lastUsedDeviceNameLength; 56 uint32_t _lastUsedDeviceNameLength;
64 }; 57 };
65 } // namespace videocapturemodule 58 } // namespace videocapturemodule
66 } // namespace webrtc 59 } // namespace webrtc
67 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ 60 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/BUILD.gn ('k') | webrtc/modules/video_capture/device_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698