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. | |
84 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); | 82 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); |
85 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); | 83 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); |
86 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); | 84 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); |
87 void SetVideoProtection(VCMVideoProtection videoProtection); | 85 void SetVideoProtection(VCMVideoProtection videoProtection); |
88 | 86 |
89 int32_t AddVideoFrame(const VideoFrame& videoFrame, | 87 int32_t AddVideoFrame(const VideoFrame& videoFrame, |
90 const VideoContentMetrics* _contentMetrics, | 88 const VideoContentMetrics* _contentMetrics, |
91 const CodecSpecificInfo* codecSpecificInfo); | 89 const CodecSpecificInfo* codecSpecificInfo); |
92 | 90 |
93 int32_t IntraFrameRequest(int stream_index); | 91 int32_t IntraFrameRequest(int stream_index); |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 VCMProcessTimer _receiveStatsTimer; | 214 VCMProcessTimer _receiveStatsTimer; |
217 VCMProcessTimer _retransmissionTimer; | 215 VCMProcessTimer _retransmissionTimer; |
218 VCMProcessTimer _keyRequestTimer; | 216 VCMProcessTimer _keyRequestTimer; |
219 QpParser qp_parser_; | 217 QpParser qp_parser_; |
220 ThreadUnsafeOneTimeEvent first_frame_received_; | 218 ThreadUnsafeOneTimeEvent first_frame_received_; |
221 }; | 219 }; |
222 | 220 |
223 } // namespace vcm | 221 } // namespace vcm |
224 } // namespace webrtc | 222 } // namespace webrtc |
225 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 223 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |