/* * Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include "common_video/frame_rate_estimator.h" #include "rtc_base/time_utils.h" namespace webrtc { FrameRateEstimator::FrameRateEstimator(TimeDelta averaging_window) : … { … } void FrameRateEstimator::OnFrame(Timestamp time) { … } absl::optional<double> FrameRateEstimator::GetAverageFps() const { … } absl::optional<double> FrameRateEstimator::GetAverageFps(Timestamp now) { … } void FrameRateEstimator::Reset() { … } void FrameRateEstimator::CullOld(Timestamp now) { … } } // namespace webrtc