Add support for scalability modes L3T1_KEY, L3T2, L3T2_KEY.
Bug: webrtc:13960 Change-Id: Ib5c8309271d83a0fcfdecf7a93fdd61483c7d3e2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/273105 Commit-Queue: Åsa Persson <asapersson@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Florent Castelli <orphis@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37927}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
c18a8fd8d1
commit
46f4de5722
@ -92,6 +92,13 @@ constexpr ScalableVideoController::StreamLayersConfig kConfigL3T1 = {
|
||||
{1, 1, 1},
|
||||
{4, 2, 1}};
|
||||
|
||||
constexpr ScalableVideoController::StreamLayersConfig kConfigL3T2 = {
|
||||
/*num_spatial_layers=*/3,
|
||||
/*num_temporal_layers=*/2,
|
||||
/*uses_reference_scaling=*/true,
|
||||
{1, 1, 1},
|
||||
{4, 2, 1}};
|
||||
|
||||
constexpr ScalableVideoController::StreamLayersConfig kConfigL3T3 = {
|
||||
/*num_spatial_layers=*/3,
|
||||
/*num_temporal_layers=*/3,
|
||||
@ -138,6 +145,11 @@ constexpr NamedStructureFactory kFactories[] = {
|
||||
{ScalabilityMode::kL2T3_KEY, Create<ScalabilityStructureL2T3Key>,
|
||||
kConfigL2T3},
|
||||
{ScalabilityMode::kL3T1, Create<ScalabilityStructureL3T1>, kConfigL3T1},
|
||||
{ScalabilityMode::kL3T1_KEY, Create<ScalabilityStructureL3T1Key>,
|
||||
kConfigL3T1},
|
||||
{ScalabilityMode::kL3T2, Create<ScalabilityStructureL3T2>, kConfigL3T2},
|
||||
{ScalabilityMode::kL3T2_KEY, Create<ScalabilityStructureL3T2Key>,
|
||||
kConfigL3T2},
|
||||
{ScalabilityMode::kL3T3, Create<ScalabilityStructureL3T3>, kConfigL3T3},
|
||||
{ScalabilityMode::kL3T3_KEY, Create<ScalabilityStructureL3T3Key>,
|
||||
kConfigL3T3},
|
||||
|
||||
Reference in New Issue
Block a user