Danil Chapovalov | a13e7a1 | 2020-07-14 12:34:36 +0200 | [diff] [blame] | 1 | /* |
| 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 Chapovalov | da7fe39 | 2020-10-15 15:57:17 +0200 | [diff] [blame^] | 10 | #ifndef MODULES_VIDEO_CODING_SVC_CREATE_SCALABILITY_STRUCTURE_H_ |
| 11 | #define MODULES_VIDEO_CODING_SVC_CREATE_SCALABILITY_STRUCTURE_H_ |
Danil Chapovalov | a13e7a1 | 2020-07-14 12:34:36 +0200 | [diff] [blame] | 12 | |
| 13 | #include <memory> |
| 14 | #include <vector> |
| 15 | |
| 16 | #include "absl/strings/string_view.h" |
Danil Chapovalov | da7fe39 | 2020-10-15 15:57:17 +0200 | [diff] [blame^] | 17 | #include "modules/video_coding/svc/scalable_video_controller.h" |
Danil Chapovalov | a13e7a1 | 2020-07-14 12:34:36 +0200 | [diff] [blame] | 18 | |
| 19 | namespace webrtc { |
| 20 | |
| 21 | // Creates a structure by name according to |
| 22 | // https://w3c.github.io/webrtc-svc/#scalabilitymodes* |
| 23 | // Returns nullptr for unknown name. |
| 24 | std::unique_ptr<ScalableVideoController> CreateScalabilityStructure( |
| 25 | absl::string_view name); |
| 26 | |
| 27 | } // namespace webrtc |
| 28 | |
Danil Chapovalov | da7fe39 | 2020-10-15 15:57:17 +0200 | [diff] [blame^] | 29 | #endif // MODULES_VIDEO_CODING_SVC_CREATE_SCALABILITY_STRUCTURE_H_ |