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

Side by Side Diff: webrtc/video/video_capture_input.h

Issue 2298213002: Add periodic logging of number of captured and dropped frames in VideoCaptureInput. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | webrtc/video/video_capture_input.cc » ('j') | webrtc/video/video_capture_input.cc » ('J')
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
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 rtc::Event* const capture_event_; 55 rtc::Event* const capture_event_;
56 56
57 std::unique_ptr<VideoFrame> captured_frame_ GUARDED_BY(crit_); 57 std::unique_ptr<VideoFrame> captured_frame_ GUARDED_BY(crit_);
58 Clock* const clock_; 58 Clock* const clock_;
59 // Used to make sure incoming time stamp is increasing for every frame. 59 // Used to make sure incoming time stamp is increasing for every frame.
60 int64_t last_captured_timestamp_; 60 int64_t last_captured_timestamp_;
61 // Delta used for translating between NTP and internal timestamps. 61 // Delta used for translating between NTP and internal timestamps.
62 const int64_t delta_ntp_internal_ms_; 62 const int64_t delta_ntp_internal_ms_;
63 63
64 OveruseFrameDetector* const overuse_detector_; 64 OveruseFrameDetector* const overuse_detector_;
65
66 int64_t last_frame_log_ms_;
67 int captured_frame_count_;
68 int dropped_frame_count_;
65 }; 69 };
66 70
67 } // namespace internal 71 } // namespace internal
68 } // namespace webrtc 72 } // namespace webrtc
69 73
70 #endif // WEBRTC_VIDEO_VIDEO_CAPTURE_INPUT_H_ 74 #endif // WEBRTC_VIDEO_VIDEO_CAPTURE_INPUT_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/video_capture_input.cc » ('j') | webrtc/video/video_capture_input.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698