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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 int FrameRate(unsigned int* framerate) const; | 91 int FrameRate(unsigned int* framerate) const; |
92 | 92 |
93 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. | 93 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. |
94 uint8_t lossRate, | 94 uint8_t lossRate, |
95 int64_t rtt); | 95 int64_t rtt); |
96 int32_t UpdateEncoderParameters(); | 96 int32_t UpdateEncoderParameters(); |
97 | 97 |
98 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); | 98 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); |
99 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); | 99 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); |
100 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); | 100 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); |
101 void SetVideoProtection(bool enable, VCMVideoProtection videoProtection); | 101 void SetVideoProtection(VCMVideoProtection videoProtection); |
102 | 102 |
103 int32_t AddVideoFrame(const VideoFrame& videoFrame, | 103 int32_t AddVideoFrame(const VideoFrame& videoFrame, |
104 const VideoContentMetrics* _contentMetrics, | 104 const VideoContentMetrics* _contentMetrics, |
105 const CodecSpecificInfo* codecSpecificInfo); | 105 const CodecSpecificInfo* codecSpecificInfo); |
106 | 106 |
107 int32_t IntraFrameRequest(int stream_index); | 107 int32_t IntraFrameRequest(int stream_index); |
108 int32_t EnableFrameDropper(bool enable); | 108 int32_t EnableFrameDropper(bool enable); |
109 | 109 |
110 void SuspendBelowMinBitrate(); | 110 void SuspendBelowMinBitrate(); |
111 bool VideoSuspended() const; | 111 bool VideoSuspended() const; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 241 |
242 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); | 242 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); |
243 VCMProcessTimer _receiveStatsTimer; | 243 VCMProcessTimer _receiveStatsTimer; |
244 VCMProcessTimer _retransmissionTimer; | 244 VCMProcessTimer _retransmissionTimer; |
245 VCMProcessTimer _keyRequestTimer; | 245 VCMProcessTimer _keyRequestTimer; |
246 }; | 246 }; |
247 | 247 |
248 } // namespace vcm | 248 } // namespace vcm |
249 } // namespace webrtc | 249 } // namespace webrtc |
250 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 250 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |