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

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

Issue 2757843002: Delete unsupported method VideoCodingModule::RegisterDecoderTimingCallback. (Closed)
Patch Set: Created 3 years, 9 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 int current_delay_ms, 97 int current_delay_ms,
98 int target_delay_ms, 98 int target_delay_ms,
99 int jitter_buffer_ms, 99 int jitter_buffer_ms,
100 int min_playout_delay_ms, 100 int min_playout_delay_ms,
101 int render_delay_ms) = 0; 101 int render_delay_ms) = 0;
102 102
103 protected: 103 protected:
104 virtual ~VCMReceiveStatisticsCallback() {} 104 virtual ~VCMReceiveStatisticsCallback() {}
105 }; 105 };
106 106
107 // Callback class used for informing the user of decode timing info.
108 class VCMDecoderTimingCallback {
109 public:
110 virtual void OnDecoderTiming(int decode_ms,
111 int max_decode_ms,
112 int current_delay_ms,
113 int target_delay_ms,
114 int jitter_buffer_ms,
115 int min_playout_delay_ms,
116 int render_delay_ms) = 0;
117
118 protected:
119 virtual ~VCMDecoderTimingCallback() {}
120 };
121
122 // Callback class used for telling the user about how to configure the FEC, 107 // Callback class used for telling the user about how to configure the FEC,
123 // and the rates sent the last second is returned to the VCM. 108 // and the rates sent the last second is returned to the VCM.
124 class VCMProtectionCallback { 109 class VCMProtectionCallback {
125 public: 110 public:
126 virtual int ProtectionRequest(const FecProtectionParams* delta_params, 111 virtual int ProtectionRequest(const FecProtectionParams* delta_params,
127 const FecProtectionParams* key_params, 112 const FecProtectionParams* key_params,
128 uint32_t* sent_video_rate_bps, 113 uint32_t* sent_video_rate_bps,
129 uint32_t* sent_nack_rate_bps, 114 uint32_t* sent_nack_rate_bps,
130 uint32_t* sent_fec_rate_bps) = 0; 115 uint32_t* sent_fec_rate_bps) = 0;
131 116
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 public: 155 public:
171 virtual void RequestKeyFrame() = 0; 156 virtual void RequestKeyFrame() = 0;
172 157
173 protected: 158 protected:
174 virtual ~KeyFrameRequestSender() {} 159 virtual ~KeyFrameRequestSender() {}
175 }; 160 };
176 161
177 } // namespace webrtc 162 } // namespace webrtc
178 163
179 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ 164 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/include/video_coding.h ('k') | webrtc/modules/video_coding/video_coding_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698