Home
last modified time | relevance | path

Searched refs:SampleCounter (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/rtc_base/numerics/
Dsample_counter.cc20 SampleCounter::SampleCounter() = default;
21 SampleCounter::~SampleCounter() = default;
23 void SampleCounter::Add(int sample) { in Add()
36 void SampleCounter::Add(const SampleCounter& other) { in Add()
50 absl::optional<int> SampleCounter::Avg(int64_t min_required_samples) const { in Avg()
57 absl::optional<int> SampleCounter::Max() const { in Max()
61 absl::optional<int64_t> SampleCounter::Sum(int64_t min_required_samples) const { in Sum()
68 int64_t SampleCounter::NumSamples() const { in NumSamples()
72 void SampleCounter::Reset() { in Reset()
90 SampleCounter::Add(sample); in Add()
[all …]
Dsample_counter.h22 class SampleCounter {
24 SampleCounter();
25 ~SampleCounter();
34 void Add(const SampleCounter& other);
42 class SampleCounterWithVariance : public SampleCounter {
Dsample_counter_unittest.cc24 SampleCounter counter; in TEST()
31 SampleCounter counter; in TEST()
42 SampleCounter counter; in TEST()
/external/webrtc/video/
Dreceive_statistics_proxy2.h122 rtc::SampleCounter vp8;
131 rtc::SampleCounter e2e_delay_counter;
132 rtc::SampleCounter interframe_delay_counter;
135 rtc::SampleCounter received_width;
136 rtc::SampleCounter received_height;
137 rtc::SampleCounter qp_counter;
163 rtc::SampleCounter qp_sample_ RTC_GUARDED_BY(main_thread_);
174 rtc::SampleCounter sync_offset_counter_ RTC_GUARDED_BY(main_thread_);
175 rtc::SampleCounter decode_time_counter_ RTC_GUARDED_BY(main_thread_);
176 rtc::SampleCounter jitter_buffer_delay_counter_ RTC_GUARDED_BY(main_thread_);
[all …]
Dreceive_statistics_proxy.h107 rtc::SampleCounter vp8;
116 rtc::SampleCounter e2e_delay_counter;
117 rtc::SampleCounter interframe_delay_counter;
120 rtc::SampleCounter received_width;
121 rtc::SampleCounter received_height;
122 rtc::SampleCounter qp_counter;
158 rtc::SampleCounter qp_sample_ RTC_GUARDED_BY(mutex_);
167 rtc::SampleCounter sync_offset_counter_ RTC_GUARDED_BY(mutex_);
168 rtc::SampleCounter decode_time_counter_ RTC_GUARDED_BY(mutex_);
169 rtc::SampleCounter jitter_buffer_delay_counter_ RTC_GUARDED_BY(mutex_);
[all …]
Dsend_statistics_proxy.h137 class SampleCounter {
139 SampleCounter() : sum(0), num_samples(0) {} in SampleCounter() function
140 ~SampleCounter() {} in ~SampleCounter()
195 SampleCounter vp8; // QP range: 0-127.
196 SampleCounter vp9; // QP range: 0-255.
197 SampleCounter h264; // QP range: 0-51.
335 SampleCounter input_width_counter_;
336 SampleCounter input_height_counter_;
337 SampleCounter sent_width_counter_;
338 SampleCounter sent_height_counter_;
[all …]
Dvideo_quality_observer2.h79 rtc::SampleCounter freezes_durations_;
80 rtc::SampleCounter pauses_durations_;
82 rtc::SampleCounter smooth_playback_durations_;
Dvideo_quality_observer.h76 rtc::SampleCounter freezes_durations_;
77 rtc::SampleCounter pauses_durations_;
79 rtc::SampleCounter smooth_playback_durations_;
Dsend_statistics_proxy.cc1406 void SendStatisticsProxy::SampleCounter::Add(int sample) { in Add()
1411 int SendStatisticsProxy::SampleCounter::Avg( in Avg()