Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 1 | /* 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 Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 13 | #include <stddef.h> |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 14 | #include <vector> |
| 15 | |
| 16 | #include "common_types.h" // NOLINT(build/include) |
| 17 | |
| 18 | namespace webrtc { |
| 19 | |
| 20 | std::vector<SpatialLayer> GetSvcConfig(size_t input_width, |
| 21 | size_t input_height, |
Sergey Silkin | 1946a3f | 2018-08-22 11:42:16 +0200 | [diff] [blame] | 22 | float max_framerate_fps, |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 23 | size_t num_spatial_layers, |
Sergey Silkin | dfe8ca0 | 2018-05-14 19:31:07 +0200 | [diff] [blame] | 24 | size_t num_temporal_layers, |
| 25 | bool is_screen_sharing); |
Sergey Silkin | 8668496 | 2018-03-28 19:32:37 +0200 | [diff] [blame] | 26 | |
| 27 | } // namespace webrtc |
| 28 | |
| 29 | #endif // MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_ |