Home
last modified time | relevance | path

Searched refs:expected_interval (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/histogram/src/
Dhdr_histogram.c512 bool hdr_record_corrected_value(struct hdr_histogram* h, int64_t value, int64_t expected_interval) in hdr_record_corrected_value() argument
514 return hdr_record_corrected_values(h, value, 1, expected_interval); in hdr_record_corrected_value()
517 …dr_record_corrected_value_atomic(struct hdr_histogram* h, int64_t value, int64_t expected_interval) in hdr_record_corrected_value_atomic() argument
519 return hdr_record_corrected_values_atomic(h, value, 1, expected_interval); in hdr_record_corrected_value_atomic()
522 …_corrected_values(struct hdr_histogram* h, int64_t value, int64_t count, int64_t expected_interval) in hdr_record_corrected_values() argument
531 if (expected_interval <= 0 || value <= expected_interval) in hdr_record_corrected_values()
536 missing_value = value - expected_interval; in hdr_record_corrected_values()
537 for (; missing_value >= expected_interval; missing_value -= expected_interval) in hdr_record_corrected_values()
548 …ted_values_atomic(struct hdr_histogram* h, int64_t value, int64_t count, int64_t expected_interval) in hdr_record_corrected_values_atomic() argument
557 if (expected_interval <= 0 || value <= expected_interval) in hdr_record_corrected_values_atomic()
[all …]
Dhdr_histogram.h207 …corrected_values(struct hdr_histogram* h, int64_t value, int64_t count, int64_t expected_interval);
224 …ed_values_atomic(struct hdr_histogram* h, int64_t value, int64_t count, int64_t expected_interval);
249 struct hdr_histogram* h, struct hdr_histogram* from, int64_t expected_interval);
/third_party/ffmpeg/libavformat/
Drtpdec.c312 uint32_t expected_interval; in ff_rtp_check_and_send_back_rr() local
349 expected_interval = expected - stats->expected_prior; in ff_rtp_check_and_send_back_rr()
353 lost_interval = expected_interval - received_interval; in ff_rtp_check_and_send_back_rr()
354 if (expected_interval == 0 || lost_interval <= 0) in ff_rtp_check_and_send_back_rr()
357 fraction = (lost_interval << 8) / expected_interval; in ff_rtp_check_and_send_back_rr()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpsource.c1628 guint64 expected_interval, received_interval, ntptime; in rtp_source_get_new_rb() local
1645 expected_interval = expected - stats->prev_expected; in rtp_source_get_new_rb()
1650 lost_interval = expected_interval - received_interval; in rtp_source_get_new_rb()
1652 if (expected_interval == 0 || lost_interval <= 0) in rtp_source_get_new_rb()
1655 fraction = (lost_interval << 8) / expected_interval; in rtp_source_get_new_rb()
/third_party/pulseaudio/src/modules/rtp/
Drfc3550.txt4637 expected_interval = expected - s->expected_prior;
4641 lost_interval = expected_interval - received_interval;
4642 if (expected_interval == 0 || lost_interval <= 0) fraction = 0;
4643 else fraction = (lost_interval << 8) / expected_interval;