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

Side by Side Diff: webrtc/modules/video_capture/video_capture_defines.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
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
(...skipping 13 matching lines...) Expand all
24 24
25 enum {kVideoCaptureUniqueNameLength =1024}; //Max unique capture device name len ght 25 enum {kVideoCaptureUniqueNameLength =1024}; //Max unique capture device name len ght
26 enum {kVideoCaptureDeviceNameLength =256}; //Max capture device name lenght 26 enum {kVideoCaptureDeviceNameLength =256}; //Max capture device name lenght
27 enum {kVideoCaptureProductIdLength =128}; //Max product id length 27 enum {kVideoCaptureProductIdLength =128}; //Max product id length
28 28
29 struct VideoCaptureCapability 29 struct VideoCaptureCapability
30 { 30 {
31 int32_t width; 31 int32_t width;
32 int32_t height; 32 int32_t height;
33 int32_t maxFPS; 33 int32_t maxFPS;
34 int32_t expectedCaptureDelay;
35 RawVideoType rawType; 34 RawVideoType rawType;
36 VideoCodecType codecType; 35 VideoCodecType codecType;
37 bool interlaced; 36 bool interlaced;
38 37
39 VideoCaptureCapability() 38 VideoCaptureCapability()
40 { 39 {
41 width = 0; 40 width = 0;
42 height = 0; 41 height = 0;
43 maxFPS = 0; 42 maxFPS = 0;
44 expectedCaptureDelay = 0;
45 rawType = kVideoUnknown; 43 rawType = kVideoUnknown;
46 codecType = kVideoCodecUnknown; 44 codecType = kVideoCodecUnknown;
47 interlaced = false; 45 interlaced = false;
48 } 46 }
49 ; 47 ;
50 bool operator!=(const VideoCaptureCapability &other) const 48 bool operator!=(const VideoCaptureCapability &other) const
51 { 49 {
52 if (width != other.width) 50 if (width != other.width)
53 return true; 51 return true;
54 if (height != other.height) 52 if (height != other.height)
(...skipping 25 matching lines...) Expand all
80 size_t videoFrameLength, 78 size_t videoFrameLength,
81 const VideoCaptureCapability& frameInfo, 79 const VideoCaptureCapability& frameInfo,
82 int64_t captureTime = 0) = 0; 80 int64_t captureTime = 0) = 0;
83 protected: 81 protected:
84 ~VideoCaptureExternal() {} 82 ~VideoCaptureExternal() {}
85 }; 83 };
86 84
87 } // namespace webrtc 85 } // namespace webrtc
88 86
89 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEFINES_H_ 87 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/objc/device_info_objc.mm ('k') | webrtc/modules/video_capture/video_capture_delay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698