Searched refs:max_it (Results 1 – 1 of 1) sorted by relevance
151 ObserverSortingMap::iterator max_it = list_max_bitrates.begin(); in NormalRateAllocation() local152 while (max_it != list_max_bitrates.end()) { in NormalRateAllocation()155 max_it->second.min_bitrate + bitrate_per_observer; in NormalRateAllocation()156 if (max_it->first < observer_allowance) { in NormalRateAllocation()159 uint32_t remainder = observer_allowance - max_it->first; in NormalRateAllocation()163 allocation[max_it->second.observer] = max_it->first; in NormalRateAllocation()165 allocation[max_it->second.observer] = observer_allowance; in NormalRateAllocation()167 list_max_bitrates.erase(max_it); in NormalRateAllocation()169 max_it = list_max_bitrates.begin(); in NormalRateAllocation()