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

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

Issue 2652043005: Reland of Make the new jitter buffer the default jitter buffer. (Closed)
Patch Set: Rebase 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 protected: 84 protected:
85 virtual ~VCMSendStatisticsCallback() {} 85 virtual ~VCMSendStatisticsCallback() {}
86 }; 86 };
87 87
88 // Callback class used for informing the user of the incoming bit rate and frame 88 // Callback class used for informing the user of the incoming bit rate and frame
89 // rate. 89 // rate.
90 class VCMReceiveStatisticsCallback { 90 class VCMReceiveStatisticsCallback {
91 public: 91 public:
92 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0; 92 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0;
93 virtual void OnCompleteFrame(bool is_keyframe, size_t size_bytes) = 0;
93 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0; 94 virtual void OnDiscardedPacketsUpdated(int discarded_packets) = 0;
94 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0; 95 virtual void OnFrameCountsUpdated(const FrameCounts& frame_counts) = 0;
96 virtual void OnFrameBufferTimingsUpdated(int decode_ms,
97 int max_decode_ms,
98 int current_delay_ms,
99 int target_delay_ms,
100 int jitter_buffer_ms,
101 int min_playout_delay_ms,
102 int render_delay_ms) = 0;
95 103
96 protected: 104 protected:
97 virtual ~VCMReceiveStatisticsCallback() {} 105 virtual ~VCMReceiveStatisticsCallback() {}
98 }; 106 };
99 107
100 // Callback class used for informing the user of decode timing info. 108 // Callback class used for informing the user of decode timing info.
101 class VCMDecoderTimingCallback { 109 class VCMDecoderTimingCallback {
102 public: 110 public:
103 virtual void OnDecoderTiming(int decode_ms, 111 virtual void OnDecoderTiming(int decode_ms,
104 int max_decode_ms, 112 int max_decode_ms,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 public: 174 public:
167 virtual void RequestKeyFrame() = 0; 175 virtual void RequestKeyFrame() = 0;
168 176
169 protected: 177 protected:
170 virtual ~KeyFrameRequestSender() {} 178 virtual ~KeyFrameRequestSender() {}
171 }; 179 };
172 180
173 } // namespace webrtc 181 } // namespace webrtc
174 182
175 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ 183 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/frame_buffer2_unittest.cc ('k') | webrtc/modules/video_coding/timing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698