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

Side by Side Diff: webrtc/video/receive_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/end_to_end_tests.cc ('k') | webrtc/video/receive_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 27 matching lines...) Expand all
38 public StreamDataCountersCallback { 38 public StreamDataCountersCallback {
39 public: 39 public:
40 ReceiveStatisticsProxy(uint32_t ssrc, Clock* clock); 40 ReceiveStatisticsProxy(uint32_t ssrc, Clock* clock);
41 virtual ~ReceiveStatisticsProxy(); 41 virtual ~ReceiveStatisticsProxy();
42 42
43 VideoReceiveStream::Stats GetStats() const; 43 VideoReceiveStream::Stats GetStats() const;
44 44
45 void OnDecodedFrame(); 45 void OnDecodedFrame();
46 void OnRenderedFrame(int width, int height); 46 void OnRenderedFrame(int width, int height);
47 void OnIncomingPayloadType(int payload_type); 47 void OnIncomingPayloadType(int payload_type);
48 void OnDecoderImplementationName(const char* implementation_name);
48 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps); 49 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps);
49 void OnDecoderTiming(int decode_ms, 50 void OnDecoderTiming(int decode_ms,
50 int max_decode_ms, 51 int max_decode_ms,
51 int current_delay_ms, 52 int current_delay_ms,
52 int target_delay_ms, 53 int target_delay_ms,
53 int jitter_buffer_ms, 54 int jitter_buffer_ms,
54 int min_playout_delay_ms, 55 int min_playout_delay_ms,
55 int render_delay_ms, 56 int render_delay_ms,
56 int64_t rtt_ms); 57 int64_t rtt_ms);
57 58
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 SampleCounter render_width_counter_ GUARDED_BY(crit_); 104 SampleCounter render_width_counter_ GUARDED_BY(crit_);
104 SampleCounter render_height_counter_ GUARDED_BY(crit_); 105 SampleCounter render_height_counter_ GUARDED_BY(crit_);
105 SampleCounter decode_time_counter_ GUARDED_BY(crit_); 106 SampleCounter decode_time_counter_ GUARDED_BY(crit_);
106 SampleCounter delay_counter_ GUARDED_BY(crit_); 107 SampleCounter delay_counter_ GUARDED_BY(crit_);
107 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); 108 ReportBlockStats report_block_stats_ GUARDED_BY(crit_);
108 QpCounters qp_counters_; // Only accessed on the decoding thread. 109 QpCounters qp_counters_; // Only accessed on the decoding thread.
109 }; 110 };
110 111
111 } // namespace webrtc 112 } // namespace webrtc
112 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 113 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/receive_statistics_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698