Searched refs:stream_bitrates (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/video/ |
D | vie_encoder.cc | 56 std::vector<uint32_t> stream_bitrates(1, 0); in AllocateStreamBitrates() local 57 stream_bitrates[0] = total_bitrate; in AllocateStreamBitrates() 58 return stream_bitrates; in AllocateStreamBitrates() 60 std::vector<uint32_t> stream_bitrates(number_of_streams, 0); in AllocateStreamBitrates() local 62 for (size_t i = 0; i < stream_bitrates.size() && bitrate_remainder > 0; ++i) { in AllocateStreamBitrates() 64 stream_bitrates[i] = bitrate_remainder; in AllocateStreamBitrates() 66 stream_bitrates[i] = stream_configs[i].maxBitrate * 1000; in AllocateStreamBitrates() 68 bitrate_remainder -= stream_bitrates[i]; in AllocateStreamBitrates() 70 return stream_bitrates; in AllocateStreamBitrates() 593 std::vector<uint32_t> stream_bitrates = AllocateStreamBitrates( in OnNetworkChanged() local [all …]
|
D | payload_router.cc | 78 const std::vector<uint32_t>& stream_bitrates) { in SetTargetSendBitrates() argument 80 if (stream_bitrates.size() < rtp_modules_.size()) { in SetTargetSendBitrates() 86 rtp_module->SetTargetSendBitrate(stream_bitrates[idx++]); in SetTargetSendBitrates()
|
D | payload_router.h | 60 void SetTargetSendBitrates(const std::vector<uint32_t>& stream_bitrates);
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.cc | 268 std::vector<int> stream_bitrates = in SetRates() local 273 SetStreamState(stream_bitrates[stream_idx] > 0, stream_idx); in SetRates() 275 unsigned int target_bitrate = stream_bitrates[stream_idx]; in SetRates() 560 std::vector<int> stream_bitrates = in InitEncode() local 562 SetStreamState(stream_bitrates[stream_idx] > 0, stream_idx); in InitEncode() 563 configurations_[0].rc_target_bitrate = stream_bitrates[stream_idx]; in InitEncode() 565 stream_bitrates[stream_idx], inst->maxBitrate, inst->maxFramerate, in InitEncode() 584 SetStreamState(stream_bitrates[stream_idx] > 0, stream_idx); in InitEncode() 585 configurations_[i].rc_target_bitrate = stream_bitrates[stream_idx]; in InitEncode() 587 stream_bitrates[stream_idx], inst->maxBitrate, inst->maxFramerate, in InitEncode()
|