blob: f6b562e1890b0fc894ac616ed044a1a2f72c7dcd [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>
Jonas Olssona4d87372019-07-05 19:08:33 +020014
Sergey Silkin86684962018-03-28 19:32:37 +020015#include <vector>
16
Niels Möller5b69aa62020-08-14 15:32:14 +020017#include "api/video_codecs/spatial_layer.h"
Sergey Silkin86684962018-03-28 19:32:37 +020018
19namespace webrtc {
20
21std::vector<SpatialLayer> GetSvcConfig(size_t input_width,
22 size_t input_height,
Sergey Silkin1946a3f2018-08-22 11:42:16 +020023 float max_framerate_fps,
Ilya Nikolaevskiy39fb8172020-04-14 10:28:19 +020024 size_t first_active_layer,
Sergey Silkin86684962018-03-28 19:32:37 +020025 size_t num_spatial_layers,
Sergey Silkindfe8ca02018-05-14 19:31:07 +020026 size_t num_temporal_layers,
27 bool is_screen_sharing);
Sergey Silkin86684962018-03-28 19:32:37 +020028
29} // namespace webrtc
30
31#endif // MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_