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 |
11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_STATISTICS_CALCULATOR_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_STATISTICS_CALCULATOR_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_STATISTICS_CALCULATOR_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_STATISTICS_CALCULATOR_H_ |
13 | 13 |
14 #include <deque> | 14 #include <deque> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "webrtc/base/constructormagic.h" | 17 #include "webrtc/base/constructormagic.h" |
18 #include "webrtc/modules/audio_coding/neteq/interface/neteq.h" | 18 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" |
19 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 | 22 |
23 // Forward declarations. | 23 // Forward declarations. |
24 class DecisionLogic; | 24 class DecisionLogic; |
25 class DelayManager; | 25 class DelayManager; |
26 | 26 |
27 // This class handles various network statistics in NetEq. | 27 // This class handles various network statistics in NetEq. |
28 class StatisticsCalculator { | 28 class StatisticsCalculator { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 std::deque<int> waiting_times_; | 158 std::deque<int> waiting_times_; |
159 uint32_t secondary_decoded_samples_; | 159 uint32_t secondary_decoded_samples_; |
160 PeriodicUmaCount delayed_packet_outage_counter_; | 160 PeriodicUmaCount delayed_packet_outage_counter_; |
161 PeriodicUmaAverage excess_buffer_delay_; | 161 PeriodicUmaAverage excess_buffer_delay_; |
162 | 162 |
163 RTC_DISALLOW_COPY_AND_ASSIGN(StatisticsCalculator); | 163 RTC_DISALLOW_COPY_AND_ASSIGN(StatisticsCalculator); |
164 }; | 164 }; |
165 | 165 |
166 } // namespace webrtc | 166 } // namespace webrtc |
167 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_STATISTICS_CALCULATOR_H_ | 167 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_STATISTICS_CALCULATOR_H_ |
OLD | NEW |