Searched refs:simulcast_layers (Results 1 – 1 of 1) sorted by relevance
122 int NormalizeSimulcastSize(int size, size_t simulcast_layers) { in NormalizeSimulcastSize() argument123 const int base2_exponent = static_cast<int>(simulcast_layers) - 1; in NormalizeSimulcastSize()194 size_t simulcast_layers = FindSimulcastMaxLayers(width, height); in GetSimulcastConfig() local195 if (simulcast_layers > max_streams) { in GetSimulcastConfig()202 simulcast_layers = max_streams; in GetSimulcastConfig()205 streams.resize(simulcast_layers); in GetSimulcastConfig()208 width = NormalizeSimulcastSize(width, simulcast_layers); in GetSimulcastConfig()209 height = NormalizeSimulcastSize(height, simulcast_layers); in GetSimulcastConfig()214 for (size_t s = simulcast_layers - 1;; --s) { in GetSimulcastConfig()221 FindSimulcastMaxBitrateBps(width, height, simulcast_layers); in GetSimulcastConfig()[all …]