Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: webrtc/modules/video_coding/main/source/video_coding_impl.h

Issue 1226143013: Merge methods for configuring NACK/FEC/hybrid. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698