blob: d24d295b95d609d2e9bd47a0fb7e31d51ddf0faf [file] [log] [blame]
Sergey Silkin86684962018-03-28 19:32:37 +02001/* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
2 *
3 * Use of this source code is governed by a BSD-style license
4 * that can be found in the LICENSE file in the root of the source
5 * tree. An additional intellectual property rights grant can be found
6 * in the file PATENTS. All contributing project authors may
7 * be found in the AUTHORS file in the root of the source tree.
8 */
9
10#ifndef MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_
11#define MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_
12
Yves Gerey3e707812018-11-28 16:47:49 +010013#include <stddef.h>
Sergey Silkin86684962018-03-28 19:32:37 +020014#include <vector>
15
16#include "common_types.h" // NOLINT(build/include)
17
18namespace webrtc {
19
20std::vector<SpatialLayer> GetSvcConfig(size_t input_width,
21 size_t input_height,
Sergey Silkin1946a3f2018-08-22 11:42:16 +020022 float max_framerate_fps,
Sergey Silkin86684962018-03-28 19:32:37 +020023 size_t num_spatial_layers,
Sergey Silkindfe8ca02018-05-14 19:31:07 +020024 size_t num_temporal_layers,
25 bool is_screen_sharing);
Sergey Silkin86684962018-03-28 19:32:37 +020026
27} // namespace webrtc
28
29#endif // MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_