Home
last modified time | relevance | path

Searched refs:min_required_samples (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/rtc_base/numerics/
Dsample_counter.cc50 absl::optional<int> SampleCounter::Avg(int64_t min_required_samples) const { in Avg()
51 RTC_DCHECK_GT(min_required_samples, 0); in Avg()
52 if (num_samples_ < min_required_samples) in Avg()
61 absl::optional<int64_t> SampleCounter::Sum(int64_t min_required_samples) const { in Sum()
62 RTC_DCHECK_GT(min_required_samples, 0); in Sum()
63 if (num_samples_ < min_required_samples) in Sum()
80 int64_t min_required_samples) const { in Variance()
81 RTC_DCHECK_GT(min_required_samples, 0); in Variance()
82 if (num_samples_ < min_required_samples) in Variance()
Dsample_counter.h27 absl::optional<int> Avg(int64_t min_required_samples) const;
29 absl::optional<int64_t> Sum(int64_t min_required_samples) const;
47 absl::optional<int64_t> Variance(int64_t min_required_samples) const;
/external/webrtc/video/
Dquality_threshold.cc96 int min_required_samples) const { in FractionHigh()
97 RTC_DCHECK_GT(min_required_samples, 0); in FractionHigh()
98 if (num_certain_states_ < min_required_samples) in FractionHigh()
Dsend_statistics_proxy.h142 int Avg(int64_t min_required_samples) const;
154 int Percent(int64_t min_required_samples) const;
155 int Permille(int64_t min_required_samples) const;
158 int Fraction(int64_t min_required_samples, float multiplier) const;
Dquality_threshold.h33 absl::optional<double> FractionHigh(int min_required_samples) const;
Dsend_statistics_proxy.cc1412 int64_t min_required_samples) const { in Avg()
1413 if (num_samples < min_required_samples || num_samples == 0) in Avg()
1430 int64_t min_required_samples) const { in Percent()
1431 return Fraction(min_required_samples, 100.0f); in Percent()
1435 int64_t min_required_samples) const { in Permille()
1436 return Fraction(min_required_samples, 1000.0f); in Permille()
1440 int64_t min_required_samples, in Fraction() argument
1442 if (num_samples < min_required_samples || num_samples == 0) in Fraction()