OLD | NEW |
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // are supposed to be stored to an AVI file, or when the I420 codec is used
and the | 306 // are supposed to be stored to an AVI file, or when the I420 codec is used
and the |
307 // target bit rate shouldn't affect the frame rate. | 307 // target bit rate shouldn't affect the frame rate. |
308 // | 308 // |
309 // Input: | 309 // Input: |
310 // - enable : True to enable the setting, false to disable i
t. | 310 // - enable : True to enable the setting, false to disable i
t. |
311 // | 311 // |
312 // Return value : VCM_OK, on success. | 312 // Return value : VCM_OK, on success. |
313 // < 0, on error. | 313 // < 0, on error. |
314 virtual int32_t EnableFrameDropper(bool enable) = 0; | 314 virtual int32_t EnableFrameDropper(bool enable) = 0; |
315 | 315 |
316 // Sent frame counters | |
317 virtual int32_t SentFrameCount(VCMFrameCount& frameCount) const = 0; | |
318 | 316 |
319 /* | 317 /* |
320 * Receiver | 318 * Receiver |
321 */ | 319 */ |
322 | 320 |
323 // Register possible receive codecs, can be called multiple times for differ
ent codecs. | 321 // Register possible receive codecs, can be called multiple times for differ
ent codecs. |
324 // The module will automatically switch between registered codecs depending
on the | 322 // The module will automatically switch between registered codecs depending
on the |
325 // payload type of incoming frames. The actual decoder will be created when
needed. | 323 // payload type of incoming frames. The actual decoder will be created when
needed. |
326 // | 324 // |
327 // Input: | 325 // Input: |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 EncodedImageCallback* observer) = 0; | 545 EncodedImageCallback* observer) = 0; |
548 virtual void RegisterPostEncodeImageCallback( | 546 virtual void RegisterPostEncodeImageCallback( |
549 EncodedImageCallback* post_encode_callback) = 0; | 547 EncodedImageCallback* post_encode_callback) = 0; |
550 // Releases pending decode calls, permitting faster thread shutdown. | 548 // Releases pending decode calls, permitting faster thread shutdown. |
551 virtual void TriggerDecoderShutdown() = 0; | 549 virtual void TriggerDecoderShutdown() = 0; |
552 }; | 550 }; |
553 | 551 |
554 } // namespace webrtc | 552 } // namespace webrtc |
555 | 553 |
556 #endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_H_ | 554 #endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_H_ |
OLD | NEW |