Home
last modified time | relevance | path

Searched refs:stream_bitrates (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/video/
Dvie_encoder.cc56 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 …]
Dpayload_router.cc78 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()
Dpayload_router.h60 void SetTargetSendBitrates(const std::vector<uint32_t>& stream_bitrates);
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc268 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()