Home
last modified time | relevance | path

Searched refs:new_bitrate (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/modules/congestion_controller/goog_cc/
Dsend_side_bandwidth_estimation.cc423 DataRate new_bitrate = in UpdateEstimate() local
426 link_capacity_.OnRttBackoff(new_bitrate, at_time); in UpdateEstimate()
427 UpdateTargetBitrate(new_bitrate, at_time); in UpdateEstimate()
438 DataRate new_bitrate = current_target_; in UpdateEstimate() local
442 new_bitrate = std::max(receiver_limit_, new_bitrate); in UpdateEstimate()
444 new_bitrate = std::max(delay_based_limit_, new_bitrate); in UpdateEstimate()
446 loss_based_bandwidth_estimation_.SetInitialBitrate(new_bitrate); in UpdateEstimate()
449 if (new_bitrate != current_target_) { in UpdateEstimate()
452 min_bitrate_history_.push_back(std::make_pair(at_time, new_bitrate)); in UpdateEstimate()
457 UpdateTargetBitrate(new_bitrate, at_time); in UpdateEstimate()
[all …]
Dsend_side_bandwidth_estimation.h130 DataRate MaybeRampupOrBackoff(DataRate new_bitrate, Timestamp at_time);
Dgoog_cc_network_control_unittest.cc331 DataRate new_bitrate = DataRate::BitsPerSec(200000); in TEST_F() local
332 update = controller_->OnNetworkRouteChange(CreateRouteChange(new_bitrate)); in TEST_F()
333 EXPECT_EQ(update.target_rate->target_rate, new_bitrate); in TEST_F()
334 EXPECT_EQ(update.pacer_config->data_rate(), new_bitrate * kDefaultPacingRate); in TEST_F()
/external/webrtc/modules/remote_bitrate_estimator/
Daimd_rate_control.cc261 absl::optional<DataRate> new_bitrate; in ChangeBitrate() local
313 new_bitrate = std::min(increased_bitrate, troughput_based_limit); in ChangeBitrate()
340 new_bitrate = decreased_bitrate; in ChangeBitrate()
344 if (!new_bitrate.has_value()) { in ChangeBitrate()
347 last_decrease_ = current_bitrate_ - *new_bitrate; in ChangeBitrate()
368 current_bitrate_ = ClampBitrate(new_bitrate.value_or(current_bitrate_)); in ChangeBitrate()
371 DataRate AimdRateControl::ClampBitrate(DataRate new_bitrate) const { in ClampBitrate()
374 new_bitrate = std::min(new_bitrate, upper_bound); in ClampBitrate()
376 new_bitrate = std::max(new_bitrate, min_configured_bitrate_); in ClampBitrate()
377 return new_bitrate; in ClampBitrate()
Daimd_rate_control.h78 DataRate ClampBitrate(DataRate new_bitrate) const;
/external/webrtc/rtc_base/
Drate_statistics_unittest.cc106 absl::optional<uint32_t> new_bitrate = stats_.Rate(now_ms); in TEST_F() local
107 if (static_cast<bool>(new_bitrate) && *new_bitrate != *bitrate) { in TEST_F()
109 EXPECT_LT(*new_bitrate, *bitrate); in TEST_F()
112 EXPECT_EQ(0u, *new_bitrate); in TEST_F()
115 bitrate = new_bitrate; in TEST_F()
/external/openscreen/cast/standalone_sender/
Dstreaming_vp8_encoder.cc122 void StreamingVp8Encoder::SetTargetBitrate(int new_bitrate) { in SetTargetBitrate() argument
125 new_bitrate = std::max(new_bitrate, kBytesPerKilobyte); in SetTargetBitrate()
131 target_bitrate_ = new_bitrate; in SetTargetBitrate()
Dstreaming_vp8_encoder.h173 void SetTargetBitrate(int new_bitrate);
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc735 const int new_bitrate = rtc::SafeClamp<int>( in SetTargetBitrate() local
738 if (config_.bitrate_bps && *config_.bitrate_bps != new_bitrate) { in SetTargetBitrate()
739 config_.bitrate_bps = new_bitrate; in SetTargetBitrate()
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_sender.cc959 absl::optional<VideoBitrateAllocation> new_bitrate = in SetVideoBitrateAllocation() local
961 if (new_bitrate) { in SetVideoBitrateAllocation()
962 video_bitrate_allocation_ = *new_bitrate; in SetVideoBitrateAllocation()