Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/video_engine/
Dvie_encoder.cc67 std::vector<uint32_t> stream_bitrates(1, 0); in AllocateStreamBitrates() local
68 stream_bitrates[0] = total_bitrate; in AllocateStreamBitrates()
69 return stream_bitrates; in AllocateStreamBitrates()
71 std::vector<uint32_t> stream_bitrates(number_of_streams, 0); in AllocateStreamBitrates() local
73 for (size_t i = 0; i < stream_bitrates.size() && bitrate_remainder > 0; ++i) { in AllocateStreamBitrates()
75 stream_bitrates[i] = bitrate_remainder; in AllocateStreamBitrates()
77 stream_bitrates[i] = stream_configs[i].maxBitrate * 1000; in AllocateStreamBitrates()
79 bitrate_remainder -= stream_bitrates[i]; in AllocateStreamBitrates()
81 return stream_bitrates; in AllocateStreamBitrates()
350 std::vector<uint32_t> stream_bitrates = AllocateStreamBitrates( in SetEncoder() local
[all …]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl.cc987 const std::vector<uint32_t>& stream_bitrates) { in SetTargetSendBitrate() argument
993 it != child_modules_.end() && i < stream_bitrates.size(); ++it) { in SetTargetSendBitrate()
996 rtp_sender.SetTargetBitrate(stream_bitrates[i]); in SetTargetSendBitrate()
1001 if (stream_bitrates.size() > 1) in SetTargetSendBitrate()
1006 rtp_sender.SetTargetBitrate(stream_bitrates[0]); in SetTargetSendBitrate()
1010 if (stream_bitrates.size() > 1) in SetTargetSendBitrate()
1012 rtp_sender_.SetTargetBitrate(stream_bitrates[0]); in SetTargetSendBitrate()
Drtp_rtcp_impl.h314 const std::vector<uint32_t>& stream_bitrates) OVERRIDE;
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/interface/
Drtp_rtcp.h704 const std::vector<uint32_t>& stream_bitrates) = 0;
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/mocks/
Dmock_rtp_rtcp.h237 void(const std::vector<uint32_t>& stream_bitrates));