Searched refs:last_value_ (Results 1 – 7 of 7) sorted by relevance
49 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_;
46 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()
49 uint64_t last_value_ = 0; variable
96 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
58 res += fabs(f - last_value_); in CalculateDifferences()59 last_value_ = f; in CalculateDifferences()
36 float last_value_ = 0.f; variable
121 int last_value_ = 0; member in webrtc::__anon397f81ba0111::AudioCodingModuleImpl::ChangeLogger200 if (value != last_value_ || first_time_) { in MaybeLog()202 last_value_ = value; in MaybeLog()