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

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

Issue 1703833002: Remove ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 return apply_rotation_; 72 return apply_rotation_;
73 } 73 }
74 74
75 virtual void EnableFrameRateCallback(const bool enable); 75 virtual void EnableFrameRateCallback(const bool enable);
76 virtual void EnableNoPictureAlarm(const bool enable); 76 virtual void EnableNoPictureAlarm(const bool enable);
77 77
78 virtual const char* CurrentDeviceName() const; 78 virtual const char* CurrentDeviceName() const;
79 79
80 // Module handling 80 // Module handling
81 virtual int64_t TimeUntilNextProcess(); 81 virtual int64_t TimeUntilNextProcess();
82 virtual int32_t Process(); 82 virtual void Process();
83 83
84 // Implement VideoCaptureExternal 84 // Implement VideoCaptureExternal
85 // |capture_time| must be specified in NTP time format in milliseconds. 85 // |capture_time| must be specified in NTP time format in milliseconds.
86 virtual int32_t IncomingFrame(uint8_t* videoFrame, 86 virtual int32_t IncomingFrame(uint8_t* videoFrame,
87 size_t videoFrameLength, 87 size_t videoFrameLength,
88 const VideoCaptureCapability& frameInfo, 88 const VideoCaptureCapability& frameInfo,
89 int64_t captureTime = 0); 89 int64_t captureTime = 0);
90 90
91 // Platform dependent 91 // Platform dependent
92 virtual int32_t StartCapture(const VideoCaptureCapability& capability) 92 virtual int32_t StartCapture(const VideoCaptureCapability& capability)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // capture module. 133 // capture module.
134 134
135 VideoFrame _captureFrame; 135 VideoFrame _captureFrame;
136 136
137 // Indicate whether rotation should be applied before delivered externally. 137 // Indicate whether rotation should be applied before delivered externally.
138 bool apply_rotation_; 138 bool apply_rotation_;
139 }; 139 };
140 } // namespace videocapturemodule 140 } // namespace videocapturemodule
141 } // namespace webrtc 141 } // namespace webrtc
142 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_ 142 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/utility/source/process_thread_impl_unittest.cc ('k') | webrtc/modules/video_capture/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698