blob: e5809ed11ae1f6478f71d954d3e02a377b5d0c35 [file] [log] [blame]
Niels Möller79d566b2022-04-29 11:03:13 +02001/*
2 * Copyright (c) 2022 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 */
10
11#ifndef API_VIDEO_CODECS_SCALABILITY_MODE_H_
12#define API_VIDEO_CODECS_SCALABILITY_MODE_H_
13
14namespace webrtc {
15
16// Supported scalability modes. Most applications should use the
17// PeerConnection-level apis where scalability mode is represented as a string.
18// This list of currently recognized modes is intended for the api boundary
19// between webrtc and injected encoders. Any application usage outside of
20// injected encoders is strongly discouraged.
21enum class ScalabilityMode {
22 kL1T1,
23 kL1T2,
24 kL1T3,
25 kL2T1,
26 kL2T1h,
27 kL2T1_KEY,
28 kL2T2,
29 kL2T2_KEY,
30 kL2T2_KEY_SHIFT,
31 kL2T3_KEY,
32 kL3T1,
33 kL3T3,
34 kL3T3_KEY,
35 kS2T1,
36 kS3T3,
37};
38
39} // namespace webrtc
40#endif // API_VIDEO_CODECS_SCALABILITY_MODE_H_