Lines Matching refs:allocatable_tracks
55 const std::vector<AllocatableTrack>& allocatable_tracks, in EnoughBitrateForAllObservers() argument
63 static_cast<uint32_t>(allocatable_tracks.size()); in EnoughBitrateForAllObservers()
64 for (const auto& observer_config : allocatable_tracks) { in EnoughBitrateForAllObservers()
78 const std::vector<AllocatableTrack>& allocatable_tracks, in DistributeBitrateEvenly() argument
83 RTC_DCHECK_EQ(allocation->size(), allocatable_tracks.size()); in DistributeBitrateEvenly()
86 for (const auto& observer_config : allocatable_tracks) { in DistributeBitrateEvenly()
120 const std::vector<AllocatableTrack>& allocatable_tracks, in DistributeBitrateRelatively() argument
124 RTC_DCHECK_EQ(allocation->size(), allocatable_tracks.size()); in DistributeBitrateRelatively()
125 RTC_DCHECK_EQ(observers_capacities.size(), allocatable_tracks.size()); in DistributeBitrateRelatively()
136 for (const auto& observer_config : allocatable_tracks) { in DistributeBitrateRelatively()
190 const std::vector<AllocatableTrack>& allocatable_tracks, in LowRateAllocation() argument
196 for (const auto& observer_config : allocatable_tracks) { in LowRateAllocation()
207 for (const auto& observer_config : allocatable_tracks) { in LowRateAllocation()
222 for (const auto& observer_config : allocatable_tracks) { in LowRateAllocation()
237 DistributeBitrateEvenly(allocatable_tracks, remaining_bitrate, false, 1, in LowRateAllocation()
240 RTC_DCHECK_EQ(allocation.size(), allocatable_tracks.size()); in LowRateAllocation()
256 const std::vector<AllocatableTrack>& allocatable_tracks, in NormalRateAllocation() argument
261 for (const auto& observer_config : allocatable_tracks) { in NormalRateAllocation()
273 for (const auto& observer_config : allocatable_tracks) { in NormalRateAllocation()
288 DistributeBitrateRelatively(allocatable_tracks, bitrate, in NormalRateAllocation()
297 const std::vector<AllocatableTrack>& allocatable_tracks, in MaxRateAllocation() argument
302 for (const auto& observer_config : allocatable_tracks) { in MaxRateAllocation()
307 DistributeBitrateEvenly(allocatable_tracks, bitrate, true, in MaxRateAllocation()
314 const std::vector<AllocatableTrack>& allocatable_tracks) { in ZeroRateAllocation() argument
316 for (const auto& observer_config : allocatable_tracks) in ZeroRateAllocation()
322 const std::vector<AllocatableTrack>& allocatable_tracks, in AllocateBitrates() argument
324 if (allocatable_tracks.empty()) in AllocateBitrates()
328 return ZeroRateAllocation(allocatable_tracks); in AllocateBitrates()
332 for (const auto& observer_config : allocatable_tracks) { in AllocateBitrates()
340 if (!EnoughBitrateForAllObservers(allocatable_tracks, bitrate, in AllocateBitrates()
342 return LowRateAllocation(allocatable_tracks, bitrate); in AllocateBitrates()
347 return NormalRateAllocation(allocatable_tracks, bitrate, sum_min_bitrates); in AllocateBitrates()
350 return MaxRateAllocation(allocatable_tracks, bitrate, sum_max_bitrates); in AllocateBitrates()