In av1 add structure with custom spatial scalability factor
Bug: webrtc:11042 Change-Id: I93f125fba1fa21d060de47c96435798525f6b374 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/178566 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31617}
This commit is contained in:

committed by
Commit Bot

parent
34b1a42de8
commit
1e10a61564
@ -28,6 +28,10 @@ class ScalableVideoController {
|
||||
struct StreamLayersConfig {
|
||||
int num_spatial_layers = 1;
|
||||
int num_temporal_layers = 1;
|
||||
// Spatial layers scaling. Frames with spatial_id = i expected to be encoded
|
||||
// with original_resolution * scaling_factor_num[i] / scaling_factor_den[i].
|
||||
int scaling_factor_num[DependencyDescriptor::kMaxSpatialIds] = {1, 1, 1, 1};
|
||||
int scaling_factor_den[DependencyDescriptor::kMaxSpatialIds] = {1, 1, 1, 1};
|
||||
};
|
||||
class LayerFrameConfig {
|
||||
public:
|
||||
|
Reference in New Issue
Block a user