/* * Copyright (c) 2021, Alliance for Open Media. All rights reserved. * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at www.aomedia.org/license/software. If the Alliance for Open * Media Patent License 1.0 was not distributed with this source code in the * PATENTS file, you can obtain it at www.aomedia.org/license/patent. */ #ifndef AOM_AV1_RATECTRL_RTC_H_ #define AOM_AV1_RATECTRL_RTC_H_ #include <cstdint> #include <memory> struct AV1_COMP; namespace aom { // These constants come from AV1 spec. static constexpr size_t kAV1MaxLayers = …; static constexpr size_t kAV1MaxTemporalLayers = …; static constexpr size_t kAV1MaxSpatialLayers = …; enum FrameType { … }; struct AV1RateControlRtcConfig { … }; struct AV1FrameParamsRTC { … }; struct AV1LoopfilterLevel { … }; struct AV1CdefInfo { … }; struct AV1SegmentationData { … }; enum class FrameDropDecision { … }; class AV1RateControlRTC { … }; } // namespace aom #endif // AOM_AV1_RATECTRL_RTC_H_