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

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: Created 4 years, 8 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 187 // Register video output information callback which will be called to deliver
200 // information 188 // information
201 // about the video stream produced by the encoder, for instance the average 189 // about the video stream produced by the encoder, for instance the average
202 // frame rate and 190 // frame rate and
203 // bit rate. 191 // bit rate.
204 // 192 //
205 // Input: 193 // Input:
206 // - outputInformation : The callback object to register. 194 // - outputInformation : The callback object to register.
207 // 195 //
208 // Return value : VCM_OK, on success. 196 // Return value : VCM_OK, on success.
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 502
515 virtual void RegisterPostEncodeImageCallback( 503 virtual void RegisterPostEncodeImageCallback(
516 EncodedImageCallback* post_encode_callback) = 0; 504 EncodedImageCallback* post_encode_callback) = 0;
517 // Releases pending decode calls, permitting faster thread shutdown. 505 // Releases pending decode calls, permitting faster thread shutdown.
518 virtual void TriggerDecoderShutdown() = 0; 506 virtual void TriggerDecoderShutdown() = 0;
519 }; 507 };
520 508
521 } // namespace webrtc 509 } // namespace webrtc
522 510
523 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ 511 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698