Searched refs:loss_model_ (Results 1 – 3 of 3) sorted by relevance
152 LossModel loss_model_[kNumLossModels]; member in webrtc::FecPacketMaskMetricsTest250 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 …]
321 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()
163 std::unique_ptr<LossModel> loss_model_; variable