/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_quality_test.cc | 171 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()
|
D | neteq_quality_test.h | 42 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/ |
D | test_packet_masks_metrics.cc | 253 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/ |
D | network_predictor.cc | 28 void NetworkPredictor::UpdatePacketLossRate(uint8_t loss_rate) { in UpdatePacketLossRate() argument 33 static_cast<float>(loss_rate)); in UpdatePacketLossRate()
|
D | network_predictor.h | 34 void UpdatePacketLossRate(uint8_t loss_rate);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | neteq_network_stats_unittest.cc | 130 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/ |
D | PacketLossTest.cc | 31 int loss_rate, in Setup() argument 33 loss_rate_ = loss_rate; in Setup()
|
D | PacketLossTest.h | 24 std::string out_file_name, int channels, int loss_rate,
|
D | insert_packet_with_timing.cc | 46 DEFINE_double(loss_rate, 0, "Rate of packet loss < 1");
|
/external/webrtc/webrtc/modules/video_coding/ |
D | generic_encoder.cc | 176 params.loss_rate != encoder_params_.loss_rate || in SetEncoderParameters() 184 encoder_->SetChannelParameters(params.loss_rate, params.rtt); in SetEncoderParameters()
|
D | generic_encoder.h | 32 uint8_t loss_rate; member
|
/external/webrtc/webrtc/modules/video_coding/test/ |
D | rtp_player.cc | 324 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/ |
D | quant_bands.h | 54 int two_pass, int loss_rate, int lfe);
|
D | quant_bands.c | 264 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()
|
D | celt_encoder.c | 74 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/ |
D | opus_interface.h | 100 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate);
|
D | opus_interface.c | 167 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/ |
D | audio_coding_module_impl.h | 89 int SetPacketLossRate(int loss_rate) override;
|
D | audio_coding_module_impl.cc | 495 int AudioCodingModuleImpl::SetPacketLossRate(int loss_rate) { in SetPacketLossRate() argument 498 rent_a_codec_.GetEncoderStack()->SetProjectedPacketLossRate(loss_rate / in SetPacketLossRate()
|