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

Side by Side Diff: webrtc/modules/video_coding/include/video_coding_defines.h

Issue 2946413002: Report timing frames info in GetStats. (Closed)
Patch Set: rebase Created 3 years, 5 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_coding/generic_decoder.cc ('k') | webrtc/modules/video_coding/timing.h » ('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
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0; 102 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0;
103 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0; 103 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0;
104 virtual void OnFrameBufferTimingsUpdated(int decode_ms, 104 virtual void OnFrameBufferTimingsUpdated(int decode_ms,
105 int max_decode_ms, 105 int max_decode_ms,
106 int current_delay_ms, 106 int current_delay_ms,
107 int target_delay_ms, 107 int target_delay_ms,
108 int jitter_buffer_ms, 108 int jitter_buffer_ms,
109 int min_playout_delay_ms, 109 int min_playout_delay_ms,
110 int render_delay_ms) = 0; 110 int render_delay_ms) = 0;
111 111
112 virtual void OnTimingFrameInfoUpdated(const TimingFrameInfo& info) = 0;
113
112 protected: 114 protected:
113 virtual ~VCMReceiveStatisticsCallback() {} 115 virtual ~VCMReceiveStatisticsCallback() {}
114 }; 116 };
115 117
116 // Callback class used for telling the user about how to configure the FEC, 118 // Callback class used for telling the user about how to configure the FEC,
117 // and the rates sent the last second is returned to the VCM. 119 // and the rates sent the last second is returned to the VCM.
118 class VCMProtectionCallback { 120 class VCMProtectionCallback {
119 public: 121 public:
120 virtual int ProtectionRequest(const FecProtectionParams* delta_params, 122 virtual int ProtectionRequest(const FecProtectionParams* delta_params,
121 const FecProtectionParams* key_params, 123 const FecProtectionParams* key_params,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 public: 166 public:
165 virtual void RequestKeyFrame() = 0; 167 virtual void RequestKeyFrame() = 0;
166 168
167 protected: 169 protected:
168 virtual ~KeyFrameRequestSender() {} 170 virtual ~KeyFrameRequestSender() {}
169 }; 171 };
170 172
171 } // namespace webrtc 173 } // namespace webrtc
172 174
173 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ 175 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/generic_decoder.cc ('k') | webrtc/modules/video_coding/timing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698