• Home
  • Raw
  • Download

Lines Matching full:timeout

65   if (GST_CLOCK_TIME_IS_VALID (next->timeout)) {  in rtp_timer_is_later()
66 if (!GST_CLOCK_TIME_IS_VALID (timer->timeout)) in rtp_timer_is_later()
69 if (timer->timeout > next->timeout) in rtp_timer_is_later()
73 if (timer->timeout == next->timeout && in rtp_timer_is_later()
86 if (GST_CLOCK_TIME_IS_VALID (prev->timeout)) { in rtp_timer_is_sooner()
87 if (!GST_CLOCK_TIME_IS_VALID (timer->timeout)) in rtp_timer_is_sooner()
90 if (timer->timeout < prev->timeout) in rtp_timer_is_sooner()
94 if (timer->timeout == prev->timeout && in rtp_timer_is_sooner()
117 if (prev->timeout == head->timeout) { in rtp_timer_is_closer_to_head()
127 if (GST_CLOCK_TIME_IS_VALID (timer->timeout) && in rtp_timer_is_closer_to_head()
128 GST_CLOCK_TIME_IS_VALID (head->timeout)) { in rtp_timer_is_closer_to_head()
129 prev_delta = GST_CLOCK_DIFF (timer->timeout, prev->timeout); in rtp_timer_is_closer_to_head()
130 head_delta = GST_CLOCK_DIFF (head->timeout, timer->timeout); in rtp_timer_is_closer_to_head()
155 if (tail->timeout == next->timeout) { in rtp_timer_is_closer_to_tail()
165 if (GST_CLOCK_TIME_IS_VALID (timer->timeout) && in rtp_timer_is_closer_to_tail()
166 GST_CLOCK_TIME_IS_VALID (next->timeout)) { in rtp_timer_is_closer_to_tail()
167 tail_delta = GST_CLOCK_DIFF (timer->timeout, tail->timeout); in rtp_timer_is_closer_to_tail()
168 next_delta = GST_CLOCK_DIFF (next->timeout, timer->timeout); in rtp_timer_is_closer_to_tail()
243 if (!GST_CLOCK_TIME_IS_VALID (it->timeout)) in rtp_timer_queue_insert_tail()
246 if (timer->timeout > it->timeout) in rtp_timer_queue_insert_tail()
249 if (timer->timeout == it->timeout && in rtp_timer_queue_insert_tail()
256 /* the queue is empty, or this is the earliest timeout */ in rtp_timer_queue_insert_tail()
269 if (GST_CLOCK_TIME_IS_VALID (it->timeout)) { in rtp_timer_queue_insert_head()
270 if (!GST_CLOCK_TIME_IS_VALID (timer->timeout)) in rtp_timer_queue_insert_head()
273 if (timer->timeout < it->timeout) in rtp_timer_queue_insert_head()
277 if (timer->timeout == it->timeout && in rtp_timer_queue_insert_head()
371 * Rerturns: the #RtpTimer with earliest timeout value
414 if (timer->timeout == -1) in rtp_timer_queue_insert()
433 * of the timeout will occure.
498 * @timeout: Time at witch timers expired
500 * Unschdedule and return the earliest packet that has a timeout smaller or
501 * equal to @timeout. The returns #RtpTimer must be freed with
504 * Returns: an expired timer according to @timeout, or %NULL.
507 rtp_timer_queue_pop_until (RtpTimerQueue * queue, GstClockTime timeout) in rtp_timer_queue_pop_until() argument
515 if (!GST_CLOCK_TIME_IS_VALID (timer->timeout) || timer->timeout <= timeout) { in rtp_timer_queue_pop_until()
526 * @timeout: Time at witch timers expired
528 * Unschedule and free all timers that has a timeout smaller or equal to
529 * @timeout.
532 rtp_timer_queue_remove_until (RtpTimerQueue * queue, GstClockTime timeout) in rtp_timer_queue_remove_until() argument
536 while ((timer = rtp_timer_queue_pop_until (queue, timeout))) { in rtp_timer_queue_remove_until()
538 GST_TIME_FORMAT, timer->seqnum, GST_TIME_ARGS (timer->timeout), in rtp_timer_queue_remove_until()
539 GST_TIME_ARGS (timeout)); in rtp_timer_queue_remove_until()
561 * @timeout: the timer timeout
562 * @delay: the additional delay (will be added to @timeout)
564 * @offset: offset that can be used to convert the timeout to timestamp
572 guint16 seqnum, GstClockTime timeout, GstClockTime delay, in rtp_timer_queue_set_timer() argument
584 timer->rtx_base = timeout; in rtp_timer_queue_set_timer()
595 if (timeout == -1) in rtp_timer_queue_set_timer()
596 timer->timeout = -1; in rtp_timer_queue_set_timer()
598 timer->timeout = timeout + delay + offset; in rtp_timer_queue_set_timer()
613 * @timeout: the timer timeout
614 * @delay: the additional delay (will be added to @timeout)
623 GstClockTime timeout, GstClockTime delay, GstClockTime duration) in rtp_timer_queue_set_expected() argument
625 rtp_timer_queue_set_timer (queue, RTP_TIMER_EXPECTED, seqnum, timeout, in rtp_timer_queue_set_expected()
633 * @timeout: the timer timeout
635 * @offset: offset that can be used to convert the timeout to timestamp
642 GstClockTime timeout, GstClockTime duration, GstClockTimeDiff offset) in rtp_timer_queue_set_lost() argument
644 rtp_timer_queue_set_timer (queue, RTP_TIMER_LOST, seqnum, timeout, 0, in rtp_timer_queue_set_lost()
651 * @timeout: the timer timeout
652 * @offset: offset that can be used to convert the timeout to timestamp
659 rtp_timer_queue_set_eos (RtpTimerQueue * queue, GstClockTime timeout, in rtp_timer_queue_set_eos() argument
662 rtp_timer_queue_set_timer (queue, RTP_TIMER_EOS, -1, timeout, 0, 0, offset); in rtp_timer_queue_set_eos()
669 * @timeout: the timer timeout
670 * @offset: offset that can be used to convert the timeout to timestamp
678 GstClockTime timeout, GstClockTimeDiff offset) in rtp_timer_queue_set_deadline() argument
680 rtp_timer_queue_set_timer (queue, RTP_TIMER_DEADLINE, seqnum, timeout, 0, in rtp_timer_queue_set_deadline()
688 * @timeout: the timer timeout
689 * @delay: the additional delay (will be added to @timeout)
690 * @offset: offset that can be used to convert the timeout to timestamp
697 guint16 seqnum, GstClockTime timeout, GstClockTime delay, in rtp_timer_queue_update_timer() argument
704 GST_TIME_ARGS (timer->rtx_base), GST_TIME_ARGS (timeout)); in rtp_timer_queue_update_timer()
705 timer->rtx_base = timeout; in rtp_timer_queue_update_timer()
718 if (timeout == -1) in rtp_timer_queue_update_timer()
719 timer->timeout = -1; in rtp_timer_queue_update_timer()
721 timer->timeout = timeout + delay + offset; in rtp_timer_queue_update_timer()