svc: Remove references to bogus modes
Those never existed, were likely a copy-paste error in the spec that we somehow inherited. Bug: webrtc:11607 Change-Id: Ib4a038f061123e879f1099656273f6392f092213 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/273485 Commit-Queue: Florent Castelli <orphis@webrtc.org> Auto-Submit: Florent Castelli <orphis@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37953}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
38de6bc0b8
commit
33155d763c
@ -23,12 +23,8 @@ absl::optional<ScalabilityMode> ScalabilityModeFromString(
|
||||
return ScalabilityMode::kL1T1;
|
||||
if (mode_string == "L1T2")
|
||||
return ScalabilityMode::kL1T2;
|
||||
if (mode_string == "L1T2h")
|
||||
return ScalabilityMode::kL1T2h;
|
||||
if (mode_string == "L1T3")
|
||||
return ScalabilityMode::kL1T3;
|
||||
if (mode_string == "L1T3h")
|
||||
return ScalabilityMode::kL1T3h;
|
||||
|
||||
if (mode_string == "L2T1")
|
||||
return ScalabilityMode::kL2T1;
|
||||
@ -94,9 +90,7 @@ InterLayerPredMode ScalabilityModeToInterLayerPredMode(
|
||||
switch (scalability_mode) {
|
||||
case ScalabilityMode::kL1T1:
|
||||
case ScalabilityMode::kL1T2:
|
||||
case ScalabilityMode::kL1T2h:
|
||||
case ScalabilityMode::kL1T3:
|
||||
case ScalabilityMode::kL1T3h:
|
||||
case ScalabilityMode::kL2T1:
|
||||
case ScalabilityMode::kL2T1h:
|
||||
return InterLayerPredMode::kOn;
|
||||
@ -143,9 +137,7 @@ int ScalabilityModeToNumSpatialLayers(ScalabilityMode scalability_mode) {
|
||||
switch (scalability_mode) {
|
||||
case ScalabilityMode::kL1T1:
|
||||
case ScalabilityMode::kL1T2:
|
||||
case ScalabilityMode::kL1T2h:
|
||||
case ScalabilityMode::kL1T3:
|
||||
case ScalabilityMode::kL1T3h:
|
||||
return 1;
|
||||
case ScalabilityMode::kL2T1:
|
||||
case ScalabilityMode::kL2T1h:
|
||||
@ -185,10 +177,8 @@ int ScalabilityModeToNumTemporalLayers(ScalabilityMode scalability_mode) {
|
||||
case ScalabilityMode::kL1T1:
|
||||
return 1;
|
||||
case ScalabilityMode::kL1T2:
|
||||
case ScalabilityMode::kL1T2h:
|
||||
return 2;
|
||||
case ScalabilityMode::kL1T3:
|
||||
case ScalabilityMode::kL1T3h:
|
||||
return 3;
|
||||
case ScalabilityMode::kL2T1:
|
||||
case ScalabilityMode::kL2T1h:
|
||||
@ -233,9 +223,7 @@ absl::optional<ScalabilityModeResolutionRatio> ScalabilityModeToResolutionRatio(
|
||||
switch (scalability_mode) {
|
||||
case ScalabilityMode::kL1T1:
|
||||
case ScalabilityMode::kL1T2:
|
||||
case ScalabilityMode::kL1T2h:
|
||||
case ScalabilityMode::kL1T3:
|
||||
case ScalabilityMode::kL1T3h:
|
||||
return absl::nullopt;
|
||||
case ScalabilityMode::kL2T1:
|
||||
case ScalabilityMode::kL2T1_KEY:
|
||||
|
||||
Reference in New Issue
Block a user