Home
last modified time | relevance | path

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

/external/webrtc/modules/congestion_controller/pcc/
Dutility_function.cc42 double loss_rate = monitor_interval.GetLossRate(); in Compute() local
48 (loss_coefficient_ * bitrate * loss_rate); in Compute()
73 double loss_rate = monitor_interval.GetLossRate(); in Compute() local
80 (loss_coefficient_ * bitrate * bitrate * loss_rate); in Compute()
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_quality_test.cc132 double loss_rate, in ProbTrans00Solver() argument
135 return prob_trans_10 / (1.0f - loss_rate) - prob_trans_10; in ProbTrans00Solver()
149 const double a = (1.0f - loss_rate) / prob_trans_10; in ProbTrans00Solver()
150 const double b = (loss_rate - 1.0f) * (1.0f + 1.0f / prob_trans_10); in ProbTrans00Solver()
264 UniformLoss::UniformLoss(double loss_rate) : loss_rate_(loss_rate) {} in UniformLoss() argument
351 double loss_rate = 0.01f * packet_loss_rate_; in SetUp() local
354 double prob_trans_00 = ProbTrans00Solver(units, loss_rate, prob_trans_10); in SetUp()
Dneteq_quality_test.h49 UniformLoss(double loss_rate);
51 void set_loss_rate(double loss_rate) { loss_rate_ = loss_rate; } in set_loss_rate() argument
/external/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc250 double loss_rate = static_cast<double>(loss_model_[k].average_loss_rate); in ComputeProbabilityWeight() local
257 result *= (1.0 - loss_rate); in ComputeProbabilityWeight()
259 result *= loss_rate; in ComputeProbabilityWeight()
270 double prob01 = prob10 * (loss_rate / (1.0 - loss_rate)); in ComputeProbabilityWeight()
276 result = (1.0 - loss_rate); in ComputeProbabilityWeight()
278 result = loss_rate; in ComputeProbabilityWeight()
528 float loss_rate = loss_model_[k].average_loss_rate; in WriteOutMetricsAllFecCodes() local
534 loss_rate, burst_length, in WriteOutMetricsAllFecCodes()
824 float loss_rate = loss_model_[k].average_loss_rate; in TEST_F() local
828 loss_rate <= protection_level) { in TEST_F()
[all …]
Dtest_fec.cc114 const float loss_rate[] = {0.05f, 0.01f}; in RunTest() local
115 const uint32_t loss_rate_size = sizeof(loss_rate) / sizeof(*loss_rate); in RunTest()
159 printf("Loss rate: %.2f, Mask type %d \n", loss_rate[loss_rate_idx], in RunTest()
202 loss_rate[loss_rate_idx]); in RunTest()
307 if (loss_random_variable >= loss_rate[loss_rate_idx]) { in RunTest()
327 if (loss_random_variable >= loss_rate[loss_rate_idx]) { in RunTest()
/external/webrtc/api/test/
Dnetwork_emulation_manager.cc73 NetworkEmulationManager::SimulatedNetworkNode::Builder::loss(double loss_rate) { in loss() argument
74 config_.loss_percent = std::round(loss_rate * 100); in loss()
Dnetwork_emulation_manager.h185 Builder& loss(double loss_rate);
/external/webrtc/modules/audio_coding/test/
DPacketLossTest.cc35 int loss_rate, in Setup() argument
37 loss_rate_ = loss_rate; in Setup()
DPacketLossTest.h29 int loss_rate,
/external/webrtc/modules/audio_coding/neteq/
Dneteq_network_stats_unittest.cc184 void SetPacketLossRate(double loss_rate) { in SetPacketLossRate() argument
186 (loss_rate >= 1e-3 ? static_cast<double>(kFrameSizeMs) / loss_rate in SetPacketLossRate()
/external/webrtc/test/scenario/
Dnetwork_node.cc27 sim_config.loss_percent = config.loss_rate * 100; in CreateSimulationConfig()
64 config_.bandwidth.bps() / 8.0, config_.loss_rate); in ConfigPrinter()
Dvideo_stream_unittest.cc128 c->loss_rate = 0.2; in TEST()
149 c->loss_rate = 0.1; in TEST()
169 c->loss_rate = 0.1; in TEST()
Dstats_collection_unittest.cc86 bad_network.loss_rate = 0.02; in TEST()
Dscenario_config.h219 double loss_rate = 0; member
Dscenario_unittest.cc161 network_config.loss_rate = 0.05; in TEST()
/external/webrtc/modules/audio_coding/acm2/
Daudio_coding_module.cc66 int SetPacketLossRate(int loss_rate) override;
523 int AudioCodingModuleImpl::SetPacketLossRate(int loss_rate) { in SetPacketLossRate() argument
526 encoder_stack_->OnReceivedUplinkPacketLossFraction(loss_rate / 100.0); in SetPacketLossRate()
/external/libopus/celt/
Dquant_bands.h54 int two_pass, int loss_rate, int lfe);
Dquant_bands.c264 int force_intra, opus_val32 *delayedIntra, int two_pass, int loss_rate, int lfe) in quant_coarse_energy() argument
278 intra_bias = (opus_int32)((budget**delayedIntra*loss_rate)/(C*512)); in quant_coarse_energy()
Dcelt_encoder.c74 int loss_rate; member
1212 if (st->loss_rate>2) in run_prefilter()
1214 if (st->loss_rate>4) in run_prefilter()
1216 if (st->loss_rate>8) in run_prefilter()
1935 &st->delayedIntra, st->complexity >= 4, st->loss_rate, st->lfe); in celt_encode_with_ec()
2460 st->loss_rate = value; in opus_custom_encoder_ctl()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/
Dbbr_sender_test.cc518 float loss_rate = in TEST_F() local
521 EXPECT_LE(loss_rate, 0.31); in TEST_F()
531 float loss_rate = in TEST_F() local
534 EXPECT_LE(loss_rate, 0.1); in TEST_F()
991 float loss_rate = in TEST_F() local
994 EXPECT_LT(loss_rate, 0.15f); in TEST_F()
/external/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.h135 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate);
Dopus_interface.cc277 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate) { in WebRtcOpus_SetPacketLossRate() argument
279 return ENCODER_CTL(inst, OPUS_SET_PACKET_LOSS_PERC(loss_rate)); in WebRtcOpus_SetPacketLossRate()
/external/webrtc/modules/congestion_controller/goog_cc/
Dloss_based_bwe_v2.h150 double AdjustBiasFactor(double loss_rate, double bias_factor) const;
Dgoog_cc_network_control_unittest.cc153 c->loss_rate = 0.0; in UpdatesTargetRateBasedOnLinkCapacity()
610 c->loss_rate = 0.1; in TEST()
696 network.loss_rate = 0.03; in TEST()
842 c->loss_rate = 0.2; in TEST()
Dloss_based_bwe_v2.cc863 double LossBasedBweV2::AdjustBiasFactor(double loss_rate, in AdjustBiasFactor() argument
866 (config_->loss_threshold_of_high_bandwidth_preference - loss_rate) / in AdjustBiasFactor()
869 loss_rate)); in AdjustBiasFactor()