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 13 #include <stddef.h> 14 15 #include <vector> 16 17 #include "common_types.h" // NOLINT(build/include) 18 19 namespace webrtc { 20 21 std::vector<SpatialLayer> GetSvcConfig(size_t input_width, 22 size_t input_height, 23 float max_framerate_fps, 24 size_t first_active_layer, 25 size_t num_spatial_layers, 26 size_t num_temporal_layers, 27 bool is_screen_sharing); 28 29 } // namespace webrtc 30 31 #endif // MODULES_VIDEO_CODING_CODECS_VP9_SVC_CONFIG_H_ 32