// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_BASE_FRAME_RATE_ESTIMATOR_H_ #define MEDIA_BASE_FRAME_RATE_ESTIMATOR_H_ #include <optional> #include "base/moving_window.h" #include "base/time/time.h" #include "media/base/media_export.h" namespace media { // Utility class to provide a bucketed frame rate estimator. This class should // provide a stable frame rate, as measured by a sequence of frame durations, // or an indication that the fps isn't currently stable. class MEDIA_EXPORT FrameRateEstimator { … }; } // namespace media #endif // MEDIA_BASE_FRAME_RATE_ESTIMATOR_H_