/external/webrtc/webrtc/voice_engine/ |
network_predictor.cc | 28 void NetworkPredictor::UpdatePacketLossRate(uint8_t loss_rate) { 33 static_cast<float>(loss_rate));
|
network_predictor.h | 34 void UpdatePacketLossRate(uint8_t loss_rate);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
neteq_quality_test.cc | 168 // to achieve the target packet loss rate |loss_rate|, when a packet is not 171 static double ProbTrans00Solver(int units, double loss_rate, 174 return prob_trans_10 / (1.0f - loss_rate) - prob_trans_10; 175 // 0 == prob_trans_00 ^ (units - 1) + (1 - loss_rate) / prob_trans_10 * 176 // prob_trans_00 - (1 - loss_rate) * (1 + 1 / prob_trans_10). 188 const double a = (1.0f - loss_rate) / prob_trans_10; 189 const double b = (loss_rate - 1.0f) * (1.0f + 1.0f / prob_trans_10); 264 UniformLoss::UniformLoss(double loss_rate) 265 : loss_rate_(loss_rate) { 324 // pi_1 * prob_trans_10_ ^ (units - 1) == 1 - loss_rate 332 double loss_rate = 0.01f * packet_loss_rate_; local [all...] |
neteq_quality_test.h | 42 UniformLoss(double loss_rate); 44 void set_loss_rate(double loss_rate) { loss_rate_ = loss_rate; }
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
PacketLossTest.h | 24 std::string out_file_name, int channels, int loss_rate,
|
PacketLossTest.cc | 31 int loss_rate, 33 loss_rate_ = loss_rate;
|
insert_packet_with_timing.cc | 46 DEFINE_double(loss_rate, 0, "Rate of packet loss < 1");
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
neteq_network_stats_unittest.cc | 130 void SetPacketLossRate(double loss_rate) { 131 packet_loss_interval_ = (loss_rate >= 1e-3 ? 132 static_cast<double>(kFrameSizeMs) / loss_rate : 0xffffffff);
|
/external/webrtc/webrtc/modules/video_coding/ |
generic_encoder.cc | 176 params.loss_rate != encoder_params_.loss_rate || 184 encoder_->SetChannelParameters(params.loss_rate, params.rtt);
|
generic_encoder.h | 32 uint8_t loss_rate; member in struct:webrtc::EncoderParameters
|
/external/libopus/celt/ |
quant_bands.h | 54 int two_pass, int loss_rate, int lfe);
|
quant_bands.c | 264 int force_intra, opus_val32 *delayedIntra, int two_pass, int loss_rate, int lfe) 278 intra_bias = (opus_int32)((budget**delayedIntra*loss_rate)/(C*512));
|
celt_encoder.c | 75 int loss_rate; member in struct:OpusCustomEncoder 1052 if (st->loss_rate>2) 1054 if (st->loss_rate>4) 1056 if (st->loss_rate>8) [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/ |
test_packet_masks_metrics.cc | 253 double loss_rate = static_cast<double>( local 261 result *= (1.0 - loss_rate); 263 result *= loss_rate; 274 double prob01 = prob10 * (loss_rate / (1.0 - loss_rate)); 280 result = (1.0 - loss_rate); 282 result = loss_rate; 537 float loss_rate = loss_model_[k].average_loss_rate; 541 loss_rate, [all...] |
/external/webrtc/webrtc/modules/video_coding/test/ |
rtp_player.cc | 324 float loss_rate, 333 loss_rate_(loss_rate), 472 float loss_rate, 488 &packet_source, loss_rate, rtt_ms, reordering));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_interface.c | 167 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate) { 170 OPUS_SET_PACKET_LOSS_PERC(loss_rate));
|
opus_interface.h | 96 * - loss_rate : loss percentage in the range 0-100, inclusive. 100 int16_t WebRtcOpus_SetPacketLossRate(OpusEncInst* inst, int32_t loss_rate);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
decode_with_partial_drops.c | 140 void throw_packets(unsigned char* frame, int* size, int loss_rate, 175 int loss_event = ((rand() + 1.0)/(RAND_MAX + 1.0) < loss_rate/100.0);
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
audio_coding_module_impl.h | 89 int SetPacketLossRate(int loss_rate) override;
|
audio_coding_module_impl.cc | 495 int AudioCodingModuleImpl::SetPacketLossRate(int loss_rate) { 498 rent_a_codec_.GetEncoderStack()->SetProjectedPacketLossRate(loss_rate /
|