Home
last modified time | relevance | path

Searched refs:av_gettime_relative (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavformat/
Dnetwork.c91 wait_start = av_gettime_relative(); in ff_network_wait_fd_timeout()
92 else if (av_gettime_relative() - wait_start > timeout) in ff_network_wait_fd_timeout()
100 int64_t wait_start = av_gettime_relative(); in ff_network_sleep_interruptible()
108 time_left = timeout - (av_gettime_relative() - wait_start); in ff_network_sleep_interruptible()
369 attempt->deadline_us = av_gettime_relative() + timeout_ms * 1000; in start_connect_attempt()
410 int64_t next_attempt_us = av_gettime_relative(), next_deadline_us; in ff_connect_parallel()
450 next_attempt_us = av_gettime_relative() + NEXT_ATTEMPT_DELAY_MS * 1000; in ff_connect_parallel()
462 (next_deadline_us - av_gettime_relative())/1000, in ff_connect_parallel()
493 if (attempts[i].deadline_us < av_gettime_relative() && !last_err) in ff_connect_parallel()
Dfifo.c309 ctx->last_recovery_ts = av_gettime_relative(); in fifo_thread_process_recovery_failure()
357 time_since_recovery = av_gettime_relative() - ctx->last_recovery_ts; in fifo_thread_attempt_recovery()
404 int64_t time_since_recovery = av_gettime_relative() - ctx->last_recovery_ts; in fifo_thread_recover()
625 int64_t now = av_gettime_relative(); in fifo_write_trailer()
629 int64_t delay = av_gettime_relative() - now; in fifo_write_trailer()
632 now = av_gettime_relative(); in fifo_write_trailer()
Dhlsproto.c167 s->last_load_time = av_gettime_relative(); in parse_playlist()
270 int64_t now = av_gettime_relative(); in hls_read()
289 while (av_gettime_relative() - s->last_load_time < reload_interval) { in hls_read()
Dlibzmq.c73 wait_start = av_gettime_relative(); in zmq_proto_wait_timeout()
74 else if (av_gettime_relative() - wait_start > timeout) in zmq_proto_wait_timeout()
Drtpdec.c199 s->last_rtcp_reception_time = av_gettime_relative(); in rtcp_parse_packet()
379 uint32_t delay_since_last = av_rescale(av_gettime_relative() - s->last_rtcp_reception_time, in ff_rtp_check_and_send_back_rr()
490 now = av_gettime_relative(); in ff_rtp_send_rtcp_feedback()
809 packet->recvtime = av_gettime_relative(); in enqueue_packet()
894 int64_t received = av_gettime_relative(); in rtp_parse_one_packet()
Davio.c382 wait_since = av_gettime_relative(); in retry_transfer_wrapper()
383 else if (av_gettime_relative() > wait_since + h->rw_timeout) in retry_transfer_wrapper()
Dudp.c549 int64_t target_timestamp = av_gettime_relative(); in circular_buffer_task_tx()
550 int64_t start_timestamp = av_gettime_relative(); in circular_buffer_task_tx()
589 timestamp = av_gettime_relative(); in circular_buffer_task_tx()
Dsapenc.c258 int64_t now = av_gettime_relative(); in sap_write_packet()
Dlibsrt.c229 wait_start = av_gettime_relative(); in libsrt_network_wait_fd_timeout()
230 else if (av_gettime_relative() - wait_start > timeout) in libsrt_network_wait_fd_timeout()
Drtsp.c1295 rt->last_cmd_time = av_gettime_relative(); in ff_rtsp_read_reply()
1394 rt->last_cmd_time = av_gettime_relative(); in rtsp_send_cmd_with_content_async()
2085 if (wait_end && wait_end - av_gettime_relative() < 0) in udp_read_packet()
2183 wait_end && wait_end < av_gettime_relative()) in read_packet()
Dhls.c1028 pls->last_load_time = av_gettime_relative(); in parse_playlist()
1503 av_gettime_relative() - v->last_load_time >= reload_interval) { in read_data()
1535 while (av_gettime_relative() - v->last_load_time < reload_interval) { in read_data()
1719 av_gettime_relative() - pls->last_load_time >= default_reload_interval(pls)) in select_cur_seq_no()
/third_party/ffmpeg/libavcodec/tests/
Dmotion.c95 ti = av_gettime_relative(); in test_motion()
107 ti = av_gettime_relative() - ti; in test_motion()
Ddct.c274 ti = av_gettime_relative(); in dct_error()
283 ti1 = av_gettime_relative() - ti; in dct_error()
435 ti = av_gettime_relative(); in idct248_error()
445 ti1 = av_gettime_relative() - ti; in idct248_error()
Dfft.c592 time_start = av_gettime_relative(); in main()
617 duration = av_gettime_relative() - time_start; in main()
/third_party/ffmpeg/tools/
Daviocat.c111 start_time = av_gettime_relative(); in main()
127 while ((av_gettime_relative() - start_time) * bps / AV_TIME_BASE < stream_pos) in main()
/third_party/ffmpeg/libavutil/
Dtime.h38 int64_t av_gettime_relative(void);
Dtime.c56 int64_t av_gettime_relative(void) in av_gettime_relative() function
/third_party/ffmpeg/libavformat/tests/
Dfifo_muxer.c142 write_pkt_start = av_gettime_relative(); in fifo_overflow_drop_test()
157 write_pkt_end = av_gettime_relative(); in fifo_overflow_drop_test()
/third_party/ffmpeg/libavdevice/
Dfbdev_dec.c159 fbdev->time_frame = av_gettime_relative(); in fbdev_read_packet()
163 curtime = av_gettime_relative(); in fbdev_read_packet()
Dbktr.c228 curtime = av_gettime_relative(); in bktr_getframe()
235 (int)(av_gettime_relative() - last_frame_time - per_frame)); in bktr_getframe()
Dgdigrab.c410 gdigrab->time_frame = av_gettime_relative() / av_q2d(gdigrab->time_base); in gdigrab_read_header()
567 curtime = av_gettime_relative(); in gdigrab_read_packet()
Dkmsgrab.c271 now = av_gettime_relative(); in kmsgrab_read_packet()
279 now = av_gettime_relative(); in kmsgrab_read_packet()
Dxcbgrab.c209 curtime = av_gettime_relative(); in wait_frame()
617 c->time_frame = av_gettime_relative(); in create_stream()
/third_party/ffmpeg/fftools/
Dffplay.c1074 time_diff = av_gettime_relative() - audio_callback_time; in video_audio_display()
1370 double time = av_gettime_relative() / 1000000.0; in get_clock()
1385 double time = av_gettime_relative() / 1000000.0; in set_clock()
1478 is->frame_timer += av_gettime_relative() / 1000000.0 - is->vidclk.last_updated; in stream_toggle_pause()
1574 time = av_gettime_relative() / 1000000.0; in video_refresh()
1600 is->frame_timer = av_gettime_relative() / 1000000.0; in video_refresh()
1609 time= av_gettime_relative()/1000000.0; in video_refresh()
1687 cur_time = av_gettime_relative(); in video_refresh()
2187 is->frame_last_returned_time = av_gettime_relative() / 1000000.0; in video_thread()
2197 … is->frame_last_filter_delay = av_gettime_relative() / 1000000.0 - is->frame_last_returned_time; in video_thread()
[all …]
/third_party/ffmpeg/libavfilter/
Df_realtime.c44 int64_t now = av_gettime_relative(); in filter_frame()

12