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

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

Issue 1900193004: Remove VCMPacketizationCallback (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed bug. Created 4 years, 7 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Input: 177 // Input:
178 // - rtt : Current round-trip time in ms. 178 // - rtt : Current round-trip time in ms.
179 // with the most amount available bandwidth in 179 // with the most amount available bandwidth in
180 // a conference 180 // a conference
181 // scenario 181 // scenario
182 // 182 //
183 // Return value : VCM_OK, on success. 183 // Return value : VCM_OK, on success.
184 // < 0, on error. 184 // < 0, on error.
185 virtual int32_t SetReceiveChannelParameters(int64_t rtt) = 0; 185 virtual int32_t SetReceiveChannelParameters(int64_t rtt) = 0;
186 186
187 // Register a transport callback which will be called to deliver the encoded
188 // data and
189 // side information.
190 //
191 // Input:
192 // - transport : The callback object to register.
193 //
194 // Return value : VCM_OK, on success.
195 // < 0, on error.
196 virtual int32_t RegisterTransportCallback(
197 VCMPacketizationCallback* transport) = 0;
198
199 // Register video output information callback which will be called to deliver
200 // information
201 // about the video stream produced by the encoder, for instance the average
202 // frame rate and
203 // bit rate.
204 //
205 // Input:
206 // - outputInformation : The callback object to register.
207 //
208 // Return value : VCM_OK, on success.
209 // < 0, on error.
210 virtual int32_t RegisterSendStatisticsCallback(
211 VCMSendStatisticsCallback* sendStats) = 0;
212
213 // Register a video protection callback which will be called to deliver 187 // Register a video protection callback which will be called to deliver
214 // the requested FEC rate and NACK status (on/off). 188 // the requested FEC rate and NACK status (on/off).
215 // 189 //
216 // Input: 190 // Input:
217 // - protection : The callback object to register. 191 // - protection : The callback object to register.
218 // 192 //
219 // Return value : VCM_OK, on success. 193 // Return value : VCM_OK, on success.
220 // < 0, on error. 194 // < 0, on error.
221 virtual int32_t RegisterProtectionCallback( 195 virtual int32_t RegisterProtectionCallback(
222 VCMProtectionCallback* protection) = 0; 196 VCMProtectionCallback* protection) = 0;
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 488
515 virtual void RegisterPostEncodeImageCallback( 489 virtual void RegisterPostEncodeImageCallback(
516 EncodedImageCallback* post_encode_callback) = 0; 490 EncodedImageCallback* post_encode_callback) = 0;
517 // Releases pending decode calls, permitting faster thread shutdown. 491 // Releases pending decode calls, permitting faster thread shutdown.
518 virtual void TriggerDecoderShutdown() = 0; 492 virtual void TriggerDecoderShutdown() = 0;
519 }; 493 };
520 494
521 } // namespace webrtc 495 } // namespace webrtc
522 496
523 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ 497 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698