Searched defs:loss (Results 1 - 15 of 15) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dloss_function_test.cc47 void AssertLossFunctionIsValid(const LossFunction& loss, double s) { argument
52 loss.Evaluate(s, rho);
61 loss.Evaluate(s + kH, fwd);
62 loss.Evaluate(s - kH, bwd);
78 // Note that for the Huber loss the test exercises both code paths
125 // Check that loss before and after the approximation threshold are good.
151 // Wrap a few loss functions, and a few scale factors. This can't combine
/external/ceres-solver/examples/
H A Dcircle_fit.cc68 DEFINE_double(robust_threshold, 0.0, "Robust loss parameter. Set to 0 for "
130 // Configure the loss function.
131 LossFunction* loss = NULL; local
133 loss = new CauchyLoss(FLAGS_robust_threshold);
143 problem.AddResidualBlock(cost, loss, &x, &y, &m);
/external/chromium_org/third_party/webrtc/modules/bitrate_controller/
H A Dsend_side_bandwidth_estimation.cc26 uint32_t CalcTfrcBps(uint16_t rtt, uint8_t loss) { argument
27 if (rtt == 0 || loss == 0) {
36 double p = static_cast<double>(loss) / 255; // Packet loss rate in [0, 1).
82 uint8_t* loss,
85 *loss = last_fraction_loss_;
101 // Check sequence number diff and weight loss report
109 // Report loss if the total report is based on sufficiently many packets.
138 // whenever a receiver report is received with lower packet loss.
140 // take over one second since the lower packet loss t
81 CurrentEstimate(uint32_t* bitrate, uint8_t* loss, uint32_t* rtt) const argument
[all...]
H A Dbitrate_controller_impl.cc44 // Compute the a weighted average of the fraction loss from all report
152 uint8_t loss; local
154 bandwidth_estimation_.CurrentEstimate(&current_estimate, &loss, &rtt);
/external/chromium_org/third_party/opus/src/tests/
H A Dtest_opus_encode.c338 int pred,len,out_samples,frame_size,loss; local
380 loss=(fast_rand()&63)==0;
381 out_samples = opus_multistream_decode(MSdec_err, packet, loss?0:len, out2buf, frame_size*6, (fast_rand()&3)!=0);
438 if(out_samples<0||out_samples>MAX_FRAME_SAMP)test_failed(); /*FIXME, use factor, lastframe for loss*/
/external/libopus/tests/
H A Dtest_opus_encode.c338 int pred,len,out_samples,frame_size,loss; local
380 loss=(fast_rand()&63)==0;
381 out_samples = opus_multistream_decode(MSdec_err, packet, loss?0:len, out2buf, frame_size*6, (fast_rand()&3)!=0);
438 if(out_samples<0||out_samples>MAX_FRAME_SAMP)test_failed(); /*FIXME, use factor, lastframe for loss*/
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dnack_rtx_unittest.cc258 void RunRtxTest(RtxMode rtx_method, int loss) { argument
262 transport_.DropEveryNthPacket(loss);
/external/chromium_org/net/tools/quic/
H A Dend_to_end_test.cc384 void SetPacketLossPercentage(int32 loss) { argument
385 // TODO(rtenneti): enable when we can do random packet loss tests in
387 if (loss != 0 && loss != 100)
389 client_writer_->set_fake_packet_loss_percentage(loss);
390 server_writer_->set_fake_packet_loss_percentage(loss);
612 // Connect with lower fake packet loss than we'd like to test. Until
617 // Wait for the server SHLO before upping the packet loss.
634 // Connect with lower fake packet loss than we'd like to test. Until
639 // Wait for the server SHLO before upping the packet loss
[all...]
/external/iputils/
H A Dping_common.c1029 printf(", %d%% packet loss",
1067 int loss = 0; local
1073 loss = (((long long)(ntransmitted - nreceived)) * 100) / ntransmitted;
1075 fprintf(stderr, "\r%ld/%ld packets, %d%% loss", ntransmitted, nreceived, loss);
/external/valgrind/main/memcheck/
H A Dmc_errors.c219 const HChar *loss = "?"; local
221 case Unreached: loss = "definitely lost"; break;
222 case IndirectLeak: loss = "indirectly lost"; break;
223 case Possible: loss = "possibly lost"; break;
224 case Reachable: loss = "still reachable"; break;
226 return loss;
231 const HChar *loss = "?"; local
233 case Unreached: loss = "Leak_DefinitelyLost"; break;
234 case IndirectLeak: loss = "Leak_IndirectlyLost"; break;
235 case Possible: loss
[all...]
/external/libnl/include/linux/
H A Dpkt_sched.h451 __u32 loss; /* random packet loss (0=none ~0=100%) */ member in struct:tc_netem_qopt
460 __u32 loss_corr; /* packet loss correlation */
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dj2k.c1499 OPJ_BOOL loss = OPJ_FALSE; local
1573 loss |= (packet_array[index]!=1);
1580 if (loss) {
1581 opj_event_msg(p_manager , EVT_ERROR, "Missing packets possible loss of data\n");
1586 return !loss;
/external/iproute2/include/linux/
H A Dpkt_sched.h520 __u32 loss; /* random packet loss (0=none ~0=100%) */ member in struct:tc_netem_qopt
528 __u32 loss_corr; /* packet loss correlation */
/external/kernel-headers/original/uapi/linux/
H A Dpkt_sched.h537 __u32 loss; /* random packet loss (0=none ~0=100%) */ member in struct:tc_netem_qopt
545 __u32 loss_corr; /* packet loss correlation */
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 2383 milliseconds