blob: 9a14221fd29d3c3ab3fc655457dd77cef2e4672b [file] [log] [blame]
Danil Chapovalova13e7a12020-07-14 12:34:36 +02001/*
2 * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
Danil Chapovalovda7fe392020-10-15 15:57:17 +020010#ifndef MODULES_VIDEO_CODING_SVC_CREATE_SCALABILITY_STRUCTURE_H_
11#define MODULES_VIDEO_CODING_SVC_CREATE_SCALABILITY_STRUCTURE_H_
Danil Chapovalova13e7a12020-07-14 12:34:36 +020012
13#include <memory>
14#include <vector>
15
16#include "absl/strings/string_view.h"
Danil Chapovalovda7fe392020-10-15 15:57:17 +020017#include "modules/video_coding/svc/scalable_video_controller.h"
Danil Chapovalova13e7a12020-07-14 12:34:36 +020018
19namespace webrtc {
20
21// Creates a structure by name according to
22// https://w3c.github.io/webrtc-svc/#scalabilitymodes*
23// Returns nullptr for unknown name.
24std::unique_ptr<ScalableVideoController> CreateScalabilityStructure(
25 absl::string_view name);
26
27} // namespace webrtc
28
Danil Chapovalovda7fe392020-10-15 15:57:17 +020029#endif // MODULES_VIDEO_CODING_SVC_CREATE_SCALABILITY_STRUCTURE_H_