Searched refs:bitrate_remainder (Results 1 – 1 of 1) sorted by relevance
72 uint32_t bitrate_remainder = total_bitrate; in AllocateStreamBitrates() local73 for (size_t i = 0; i < stream_bitrates.size() && bitrate_remainder > 0; ++i) { in AllocateStreamBitrates()74 if (stream_configs[i].maxBitrate * 1000 > bitrate_remainder) { in AllocateStreamBitrates()75 stream_bitrates[i] = bitrate_remainder; in AllocateStreamBitrates()79 bitrate_remainder -= stream_bitrates[i]; in AllocateStreamBitrates()