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

Side by Side Diff: webrtc/video/send_statistics_proxy.h

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix rebase Created 5 years 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
« no previous file with comments | « webrtc/video/receive_statistics_proxy.cc ('k') | webrtc/video/send_statistics_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const RTPVideoHeader* rtp_video_header); 51 const RTPVideoHeader* rtp_video_header);
52 // Used to update incoming frame rate. 52 // Used to update incoming frame rate.
53 void OnIncomingFrame(int width, int height); 53 void OnIncomingFrame(int width, int height);
54 54
55 // Used to update encode time of frames. 55 // Used to update encode time of frames.
56 void OnEncodedFrame(int encode_time_ms); 56 void OnEncodedFrame(int encode_time_ms);
57 57
58 // From VideoEncoderRateObserver. 58 // From VideoEncoderRateObserver.
59 void OnSetRates(uint32_t bitrate_bps, int framerate) override; 59 void OnSetRates(uint32_t bitrate_bps, int framerate) override;
60 60
61 void OnEncoderImplementationName(const char* implementation_name);
61 void OnOutgoingRate(uint32_t framerate, uint32_t bitrate); 62 void OnOutgoingRate(uint32_t framerate, uint32_t bitrate);
62 void OnSuspendChange(bool is_suspended); 63 void OnSuspendChange(bool is_suspended);
63 void OnInactiveSsrc(uint32_t ssrc); 64 void OnInactiveSsrc(uint32_t ssrc);
64 65
65 // Used to indicate change in content type, which may require a change in 66 // Used to indicate change in content type, which may require a change in
66 // how stats are collected. 67 // how stats are collected.
67 void SetContentType(VideoEncoderConfig::ContentType content_type); 68 void SetContentType(VideoEncoderConfig::ContentType content_type);
68 69
69 protected: 70 protected:
70 // From CpuOveruseMetricsObserver. 71 // From CpuOveruseMetricsObserver.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 SampleCounter max_delay_counter_; 164 SampleCounter max_delay_counter_;
164 rtc::RateTracker input_frame_rate_tracker_; 165 rtc::RateTracker input_frame_rate_tracker_;
165 rtc::RateTracker sent_frame_rate_tracker_; 166 rtc::RateTracker sent_frame_rate_tracker_;
166 }; 167 };
167 168
168 rtc::scoped_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); 169 rtc::scoped_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_);
169 }; 170 };
170 171
171 } // namespace webrtc 172 } // namespace webrtc
172 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 173 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/video/receive_statistics_proxy.cc ('k') | webrtc/video/send_statistics_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698