| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 // average frame rate and bit rate. | 304 // average frame rate and bit rate. |
| 305 // | 305 // |
| 306 // Input: | 306 // Input: |
| 307 // - receiveStats : The callback object to register. | 307 // - receiveStats : The callback object to register. |
| 308 // | 308 // |
| 309 // Return value : VCM_OK, on success. | 309 // Return value : VCM_OK, on success. |
| 310 // < 0, on error. | 310 // < 0, on error. |
| 311 virtual int32_t RegisterReceiveStatisticsCallback( | 311 virtual int32_t RegisterReceiveStatisticsCallback( |
| 312 VCMReceiveStatisticsCallback* receiveStats) = 0; | 312 VCMReceiveStatisticsCallback* receiveStats) = 0; |
| 313 | 313 |
| 314 // Register a decoder timing callback which will be called to deliver | |
| 315 // information about the timing of the decoder in the receiving side of the | |
| 316 // VCM, for instance the current and maximum frame decode latency. | |
| 317 // | |
| 318 // Input: | |
| 319 // - decoderTiming : The callback object to register. | |
| 320 // | |
| 321 // Return value : VCM_OK, on success. | |
| 322 // < 0, on error. | |
| 323 virtual int32_t RegisterDecoderTimingCallback( | |
| 324 VCMDecoderTimingCallback* decoderTiming) = 0; | |
| 325 | |
| 326 // Register a frame type request callback. This callback will be called when | 314 // Register a frame type request callback. This callback will be called when |
| 327 // the | 315 // the |
| 328 // module needs to request specific frame types from the send side. | 316 // module needs to request specific frame types from the send side. |
| 329 // | 317 // |
| 330 // Input: | 318 // Input: |
| 331 // - frameTypeCallback : The callback object to be used by the | 319 // - frameTypeCallback : The callback object to be used by the |
| 332 // module when | 320 // module when |
| 333 // requesting a specific type of frame from | 321 // requesting a specific type of frame from |
| 334 // the send side. | 322 // the send side. |
| 335 // De-register with a NULL pointer. | 323 // De-register with a NULL pointer. |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 | 441 |
| 454 virtual void RegisterPostEncodeImageCallback( | 442 virtual void RegisterPostEncodeImageCallback( |
| 455 EncodedImageCallback* post_encode_callback) = 0; | 443 EncodedImageCallback* post_encode_callback) = 0; |
| 456 // Releases pending decode calls, permitting faster thread shutdown. | 444 // Releases pending decode calls, permitting faster thread shutdown. |
| 457 virtual void TriggerDecoderShutdown() = 0; | 445 virtual void TriggerDecoderShutdown() = 0; |
| 458 }; | 446 }; |
| 459 | 447 |
| 460 } // namespace webrtc | 448 } // namespace webrtc |
| 461 | 449 |
| 462 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ | 450 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ |
| OLD | NEW |