Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dneteq_quality_test.cc171 static double ProbTrans00Solver(int units, double loss_rate, in ProbTrans00Solver() argument
174 return prob_trans_10 / (1.0f - loss_rate) - prob_trans_10; in ProbTrans00Solver()
188 const double a = (1.0f - loss_rate) / prob_trans_10; in ProbTrans00Solver()
189 const double b = (loss_rate - 1.0f) * (1.0f + 1.0f / prob_trans_10); in ProbTrans00Solver()
264 UniformLoss::UniformLoss(double loss_rate) in UniformLoss() argument
265 : loss_rate_(loss_rate) { in UniformLoss()
332 double loss_rate = 0.01f * packet_loss_rate_; in SetUp() local
334 double prob_trans_00 = ProbTrans00Solver(units, loss_rate, prob_trans_10); in SetUp()
Dneteq_quality_test.h42 UniformLoss(double loss_rate);
44 void set_loss_rate(double loss_rate) { loss_rate_ = loss_rate; } in set_loss_rate() argument
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc253 double loss_rate = static_cast<double>( in ComputeProbabilityWeight() local
261 result *= (1.0 - loss_rate); in ComputeProbabilityWeight()
263 result *= loss_rate; in ComputeProbabilityWeight()
274 double prob01 = prob10 * (loss_rate / (1.0 - loss_rate)); in ComputeProbabilityWeight()
280 result = (1.0 - loss_rate); in ComputeProbabilityWeight()
282 result = loss_rate; in ComputeProbabilityWeight()
537 float loss_rate = loss_model_[k].average_loss_rate; in WriteOutMetricsAllFecCodes() local
541 loss_rate, in WriteOutMetricsAllFecCodes()
846 float loss_rate = loss_model_[k].average_loss_rate; in TEST_F() local
850 loss_rate <= protection_level) { in TEST_F()
[all …]
/external/webrtc/webrtc/voice_engine/
Dnetwork_predictor.cc28 void NetworkPredictor::UpdatePacketLossRate(uint8_t loss_rate) { in UpdatePacketLossRate() argument
33 static_cast<float>(loss_rate)); in UpdatePacketLossRate()
Dnetwork_predictor.h34 void UpdatePacketLossRate(uint8_t loss_rate);
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_network_stats_unittest.cc130 void SetPacketLossRate(double loss_rate) { in SetPacketLossRate() argument
131 packet_loss_interval_ = (loss_rate >= 1e-3 ? in SetPacketLossRate()
132 static_cast<double>(kFrameSizeMs) / loss_rate : 0xffffffff); in SetPacketLossRate()
/external/webrtc/webrtc/modules/audio_coding/test/
DPacketLossTest.cc31 int loss_rate, in Setup() argument
33 loss_rate_ = loss_rate; in Setup()
DPacketLossTest.h24 std::string out_file_name, int channels, int loss_rate,
Dinsert_packet_with_timing.cc46 DEFINE_double(loss_rate, 0, "Rate of packet loss < 1");
/external/webrtc/webrtc/modules/video_coding/
Dgeneric_encoder.cc176 params.loss_rate != encoder_params_.loss_rate || in SetEncoderParameters()
184 encoder_->SetChannelParameters(params.loss_rate, params.rtt); in SetEncoderParameters()
Dgeneric_encoder.h32 uint8_t loss_rate; member
/external/webrtc/webrtc/modules/video_coding/test/
Drtp_player.cc324 float loss_rate, in RtpPlayerImpl() argument
333 loss_rate_(loss_rate), in RtpPlayerImpl()
472 float loss_rate, in Create() argument
488 &packet_source, loss_rate, rtt_ms, reordering)); in Create()
/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
1112 if (st->loss_rate>2) in run_prefilter()
1114 if (st->loss_rate>4) in run_prefilter()
1116 if (st->loss_rate>8) in run_prefilter()
1791 &st->delayedIntra, st->complexity >= 4, st->loss_rate, st->lfe); in celt_encode_with_ec()
2278 st->loss_rate = value; in opus_custom_encoder_ctl()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.h100 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate);
Dopus_interface.c167 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate) { in WebRtcOpus_SetPacketLossRate() argument
170 OPUS_SET_PACKET_LOSS_PERC(loss_rate)); in WebRtcOpus_SetPacketLossRate()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_impl.h89 int SetPacketLossRate(int loss_rate) override;
Daudio_coding_module_impl.cc495 int AudioCodingModuleImpl::SetPacketLossRate(int loss_rate) { in SetPacketLossRate() argument
498 rent_a_codec_.GetEncoderStack()->SetProjectedPacketLossRate(loss_rate / in SetPacketLossRate()