/external/webrtc/modules/congestion_controller/goog_cc/ |
D | send_side_bandwidth_estimation_unittest.cc | 41 bwe.SetMinMaxBitrate(DataRate::BitsPerSec(100000), in TestProbing() 42 DataRate::BitsPerSec(1500000)); in TestProbing() 43 bwe.SetSendBitrate(DataRate::BitsPerSec(200000), Timestamp::Millis(now_ms)); in TestProbing() 55 DataRate::BitsPerSec(kRembBps)); in TestProbing() 58 DataRate::BitsPerSec(kRembBps)); in TestProbing() 67 DataRate::BitsPerSec(kSecondRembBps)); in TestProbing() 70 DataRate::BitsPerSec(kSecondRembBps)); in TestProbing() 95 bwe.SetMinMaxBitrate(DataRate::BitsPerSec(kMinBitrateBps), in TEST() 96 DataRate::BitsPerSec(1500000)); in TEST() 97 bwe.SetSendBitrate(DataRate::BitsPerSec(kInitialBitrateBps), in TEST() [all …]
|
D | send_side_bandwidth_estimation.cc | 36 constexpr DataRate kDefaultMaxBitrate = DataRate::BitsPerSec(1000000000); 153 return DataRate::BitsPerSec(capacity_estimate_bps_); in estimate() 195 DataRate::BitsPerSec(congestion_controller::GetMinBitrateBps())), in SendSideBandwidthEstimation() 239 DataRate::BitsPerSec(congestion_controller::GetMinBitrateBps()); in OnRouteChange() 495 DataRate new_bitrate = DataRate::BitsPerSec( in UpdateEstimate() 501 new_bitrate += DataRate::BitsPerSec(1000); in UpdateEstimate() 518 DataRate new_bitrate = DataRate::BitsPerSec( in UpdateEstimate() 577 new_bitrate += DataRate::BitsPerSec(1000); in MaybeRampupOrBackoff()
|
D | probe_controller.cc | 214 DataRate::BitsPerSec(max_total_allocated_bitrate) * in OnMaxTotalAllocatedBitrate() 221 DataRate::BitsPerSec(max_total_allocated_bitrate) * in OnMaxTotalAllocatedBitrate() 431 DataRate::BitsPerSec(rtc::dchecked_cast<int>(bitrate)); in InitiateProbing()
|
/external/webrtc/video/ |
D | video_stream_encoder_unittest.cc | 791 DataRate::BitsPerSec(kTargetBitrateBps), in VerifyAllocatedBitrate() 792 DataRate::BitsPerSec(kTargetBitrateBps), in VerifyAllocatedBitrate() 793 DataRate::BitsPerSec(kTargetBitrateBps), 0, 0, 0); in VerifyAllocatedBitrate() 1325 DataRate::BitsPerSec(kTargetBitrateBps), in TEST_F() 1326 DataRate::BitsPerSec(kTargetBitrateBps), in TEST_F() 1327 DataRate::BitsPerSec(kTargetBitrateBps), 0, 0, 0); in TEST_F() 1346 DataRate::BitsPerSec(kTargetBitrateBps), in TEST_F() 1347 DataRate::BitsPerSec(kTargetBitrateBps), in TEST_F() 1348 DataRate::BitsPerSec(kTargetBitrateBps), 0, 0, 0); in TEST_F() 1360 DataRate::BitsPerSec(kTargetBitrateBps), in TEST_F() [all …]
|
D | encoder_bitrate_adjuster.cc | 112 DataRate::BitsPerSec(rates.bitrate.GetSpatialLayerSum(si)); in AdjustRateAllocation() 190 DataRate::BitsPerSec(rates.bitrate.get_sum_bps()); in AdjustRateAllocation() 217 DataRate::BitsPerSec(min_bitrates_bps_[si]) < layer_info.target_rate) { in AdjustRateAllocation() 239 DataRate::BitsPerSec(rates.bitrate.GetBitrate(si, 0))) { in AdjustRateAllocation() 293 DataRate::BitsPerSec(layer_bitrate_bps), in AdjustRateAllocation()
|
D | encoder_overshoot_detector_unittest.cc | 26 target_bitrate_(DataRate::BitsPerSec(kDefaultBitrateBps)), in EncoderOvershootDetectorTest() 114 target_bitrate_ = DataRate::BitsPerSec(target_bitrate_.bps() / 2); in TEST_F()
|
D | video_send_stream_impl.cc | 640 DataRate::BitsPerSec(encoder_target_rate_bps_ - protection_bitrate_bps); in OnBitrateUpdated() 643 update.target_bitrate - DataRate::BitsPerSec(encoder_target_rate_bps_); in OnBitrateUpdated() 648 encoder_stable_target_rate = DataRate::BitsPerSec(encoder_target_rate_bps_); in OnBitrateUpdated() 655 std::min(DataRate::BitsPerSec(encoder_max_bitrate_bps_), in OnBitrateUpdated() 658 DataRate encoder_target_rate = DataRate::BitsPerSec(encoder_target_rate_bps_); in OnBitrateUpdated()
|
D | encoder_bitrate_adjuster_unittest.cc | 37 : target_bitrate_(DataRate::BitsPerSec(kDefaultBitrateBps)), in EncoderBitrateAdjusterTest() 481 DataRate::BitsPerSec(current_input_allocation_.get_sum_bps() * in TEST_F() 524 DataRate::BitsPerSec(current_input_allocation_.get_sum_bps() * 2))); in TEST_F()
|
/external/webrtc/api/units/ |
D | data_rate_unittest.cc | 35 constexpr DataRate kDataRateBps = DataRate::BitsPerSec(kValue); in TEST() 44 EXPECT_EQ(DataRate::BitsPerSec(kValue).bps(), kValue); in TEST() 50 EXPECT_EQ(DataRate::BitsPerSec(kValue).kbps(), kValue / 1000); in TEST() 56 EXPECT_FALSE(DataRate::BitsPerSec(kValue).IsZero()); in TEST() 60 EXPECT_FALSE(DataRate::BitsPerSec(kValue).IsInfinite()); in TEST() 63 EXPECT_TRUE(DataRate::BitsPerSec(kValue).IsFinite()); in TEST() 70 const DataRate small = DataRate::BitsPerSec(kSmall); in TEST() 71 const DataRate large = DataRate::BitsPerSec(kLarge); in TEST() 73 EXPECT_EQ(DataRate::Zero(), DataRate::BitsPerSec(0)); in TEST() 93 EXPECT_EQ(DataRate::BitsPerSec(kValue).bps<double>(), kDoubleValue); in TEST() [all …]
|
D | data_rate.h | 35 static constexpr DataRate BitsPerSec(T value) { in BitsPerSec() function 100 return DataRate::BitsPerSec(data_rate_impl::Microbits(size) / duration.us()); 133 return DataRate::BitsPerSec((millibits_per_second + 500) / 1000);
|
/external/webrtc/rtc_base/numerics/ |
D | sample_stats.cc | 121 return DataRate::BitsPerSec(stats_.Max()); in Max() 125 return DataRate::BitsPerSec(stats_.Mean()); in Mean() 133 return DataRate::BitsPerSec(stats_.Quantile(quantile)); in Quantile() 137 return DataRate::BitsPerSec(stats_.Min()); in Min() 141 return DataRate::BitsPerSec(stats_.Variance()); in Variance() 145 return DataRate::BitsPerSec(stats_.StandardDeviation()); in StandardDeviation()
|
/external/webrtc/api/video/ |
D | video_bitrate_allocator.cc | 18 : total_bitrate(DataRate::BitsPerSec(total_bitrate_bps)), in VideoBitrateAllocationParameters() 19 stable_bitrate(DataRate::BitsPerSec(total_bitrate_bps)), in VideoBitrateAllocationParameters() 42 return Allocate({DataRate::BitsPerSec(total_bitrate_bps), in GetAllocation() 43 DataRate::BitsPerSec(total_bitrate_bps), in GetAllocation()
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | svc_rate_allocator_unittest.cc | 262 const DataRate kTwoLayerMinRate = DataRate::BitsPerSec(299150); in TEST() 263 const DataRate kThreeLayerMinRate = DataRate::BitsPerSec(891052); in TEST() 372 /*stable_bitrate=*/min_rate_two_layers - DataRate::BitsPerSec(1), in TEST_P() 375 EXPECT_EQ(DataRate::BitsPerSec(allocation.get_sum_bps()), in TEST_P() 376 std::min(min_rate_two_layers - DataRate::BitsPerSec(1), in TEST_P() 389 /*stable_bitrate=*/min_rate_three_layers - DataRate::BitsPerSec(1), in TEST_P() 392 EXPECT_EQ(DataRate::BitsPerSec(allocation.get_sum_bps()), in TEST_P() 393 std::min(min_rate_three_layers - DataRate::BitsPerSec(1), in TEST_P() 448 /*stable_bitrate=*/min_rate_two_layers - DataRate::BitsPerSec(1), in TEST_P() 481 /*stable_bitrate=*/min_rate_three_layers - DataRate::BitsPerSec(1), in TEST_P()
|
/external/webrtc/call/ |
D | bitrate_allocator.cc | 407 update.target_bitrate = DataRate::BitsPerSec(allocated_bitrate); in OnNetworkEstimateChanged() 409 DataRate::BitsPerSec(allocated_stable_target_rate); in OnNetworkEstimateChanged() 473 update.target_bitrate = DataRate::BitsPerSec(allocated_bitrate); in AddObserver() 475 DataRate::BitsPerSec(allocated_stable_bitrate); in AddObserver() 506 DataRate::BitsPerSec(config.config.min_bitrate_bps); in UpdateAllocationLimits() 511 limits.max_padding_rate += DataRate::BitsPerSec(stream_padding); in UpdateAllocationLimits() 513 DataRate::BitsPerSec(config.config.max_bitrate_bps); in UpdateAllocationLimits()
|
D | rtp_transport_controller_send.cc | 45 ? DataRate::BitsPerSec(min_bitrate_bps) in ConvertConstraints() 48 ? DataRate::BitsPerSec(max_bitrate_bps) in ConvertConstraints() 51 msg.starting_rate = DataRate::BitsPerSec(start_bitrate_bps); in ConvertConstraints() 131 DataRate::BitsPerSec(bitrate_config.start_bitrate_bps), DataRate::Zero()); in RtpTransportControllerSend() 497 msg.bandwidth = DataRate::BitsPerSec(bitrate); in OnReceivedEstimatedBitrate()
|
D | bitrate_allocator_unittest.cc | 33 DataRate::BitsPerSec(min_allocatable_rate_bps)), in AllocationLimitsEq() 35 DataRate::BitsPerSec(max_allocatable_rate_bps)), in AllocationLimitsEq() 37 DataRate::BitsPerSec(max_padding_rate_bps))); in AllocationLimitsEq() 43 DataRate::BitsPerSec(min_allocatable_rate_bps)), in AllocationLimitsEq() 45 DataRate::BitsPerSec(max_padding_rate_bps))); in AllocationLimitsEq() 95 msg.target_rate = DataRate::BitsPerSec(target_bitrate_bps); in CreateTargetRateMessage()
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_single_stream.cc | 34 return DataRate::BitsPerSec(*bitrate_bps); in OptionalRateFromOptionalBps() 150 DataRate::BitsPerSec(*incoming_bitrate_bps)))) { in IncomingPacket() 268 remote_rate_->SetMinBitrate(DataRate::BitsPerSec(min_bitrate_bps)); in SetMinBitrate()
|
D | remote_bitrate_estimator_abs_send_time.cc | 30 return DataRate::BitsPerSec(*bitrate_bps); in OptionalRateFromOptionalBps() 204 remote_rate_.SetEstimate(DataRate::BitsPerSec(probe_bitrate_bps), in ProcessClusters() 340 DataRate::BitsPerSec(*incoming_rate))) { in IncomingPacketInfo() 429 remote_rate_.SetMinBitrate(DataRate::BitsPerSec(min_bitrate_bps)); in SetMinBitrate()
|
D | bwe_defines.cc | 26 return DataRate::BitsPerSec(GetMinBitrateBps()); in GetMinBitrate()
|
D | aimd_rate_control.cc | 164 LatestEstimate() / 2 - DataRate::BitsPerSec(1)); in InitialTimeToReduceFurther() 390 std::max(current_bitrate * (alpha - 1.0), DataRate::BitsPerSec(1000)); in MultiplicativeRateIncrease() 399 return DataRate::BitsPerSec(data_rate_increase_bps); in AdditiveRateIncrease()
|
/external/webrtc/audio/ |
D | audio_send_stream_unittest.cc | 592 Eq(DataRate::BitsPerSec(helper.config().max_bitrate_bps))))); in TEST() 595 DataRate::BitsPerSec(helper.config().max_bitrate_bps + 5000); in TEST() 613 Eq(DataRate::BitsPerSec(helper.config().max_bitrate_bps - 5000))))); in TEST() 616 DataRate::BitsPerSec(helper.config().max_bitrate_bps - 5000); in TEST() 669 DataRate::BitsPerSec(helper.config().max_bitrate_bps) + in TEST() 735 DataRate::BitsPerSec(helper.config().max_bitrate_bps + 5000); in TEST() 840 DataRate::BitsPerSec(helper.config().max_bitrate_bps) + in TEST() 874 DataRate::BitsPerSec(helper.config().max_bitrate_bps) + in TEST()
|
/external/webrtc/modules/pacing/ |
D | bitrate_prober.cc | 175 DataRate::BitsPerSec(clusters_.front().pace_info.send_bitrate_bps); in RecommendedMinProbeSize() 218 DataRate::BitsPerSec(cluster.pace_info.send_bitrate_bps); in CalculateNextProbeTime()
|
D | pacing_controller_unittest.cc | 427 pacer.SetPacingRates(DataRate::BitsPerSec(10000000), DataRate::Zero()); in TEST_P() 443 DataRate pacing_rate = DataRate::BitsPerSec(video.packet_size / 3 * 8 * in TEST_P() 473 pacer.SetPacingRates(DataRate::BitsPerSec(video.packet_size / 3 * 8 * in TEST_P() 1103 pacer_->SetPacingRates(DataRate::BitsPerSec(400 * 8 * 1000 / 5), in TEST_P() 1355 pacer_->SetPacingRates(DataRate::BitsPerSec(30000 * kPaceMultiplier), in TEST_P() 1388 pacer_->SetPacingRates(DataRate::BitsPerSec(30000 * kPaceMultiplier), in TEST_P() 1413 DataRate::BitsPerSec(kInitialBitrateBps * kPaceMultiplier), in TEST_P() 1468 DataRate::BitsPerSec(kInitialBitrateBps * kPaceMultiplier), in TEST_P() 1469 DataRate::BitsPerSec(kInitialBitrateBps)); in TEST_P() 1577 DataRate::BitsPerSec(kInitialBitrateBps * kPaceMultiplier), in TEST_P() [all …]
|
/external/webrtc/modules/congestion_controller/pcc/ |
D | pcc_network_controller.cc | 35 constexpr DataRate kMinRateHaveMultiplicativeRateChange = DataRate::BitsPerSec( 218 DataRate::BitsPerSec(std::max<double>( in OnSentPacket() 220 DataRate::BitsPerSec(std::max<double>( in OnSentPacket()
|
/external/webrtc/rtc_base/experiments/ |
D | min_video_bitrate_experiment.cc | 64 return DataRate::BitsPerSec(*fallback_min_bitrate_bps); in GetExperimentalMinVideoBitrate()
|