Home
last modified time | relevance | path

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

12

/external/webrtc/video/
Dencoder_bitrate_adjuster.cc28 DataRate target_rate = DataRate::Zero(); member
37 return (link_utilization_factor - max_media_utilization) * target_rate; in WantedOvershoot()
111 layer_info.target_rate = in AdjustRateAllocation()
119 layer_info.target_rate == DataRate::Zero()) { in AdjustRateAllocation()
138 } else if (layer_info.target_rate > DataRate::Zero()) { in AdjustRateAllocation()
159 layer_info.target_rate.bps(); in AdjustRateAllocation()
210 utilization_factor *= layer_info.target_rate.bps<double>() / in AdjustRateAllocation()
212 layer_info.target_rate.bps<double>()); in AdjustRateAllocation()
216 layer_info.target_rate > DataRate::Zero() && in AdjustRateAllocation()
217 DataRate::BitsPerSec(min_bitrates_bps_[si]) < layer_info.target_rate) { in AdjustRateAllocation()
[all …]
/external/webrtc/modules/congestion_controller/goog_cc/
Dsend_side_bandwidth_estimation_unittest.cc61 EXPECT_EQ(kRembBps, bwe.target_rate().bps()); in TestProbing()
73 EXPECT_EQ(kRembBps, bwe.target_rate().bps()); in TestProbing()
104 EXPECT_EQ(kInitialBitrateBps, bwe.target_rate().bps()); in TEST()
116 EXPECT_LT(bwe.target_rate().bps(), kInitialBitrateBps); in TEST()
120 EXPECT_GT(bwe.target_rate().bps(), kMinBitrateBps); in TEST()
127 int last_bitrate_bps = bwe.target_rate().bps(); in TEST()
133 EXPECT_EQ(last_bitrate_bps, bwe.target_rate().bps()); in TEST()
158 EXPECT_GE(bwe.target_rate().bps(), kInitialBitrateBps); in TEST()
159 EXPECT_LE(bwe.target_rate().bps(), kDelayBasedBitrateBps); in TEST()
163 EXPECT_EQ(bwe.target_rate().bps(), kForcedHighBitrate); in TEST()
Dgoog_cc_network_control_unittest.cc100 EXPECT_NEAR(client->target_rate().kbps(), 450, 100); in UpdatesTargetRateBasedOnLinkCapacity()
110 EXPECT_NEAR(client->target_rate().kbps(), 750, 150); in UpdatesTargetRateBasedOnLinkCapacity()
122 EXPECT_NEAR(client->target_rate().kbps(), 90, 25); in UpdatesTargetRateBasedOnLinkCapacity()
136 EXPECT_EQ(update.target_rate->target_rate, kInitialBitrate); in SetUp()
209 if (update.target_rate) in OnUpdate()
210 target_bitrate_ = update.target_rate->target_rate; in OnUpdate()
248 EXPECT_EQ(update.target_rate->target_rate, kInitialBitrate * 2); in TEST_F()
256 EXPECT_EQ(update.target_rate->target_rate, kInitialBitrate); in TEST_F()
292 EXPECT_LT(client->target_rate().kbps(), 40); in TEST_F()
326 EXPECT_GT(client->target_rate().kbps(), 300); in TEST_F()
[all …]
Dgoog_cc_network_control.cc149 estimated_bitrate = bandwidth_estimation_->target_rate(); in OnNetworkRouteChange()
596 update.target_rate = TargetTransferRate(); in GetNetworkState()
597 update.target_rate->network_estimate.at_time = at_time; in GetNetworkState()
598 update.target_rate->network_estimate.loss_rate_ratio = in GetNetworkState()
600 update.target_rate->network_estimate.round_trip_time = in GetNetworkState()
602 update.target_rate->network_estimate.bwe_period = in GetNetworkState()
605 update.target_rate->at_time = at_time; in GetNetworkState()
606 update.target_rate->target_rate = last_pushback_target_rate_; in GetNetworkState()
607 update.target_rate->stable_target_rate = in GetNetworkState()
619 DataRate loss_based_target_rate = bandwidth_estimation_->target_rate(); in MaybeTriggerOnNetworkChanged()
[all …]
Ddelay_based_bwe.cc329 DataRate* target_rate) { in UpdateEstimate() argument
331 *target_rate = rate_control_.Update(&input, at_time); in UpdateEstimate()
Dsend_side_bandwidth_estimation.h81 DataRate target_rate() const;
/external/webrtc/rtc_base/experiments/
Dfield_trial_units_unittest.cc21 FieldTrialParameter<DataRate> target_rate = member
29 ParseFieldTrial({&target_rate, &max_buffer, &period}, field_trial); in DummyExperiment()
36 EXPECT_EQ(exp.target_rate.Get(), DataRate::KilobitsPerSec(100)); in TEST()
42 EXPECT_EQ(exp.target_rate.Get(), DataRate::KilobitsPerSec(300)); in TEST()
48 EXPECT_EQ(exp.target_rate.Get(), DataRate::KilobitsPerSec(300)); in TEST()
54 EXPECT_EQ(exp.target_rate.Get(), DataRate::Infinity()); in TEST()
59 EXPECT_EQ(exp.target_rate.Get(), DataRate::BitsPerSec(300)); in TEST()
/external/webrtc/modules/congestion_controller/rtp/
Dcontrol_handler.cc60 DataRate log_target_rate = new_outgoing.target_rate; in GetUpdate()
69 new_outgoing.target_rate = DataRate::Zero(); in GetUpdate()
71 last_reported_->target_rate != new_outgoing.target_rate || in GetUpdate()
72 (!new_outgoing.target_rate.IsZero() && in GetUpdate()
/external/webrtc/modules/congestion_controller/pcc/
Dpcc_network_controller_unittest.cc40 return Field(&TargetTransferRate::target_rate, in TargetRateCloseTo()
73 EXPECT_THAT(*update.target_rate, TargetRateCloseTo(kInitialBitrate)); in TEST()
101 EXPECT_NEAR(client->target_rate().kbps(), 450, 100); in TEST()
107 EXPECT_NEAR(client->target_rate().kbps(), 750, 150); in TEST()
115 EXPECT_NEAR(client->target_rate().kbps(), 170, 50); in TEST()
Dpcc_network_controller.cc112 target_rate_msg.target_rate = sending_rate; in CreateRateUpdate()
113 update.target_rate = target_rate_msg; in CreateRateUpdate()
/external/webrtc/test/scenario/
Dcall_client.cc145 if (update.target_rate) in Update()
146 update_state_.target_rate = update.target_rate; in Update()
259 DataRate CallClient::target_rate() const { in target_rate() function in webrtc::test::CallClient
260 return network_controller_factory_.GetUpdate().target_rate->target_rate; in target_rate()
265 .target_rate->stable_target_rate; in stable_target_rate()
Dstats_collection_unittest.cc67 EXPECT_NEAR(stats.call.stats().target_rate.Mean().kbps(), 700, 300); in TEST()
87 EXPECT_NEAR(stats.call.stats().target_rate.Mean().kbps(), 75, 50); in TEST()
Dperformance_stats.h81 SampleStats<DataRate> target_rate; member
Dcall_client.h109 DataRate target_rate() const;
Dstats_collection.cc138 stats_.target_rate.AddSampleBps(sample.send_bandwidth_bps); in AddStats()
/external/webrtc/modules/pacing/
Dpacing_controller.cc457 DataRate target_rate = pacing_bitrate_; in ProcessPackets() local
469 if (min_rate_needed > target_rate) { in ProcessPackets()
470 target_rate = min_rate_needed; in ProcessPackets()
472 << target_rate.kbps(); in ProcessPackets()
481 media_budget_.set_target_rate_kbps(target_rate.kbps()); in ProcessPackets()
484 media_rate_ = target_rate; in ProcessPackets()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_complexity.c128 const int target_rate = in vp9_caq_select_segment() local
146 if ((projected_rate < target_rate * aq_c_transitions[aq_strength][i]) && in vp9_caq_select_segment()
/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator.cc343 const DataRate target_rate = in GetAllocationScreenSharing() local
351 top_layer_rate = std::min(target_rate, total_bitrate - allocated_rate); in GetAllocationScreenSharing()
367 size_t SvcRateAllocator::FindNumEnabledLayers(DataRate target_rate) const { in FindNumEnabledLayers()
375 if (num_enabled_layers == 0 || start_rate <= target_rate) { in FindNumEnabledLayers()
Dsvc_rate_allocator.h51 size_t FindNumEnabledLayers(DataRate target_rate) const;
/external/libaom/libaom/av1/encoder/
Daq_complexity.c152 const int target_rate = (int)(num / denom); in av1_caq_select_segment() local
171 if ((projected_rate < target_rate * aq_c_transitions[aq_strength][i]) && in av1_caq_select_segment()
/external/webrtc/modules/congestion_controller/goog_cc/test/
Dgoog_cc_printer.cc95 Log("target", [=] { return target_.target_rate; }), in CreateLoggers()
151 target_ = state_update.target_rate.value(); in PrintState()
/external/webrtc/api/transport/
Dnetwork_types.h223 DataRate target_rate = DataRate::Zero();
238 absl::optional<TargetTransferRate> target_rate; member
/external/webrtc/call/
Drtp_transport_controller_send.cc183 retransmission_rate_limiter_.SetMaxRate(update->target_rate.bps()); in UpdateControlState()
652 if (update.target_rate) { in PostUpdates()
653 control_handler_->SetTargetRate(*update.target_rate); in PostUpdates()
Dbitrate_allocator_unittest.cc95 msg.target_rate = DataRate::BitsPerSec(target_bitrate_bps); in CreateTargetRateMessage()
96 msg.stable_target_rate = msg.target_rate; in CreateTargetRateMessage()
97 msg.network_estimate.bandwidth = msg.target_rate; in CreateTargetRateMessage()
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyzer.cc381 if (update.target_rate) { in Update()
382 last_bitrate_bps_ = update.target_rate->target_rate.bps(); in Update()
1147 if (update.target_rate) { in CreateGoogCcSimulationGraph()
1150 update.target_rate->target_rate.kbps<float>()); in CreateGoogCcSimulationGraph()

12