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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 uint8_t lossRate, | 81 uint8_t lossRate, |
82 int64_t rtt); | 82 int64_t rtt); |
83 | 83 |
84 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); | 84 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); |
85 void SetVideoProtection(VCMVideoProtection videoProtection); | 85 void SetVideoProtection(VCMVideoProtection videoProtection); |
86 | 86 |
87 int32_t AddVideoFrame(const VideoFrame& videoFrame, | 87 int32_t AddVideoFrame(const VideoFrame& videoFrame, |
88 const VideoContentMetrics* _contentMetrics, | 88 const VideoContentMetrics* _contentMetrics, |
89 const CodecSpecificInfo* codecSpecificInfo); | 89 const CodecSpecificInfo* codecSpecificInfo); |
90 | 90 |
91 int32_t IntraFrameRequest(int stream_index); | 91 int32_t IntraFrameRequest(size_t stream_index); |
92 int32_t EnableFrameDropper(bool enable); | 92 int32_t EnableFrameDropper(bool enable); |
93 | 93 |
94 void SuspendBelowMinBitrate(); | 94 void SuspendBelowMinBitrate(); |
95 bool VideoSuspended() const; | 95 bool VideoSuspended() const; |
96 | 96 |
97 int64_t TimeUntilNextProcess() override; | 97 int64_t TimeUntilNextProcess() override; |
98 void Process() override; | 98 void Process() override; |
99 | 99 |
100 private: | 100 private: |
101 void SetEncoderParameters(EncoderParameters params) | 101 void SetEncoderParameters(EncoderParameters params) |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 VCMProcessTimer _receiveStatsTimer; | 211 VCMProcessTimer _receiveStatsTimer; |
212 VCMProcessTimer _retransmissionTimer; | 212 VCMProcessTimer _retransmissionTimer; |
213 VCMProcessTimer _keyRequestTimer; | 213 VCMProcessTimer _keyRequestTimer; |
214 QpParser qp_parser_; | 214 QpParser qp_parser_; |
215 ThreadUnsafeOneTimeEvent first_frame_received_; | 215 ThreadUnsafeOneTimeEvent first_frame_received_; |
216 }; | 216 }; |
217 | 217 |
218 } // namespace vcm | 218 } // namespace vcm |
219 } // namespace webrtc | 219 } // namespace webrtc |
220 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 220 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |