Home
last modified time | relevance | path

Searched refs:loss_model_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc152 LossModel loss_model_[kNumLossModels]; member in webrtc::FecPacketMaskMetricsTest
250 double loss_rate = static_cast<double>(loss_model_[k].average_loss_rate); in ComputeProbabilityWeight()
252 static_cast<double>(loss_model_[k].average_burst_length); in ComputeProbabilityWeight()
254 if (loss_model_[k].loss_type == kRandomLossModel) { in ComputeProbabilityWeight()
263 assert(loss_model_[k].loss_type == kBurstyLossModel); in ComputeProbabilityWeight()
528 float loss_rate = loss_model_[k].average_loss_rate; in WriteOutMetricsAllFecCodes()
529 float burst_length = loss_model_[k].average_burst_length; in WriteOutMetricsAllFecCodes()
579 loss_model_[num_loss_models].average_loss_rate = kAverageLossRate[k2]; in SetLossModels()
580 loss_model_[num_loss_models].average_burst_length = in SetLossModels()
584 loss_model_[num_loss_models].loss_type = kRandomLossModel; in SetLossModels()
[all …]
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_quality_test.cc321 loss_model_.reset(new UniformLoss(unit_loss_rate)); in SetUp()
347 loss_model_.reset( in SetUp()
367 loss_model_.reset(new FixedLossModel(loss_events)); in SetUp()
371 loss_model_.reset(new NoLoss); in SetUp()
391 if (loss_model_->Lost(decoded_time_ms_)) { in PacketLost()
Dneteq_quality_test.h163 std::unique_ptr<LossModel> loss_model_; variable