Home
last modified time | relevance | path

Searched refs:last_value_ (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/include/
Dmodule_common_types_public.h49 if (!last_value_) in UnwrapWithoutUpdate()
55 U cropped_last = static_cast<U>(*last_value_); in UnwrapWithoutUpdate()
60 } else if (delta > 0 && (*last_value_ + delta - kMaxPlusOne) >= 0) { in UnwrapWithoutUpdate()
66 return *last_value_ + delta; in UnwrapWithoutUpdate()
70 void UpdateLast(int64_t last_value) { last_value_ = last_value; } in UpdateLast()
80 absl::optional<int64_t> last_value_;
/external/webrtc/modules/audio_coding/neteq/
Dexpand_uma_logger.cc46 last_value_ = samples; in UpdateSampleCounter()
58 RTC_DCHECK_GE(last_value_, *last_logged_value_); in UpdateSampleCounter()
59 const uint64_t diff = last_value_ - *last_logged_value_; in UpdateSampleCounter()
60 last_logged_value_ = absl::optional<uint64_t>(last_value_); in UpdateSampleCounter()
Dexpand_uma_logger.h49 uint64_t last_value_ = 0; variable
/external/webrtc/rtc_base/numerics/
Dsequence_number_util.h96 if (!last_value_) { in Unwrap()
99 last_unwrapped_ += ForwardDiff<T, M>(*last_value_, value); in Unwrap()
101 if (!AheadOrAt<T, M>(value, *last_value_)) { in Unwrap()
108 last_value_ = value; in Unwrap()
114 absl::optional<T> last_value_; variable
/external/webrtc/modules/audio_mixer/
Dgain_change_calculator.cc58 res += fabs(f - last_value_); in CalculateDifferences()
59 last_value_ = f; in CalculateDifferences()
Dgain_change_calculator.h36 float last_value_ = 0.f; variable
/external/webrtc/modules/audio_coding/acm2/
Daudio_coding_module.cc121 int last_value_ = 0; member in webrtc::__anon397f81ba0111::AudioCodingModuleImpl::ChangeLogger
200 if (value != last_value_ || first_time_) { in MaybeLog()
202 last_value_ = value; in MaybeLog()