Split TemporalLayers and TemporalLayers checker, clean up header.
This CL is a step towards making the TemporalLayers landable in api/ : * It splits TemporalLayers from TemporalLayersChecker * It initially renames temporal_layer.h to vp8_temporal_layers.h and moved it into the include/ folder * It removes the dependency on VideoCodec, which was essentially only used to determine if screenshare_layers or default_temporal_layers should be used, and the number of temporal temporal layers to use. Subsequent CLs will make further cleanup before attempting a move to api Bug: webrtc:9012 Change-Id: I87ea7aac66d39284eaebd86aa9d015aba2eaaaea Reviewed-on: https://webrtc-review.googlesource.com/94156 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24920}
This commit is contained in:
@ -23,6 +23,9 @@ class SimulcastUtility {
|
||||
int num_streams);
|
||||
static bool ValidSimulcastTemporalLayers(const VideoCodec& codec,
|
||||
int num_streams);
|
||||
static int NumberOfTemporalLayers(const VideoCodec& codec, int spatial_id);
|
||||
// TODO(sprang): Remove this hack when ScreenshareLayers is gone.
|
||||
static bool IsConferenceModeScreenshare(const VideoCodec& codec);
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user