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

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

Issue 1374673003: Move sent key frame stats to send_statistics_proxy class. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: removed functions (SentFrameCount, SendCodecStatistics) Created 5 years, 2 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 int32_t SendCodecBlocking(VideoCodec* currentSendCodec) const; 79 int32_t SendCodecBlocking(VideoCodec* currentSendCodec) const;
80 80
81 // Same as SendCodecBlocking. Try to use GetSendCodec() instead. 81 // Same as SendCodecBlocking. Try to use GetSendCodec() instead.
82 VideoCodecType SendCodecBlocking() const; 82 VideoCodecType SendCodecBlocking() const;
83 83
84 int32_t RegisterExternalEncoder(VideoEncoder* externalEncoder, 84 int32_t RegisterExternalEncoder(VideoEncoder* externalEncoder,
85 uint8_t payloadType, 85 uint8_t payloadType,
86 bool internalSource); 86 bool internalSource);
87 87
88 int32_t CodecConfigParameters(uint8_t* buffer, int32_t size) const; 88 int32_t CodecConfigParameters(uint8_t* buffer, int32_t size) const;
89 int32_t SentFrameCount(VCMFrameCount* frameCount);
90 int Bitrate(unsigned int* bitrate) const; 89 int Bitrate(unsigned int* bitrate) const;
91 int FrameRate(unsigned int* framerate) const; 90 int FrameRate(unsigned int* framerate) const;
92 91
93 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. 92 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s.
94 uint8_t lossRate, 93 uint8_t lossRate,
95 int64_t rtt); 94 int64_t rtt);
96 95
97 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport); 96 int32_t RegisterTransportCallback(VCMPacketizationCallback* transport);
98 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats); 97 int32_t RegisterSendStatisticsCallback(VCMSendStatisticsCallback* sendStats);
99 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection); 98 int32_t RegisterProtectionCallback(VCMProtectionCallback* protection);
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 235
237 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); 236 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect);
238 VCMProcessTimer _receiveStatsTimer; 237 VCMProcessTimer _receiveStatsTimer;
239 VCMProcessTimer _retransmissionTimer; 238 VCMProcessTimer _retransmissionTimer;
240 VCMProcessTimer _keyRequestTimer; 239 VCMProcessTimer _keyRequestTimer;
241 }; 240 };
242 241
243 } // namespace vcm 242 } // namespace vcm
244 } // namespace webrtc 243 } // namespace webrtc
245 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 244 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698