Home
last modified time | relevance | path

Searched refs:forget_factor_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dhistogram.cc27 forget_factor_(0), in Histogram()
55 bucket = (static_cast<int64_t>(bucket) * forget_factor_) >> 15; in Add()
62 buckets_[value] += (32768 - forget_factor_) << 15; in Add()
63 vector_sum += (32768 - forget_factor_) << 15; // Add to vector sum. in Add()
88 if (forget_factor_ != base_forget_factor_) { in Add()
89 int old_forget_factor = forget_factor_; in Add()
92 forget_factor_ = in Add()
99 RTC_DCHECK_GE((1 << 15) - forget_factor_, in Add()
100 ((1 << 15) - old_forget_factor) * forget_factor_ >> 15); in Add()
103 forget_factor_ += (base_forget_factor_ - forget_factor_ + 3) >> 2; in Add()
[all …]
Dhistogram.h49 int forget_factor_for_testing() const { return forget_factor_; } in forget_factor_for_testing()
56 int forget_factor_; // Q15 variable