Home
last modified time | relevance | path

Searched refs:bitrate_config (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/call/
Drtp_bitrate_configurator_unittest.cc24 void UpdateConfigMatches(BitrateConstraints bitrate_config, in UpdateConfigMatches() argument
29 configurator_->UpdateWithSdpParameters(bitrate_config); in UpdateConfigMatches()
56 BitrateConstraints bitrate_config; in TEST_F() local
57 bitrate_config.min_bitrate_bps = 1; in TEST_F()
58 bitrate_config.start_bitrate_bps = 2; in TEST_F()
59 bitrate_config.max_bitrate_bps = 3; in TEST_F()
61 UpdateConfigMatches(bitrate_config, 1, 2, 3); in TEST_F()
65 BitrateConstraints bitrate_config; in TEST_F() local
66 bitrate_config.min_bitrate_bps = 10; in TEST_F()
67 bitrate_config.start_bitrate_bps = 20; in TEST_F()
[all …]
Drtp_bitrate_configurator.cc35 const BitrateConstraints& bitrate_config) in RtpBitrateConfigurator() argument
36 : bitrate_config_(bitrate_config), base_bitrate_config_(bitrate_config) { in RtpBitrateConfigurator()
37 RTC_DCHECK_GE(bitrate_config.min_bitrate_bps, 0); in RtpBitrateConfigurator()
38 RTC_DCHECK_GE(bitrate_config.start_bitrate_bps, in RtpBitrateConfigurator()
39 bitrate_config.min_bitrate_bps); in RtpBitrateConfigurator()
40 if (bitrate_config.max_bitrate_bps != -1) { in RtpBitrateConfigurator()
41 RTC_DCHECK_GE(bitrate_config.max_bitrate_bps, in RtpBitrateConfigurator()
42 bitrate_config.start_bitrate_bps); in RtpBitrateConfigurator()
54 const BitrateConstraints& bitrate_config) { in UpdateWithSdpParameters() argument
55 RTC_DCHECK_GE(bitrate_config.min_bitrate_bps, 0); in UpdateWithSdpParameters()
[all …]
Drtp_transport_controller_send.cc78 const BitrateConstraints& bitrate_config, in RtpTransportControllerSend() argument
84 bitrate_configurator_(bitrate_config), in RtpTransportControllerSend()
125 initial_config_.constraints = ConvertConstraints(bitrate_config, clock_); in RtpTransportControllerSend()
128 RTC_DCHECK(bitrate_config.start_bitrate_bps > 0); in RtpTransportControllerSend()
131 DataRate::BitsPerSec(bitrate_config.start_bitrate_bps), DataRate::Zero()); in RtpTransportControllerSend()
322 BitrateConstraints bitrate_config = bitrate_configurator_.GetConfig(); in OnNetworkRouteChanged() local
324 << bitrate_config.min_bitrate_bps in OnNetworkRouteChanged()
325 << " bps, start: " << bitrate_config.start_bitrate_bps in OnNetworkRouteChanged()
326 << " bps, max: " << bitrate_config.max_bitrate_bps in OnNetworkRouteChanged()
328 RTC_DCHECK_GT(bitrate_config.start_bitrate_bps, 0); in OnNetworkRouteChanged()
[all …]
Drampup_tests.h89 void ModifySenderBitrateConfig(BitrateConstraints* bitrate_config) override;
149 void ModifyReceiverBitrateConfig(BitrateConstraints* bitrate_config) override;
Dcall_perf_tests.cc799 BitrateConstraints* bitrate_config) override { in TEST_F() argument
800 bitrate_config->start_bitrate_bps = kInitialBitrateKbps * 1000; in TEST_F()
968 BitrateConstraints bitrate_config; in TestMinAudioVideoBitrate() local
969 bitrate_config.min_bitrate_bps = min_bwe_; in TestMinAudioVideoBitrate()
970 bitrate_config.start_bitrate_bps = start_bwe_; in TestMinAudioVideoBitrate()
971 bitrate_config.max_bitrate_bps = max_bwe_; in TestMinAudioVideoBitrate()
973 bitrate_config); in TestMinAudioVideoBitrate()
Dcall_config.h35 BitrateConstraints bitrate_config; member
Drampup_tests.cc97 BitrateConstraints* bitrate_config) { in ModifySenderBitrateConfig() argument
99 bitrate_config->start_bitrate_bps = start_bitrate_bps_; in ModifySenderBitrateConfig()
101 bitrate_config->min_bitrate_bps = 10000; in ModifySenderBitrateConfig()
474 BitrateConstraints* bitrate_config) { in ModifyReceiverBitrateConfig() argument
475 bitrate_config->min_bitrate_bps = 10000; in ModifyReceiverBitrateConfig()
Drtp_bitrate_configurator.h25 explicit RtpBitrateConfigurator(const BitrateConstraints& bitrate_config);
Drtp_video_sender_unittest.cc89 BitrateConstraints bitrate_config; in GetBitrateConfig() local
90 bitrate_config.min_bitrate_bps = 30000; in GetBitrateConfig()
91 bitrate_config.start_bitrate_bps = 300000; in GetBitrateConfig()
92 bitrate_config.max_bitrate_bps = 3000000; in GetBitrateConfig()
93 return bitrate_config; in GetBitrateConfig()
Drtp_transport_controller_send.h59 const BitrateConstraints& bitrate_config,
Dcall.cc478 config.network_controller_factory, config.bitrate_config, in Create()
/external/webrtc/video/end_to_end_tests/
Dprobing_tests.cc45 void ModifySenderBitrateConfig(BitrateConstraints* bitrate_config) override { in ModifySenderBitrateConfig() argument
46 bitrate_config->start_bitrate_bps = start_bitrate_bps_; in ModifySenderBitrateConfig()
142 BitrateConstraints bitrate_config; local
143 bitrate_config.max_bitrate_bps = 100000;
144 SendTask(RTC_FROM_HERE, task_queue_, [this, &bitrate_config]() {
146 ->SetSdpBitrateParameters(bitrate_config);
153 BitrateConstraints bitrate_config; local
154 bitrate_config.max_bitrate_bps = 2500000;
155 SendTask(RTC_FROM_HERE, task_queue_, [this, &bitrate_config]() {
157 ->SetSdpBitrateParameters(bitrate_config);
Dbandwidth_tests.cc125 void ModifySenderBitrateConfig(BitrateConstraints* bitrate_config) override { in ModifySenderBitrateConfig() argument
126 bitrate_config->max_bitrate_bps = kMaxBitrateBps; in ModifySenderBitrateConfig()
227 BitrateConstraints* bitrate_config) override { in TEST_F() argument
229 bitrate_config->start_bitrate_bps = remb_bitrate_bps_; in TEST_F()
Dstats_tests.cc251 BitrateConstraints* bitrate_config) override { in TEST_F() argument
252 bitrate_config->start_bitrate_bps = kStartBitrateBps; in TEST_F()
518 test.ModifySenderBitrateConfig(&send_config.bitrate_config); in TEST_F()
520 test.ModifyReceiverBitrateConfig(&recv_config.bitrate_config); in TEST_F()
Dfec_tests.cc462 BitrateConstraints* bitrate_config) override { in TEST_F() argument
464 bitrate_config->min_bitrate_bps = kMinBitrateBps; in TEST_F()
Dtransport_feedback_tests.cc413 BitrateConstraints* bitrate_config) override { in TEST_F() argument
414 bitrate_config->max_bitrate_bps = 300000; in TEST_F()
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dcontroller_manager.cc186 const audio_network_adaptor::config::BitrateController& bitrate_config, in CreateBitrateController() argument
190 if (bitrate_config.has_fl_increase_overhead_offset()) { in CreateBitrateController()
191 fl_increase_overhead_offset = bitrate_config.fl_increase_overhead_offset(); in CreateBitrateController()
194 if (bitrate_config.has_fl_decrease_overhead_offset()) { in CreateBitrateController()
195 fl_decrease_overhead_offset = bitrate_config.fl_decrease_overhead_offset(); in CreateBitrateController()
/external/webrtc/video/
Dvideo_send_stream_tests.cc1194 BitrateConstraints* bitrate_config) override { in TestPacketFragmentationSize() argument
1196 bitrate_config->min_bitrate_bps = kMinBitrateBps; in TestPacketFragmentationSize()
1784 BitrateConstraints bitrate_config; in TEST_F() local
1787 [this, &new_route, &bitrate_config]() { in TEST_F()
1791 bitrate_config.start_bitrate_bps = kStartBitrateBps; in TEST_F()
1793 bitrate_config); in TEST_F()
1800 RTC_FROM_HERE, task_queue_, [this, &new_route, &bitrate_config]() { in TEST_F()
1802 bitrate_config.start_bitrate_bps = -1; in TEST_F()
1803 bitrate_config.max_bitrate_bps = kNewMaxBitrateBps; in TEST_F()
1805 bitrate_config); in TEST_F()
[all …]
Dquality_scaling_tests.cc107 BitrateConstraints* bitrate_config) override { in RunTest() argument
108 bitrate_config->start_bitrate_bps = start_bps_; in RunTest()
Dvideo_quality_test.cc1240 send_call_config.bitrate_config = params.call.call_bitrate_config; in RunWithAnalyzer()
1241 recv_call_config.bitrate_config = params.call.call_bitrate_config; in RunWithAnalyzer()
1467 send_call_config.bitrate_config = params_.call.call_bitrate_config; in RunWithRenderers()
/external/webrtc/test/scenario/
Dcall_client.cc60 call_config.bitrate_config.max_bitrate_bps = in CreateCall()
62 call_config.bitrate_config.min_bitrate_bps = in CreateCall()
64 call_config.bitrate_config.start_bitrate_bps = in CreateCall()
/external/webrtc/pc/
Dpeer_connection_factory.cc376 call_config.bitrate_config.min_bitrate_bps = in CreateCall_w()
378 call_config.bitrate_config.start_bitrate_bps = in CreateCall_w()
380 call_config.bitrate_config.max_bitrate_bps = in CreateCall_w()
/external/webrtc/test/
Dcall_test.h264 virtual void ModifySenderBitrateConfig(BitrateConstraints* bitrate_config);
265 virtual void ModifyReceiverBitrateConfig(BitrateConstraints* bitrate_config);
Dcall_test.cc96 test->ModifySenderBitrateConfig(&send_config.bitrate_config); in RunBaseTest()
116 test->ModifyReceiverBitrateConfig(&recv_config.bitrate_config); in RunBaseTest()
757 void BaseTest::ModifySenderBitrateConfig(BitrateConstraints* bitrate_config) {} in ModifySenderBitrateConfig() argument
759 void BaseTest::ModifyReceiverBitrateConfig(BitrateConstraints* bitrate_config) { in ModifyReceiverBitrateConfig() argument
/external/webrtc/media/engine/
Dwebrtc_voice_engine.cc1720 webrtc::BitrateConstraints bitrate_config; in SetSendCodecs() local
1742 bitrate_config = GetBitrateConfigForCodec(voice_codec); in SetSendCodecs()
1805 bitrate_config.start_bitrate_bps = -1; in SetSendCodecs()
1807 call_->GetTransportControllerSend()->SetSdpBitrateParameters(bitrate_config); in SetSendCodecs()