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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 uint8_t payloadType, | 72 uint8_t payloadType, |
73 bool internalSource); | 73 bool internalSource); |
74 | 74 |
75 int Bitrate(unsigned int* bitrate) const; | 75 int Bitrate(unsigned int* bitrate) const; |
76 int FrameRate(unsigned int* framerate) const; | 76 int FrameRate(unsigned int* framerate) const; |
77 | 77 |
78 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. | 78 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. |
79 uint8_t lossRate, | 79 uint8_t lossRate, |
80 int64_t rtt); | 80 int64_t rtt); |
81 | 81 |
| 82 // Deprecated. Use |post_encode_callback| instead. |
| 83 // TODO(perkj): Remove once |OnEncoderImplementationName| is not used. |
82 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); | 84 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); |
83 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); | 85 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); |
84 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); | 86 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); |
85 void SetVideoProtection(VCMVideoProtection videoProtection); | 87 void SetVideoProtection(VCMVideoProtection videoProtection); |
86 | 88 |
87 int32_t AddVideoFrame(const VideoFrame& videoFrame, | 89 int32_t AddVideoFrame(const VideoFrame& videoFrame, |
88 const VideoContentMetrics* _contentMetrics, | 90 const VideoContentMetrics* _contentMetrics, |
89 const CodecSpecificInfo* codecSpecificInfo); | 91 const CodecSpecificInfo* codecSpecificInfo); |
90 | 92 |
91 int32_t IntraFrameRequest(int stream_index); | 93 int32_t IntraFrameRequest(int stream_index); |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 VCMProcessTimer _receiveStatsTimer; | 216 VCMProcessTimer _receiveStatsTimer; |
215 VCMProcessTimer _retransmissionTimer; | 217 VCMProcessTimer _retransmissionTimer; |
216 VCMProcessTimer _keyRequestTimer; | 218 VCMProcessTimer _keyRequestTimer; |
217 QpParser qp_parser_; | 219 QpParser qp_parser_; |
218 ThreadUnsafeOneTimeEvent first_frame_received_; | 220 ThreadUnsafeOneTimeEvent first_frame_received_; |
219 }; | 221 }; |
220 | 222 |
221 } // namespace vcm | 223 } // namespace vcm |
222 } // namespace webrtc | 224 } // namespace webrtc |
223 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 225 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |