Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 38 public RtcpStatisticsCallback, | 38 public RtcpStatisticsCallback, |
| 39 public RtcpPacketTypeCounterObserver, | 39 public RtcpPacketTypeCounterObserver, |
| 40 public StreamDataCountersCallback { | 40 public StreamDataCountersCallback { |
| 41 public: | 41 public: |
| 42 ReceiveStatisticsProxy(const VideoReceiveStream::Config* config, | 42 ReceiveStatisticsProxy(const VideoReceiveStream::Config* config, |
| 43 Clock* clock); | 43 Clock* clock); |
| 44 virtual ~ReceiveStatisticsProxy(); | 44 virtual ~ReceiveStatisticsProxy(); |
| 45 | 45 |
| 46 VideoReceiveStream::Stats GetStats() const; | 46 VideoReceiveStream::Stats GetStats() const; |
| 47 | 47 |
| 48 void OnDecodedFrame(); | 48 void OnDecodedFrame(int qp); |
|
hbos
2017/01/25 11:31:12
rtc::Optional<uint64_t>
| |
| 49 void OnSyncOffsetUpdated(int64_t sync_offset_ms, double estimated_freq_khz); | 49 void OnSyncOffsetUpdated(int64_t sync_offset_ms, double estimated_freq_khz); |
| 50 void OnRenderedFrame(const VideoFrame& frame); | 50 void OnRenderedFrame(const VideoFrame& frame); |
| 51 void OnIncomingPayloadType(int payload_type); | 51 void OnIncomingPayloadType(int payload_type); |
| 52 void OnDecoderImplementationName(const char* implementation_name); | 52 void OnDecoderImplementationName(const char* implementation_name); |
| 53 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps); | 53 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps); |
| 54 void OnDecoderTiming(int decode_ms, | 54 void OnDecoderTiming(int decode_ms, |
| 55 int max_decode_ms, | 55 int max_decode_ms, |
| 56 int current_delay_ms, | 56 int current_delay_ms, |
| 57 int target_delay_ms, | 57 int target_delay_ms, |
| 58 int jitter_buffer_ms, | 58 int jitter_buffer_ms, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 SampleCounter e2e_delay_counter_ GUARDED_BY(crit_); | 135 SampleCounter e2e_delay_counter_ GUARDED_BY(crit_); |
| 136 MaxCounter freq_offset_counter_ GUARDED_BY(crit_); | 136 MaxCounter freq_offset_counter_ GUARDED_BY(crit_); |
| 137 int64_t first_report_block_time_ms_ GUARDED_BY(crit_); | 137 int64_t first_report_block_time_ms_ GUARDED_BY(crit_); |
| 138 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); | 138 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); |
| 139 QpCounters qp_counters_; // Only accessed on the decoding thread. | 139 QpCounters qp_counters_; // Only accessed on the decoding thread. |
| 140 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_); | 140 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_); |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } // namespace webrtc | 143 } // namespace webrtc |
| 144 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 144 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
| OLD | NEW |