Searched refs:bitrate_remainder (Results 1 – 1 of 1) sorted by relevance
61 uint32_t bitrate_remainder = total_bitrate; in AllocateStreamBitrates() local62 for (size_t i = 0; i < stream_bitrates.size() && bitrate_remainder > 0; ++i) { in AllocateStreamBitrates()63 if (stream_configs[i].maxBitrate * 1000 > bitrate_remainder) { in AllocateStreamBitrates()64 stream_bitrates[i] = bitrate_remainder; in AllocateStreamBitrates()68 bitrate_remainder -= stream_bitrates[i]; in AllocateStreamBitrates()