Home
last modified time | relevance | path

Searched refs:accumulator_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/modules/video_coding/utility/
Dframe_dropper.cc60 accumulator_ = 0.0f; in Reset()
121 accumulator_ += framesize_kbits; in Fill()
143 accumulator_ -= expected_bits_per_frame; in Leak()
144 if (accumulator_ < 0.0f) { in Leak()
145 accumulator_ = 0.0f; in Leak()
151 if (accumulator_ > 1.3f * accumulator_max_) { in UpdateRatio()
158 if (accumulator_ > accumulator_max_) { in UpdateRatio()
169 was_below_max_ = accumulator_ < accumulator_max_; in UpdateRatio()
249 accumulator_ > accumulator_max_) { in SetRates()
251 accumulator_ = bitrate / target_bitrate_ * accumulator_; in SetRates()
[all …]
Dframe_dropper.h80 float accumulator_; variable
/external/grpc-grpc/src/core/lib/transport/
Dbdp_estimator.h46 void AddIncomingBytes(int64_t num_bytes) { accumulator_ += num_bytes; } in AddIncomingBytes()
54 accumulator_, estimate_); in SchedulePing()
58 accumulator_ = 0; in SchedulePing()
67 accumulator_, estimate_); in StartPing()
71 accumulator_ = 0; in StartPing()
82 int64_t accumulator_; variable
Dbdp_estimator.cc34 accumulator_(0), in BdpEstimator()
47 double bw = dt > 0 ? (static_cast<double>(accumulator_) / dt) : 0; in CompletePing()
53 name_, accumulator_, estimate_, dt, bw / 125000.0, in CompletePing()
57 if (accumulator_ > 2 * estimate_ / 3 && bw > bw_est_) { in CompletePing()
58 estimate_ = GPR_MAX(accumulator_, estimate_ * 2); in CompletePing()
83 accumulator_ = 0; in CompletePing()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dbdp_estimator.h46 void AddIncomingBytes(int64_t num_bytes) { accumulator_ += num_bytes; } in AddIncomingBytes()
54 accumulator_, estimate_); in SchedulePing()
58 accumulator_ = 0; in SchedulePing()
67 accumulator_, estimate_); in StartPing()
77 int64_t accumulator() { return accumulator_; } in accumulator()
83 int64_t accumulator_; variable
Dbdp_estimator.cc34 accumulator_(0), in BdpEstimator()
47 double bw = dt > 0 ? (static_cast<double>(accumulator_) / dt) : 0; in CompletePing()
53 name_, accumulator_, estimate_, dt, bw / 125000.0, in CompletePing()
57 if (accumulator_ > 2 * estimate_ / 3 && bw > bw_est_) { in CompletePing()
58 estimate_ = GPR_MAX(accumulator_, estimate_ * 2); in CompletePing()
83 accumulator_ = 0; in CompletePing()
/external/tensorflow/tensorflow/core/lib/monitoring/
Dpercentile_sampler.cc41 accumulator_ += sample; in Add()
94 *accumulator = accumulator_; in GetSamples()
Dpercentile_sampler.h62 accumulator_(0.0) {} in PercentileSamplerCell()
87 long double accumulator_ TF_GUARDED_BY(mu_);