FFmpeg
|
Go to the source code of this file.
Functions | |
int64_t | av_gettime (void) |
Get the current time in microseconds. | |
int64_t | av_gettime_relative (void) |
Get the current time in microseconds since some unspecified starting point. | |
int | av_gettime_relative_is_monotonic (void) |
Indicates with a boolean result if the av_gettime_relative() time source is monotonic. | |
int | av_usleep (unsigned usec) |
Sleep for a period of time. | |
int64_t av_gettime | ( | void | ) |
Get the current time in microseconds.
Definition at line 39 of file time.c.
Referenced by audio_get_output_timestamp(), audio_read_packet(), av_gettime_relative(), avf_read_header(), avf_read_packet(), bktr_getframe(), config_input(), convert_timestamp(), enqueue_packet(), etime(), fbdev_read_packet(), ff_ntp_time(), ff_read_packet(), ff_rtp_check_and_send_back_rr(), ff_rtp_send_rtcp_feedback(), ff_rtsp_setup_output_streams(), fill_rand_int(), filter_frame(), gdigrab_read_header(), gdigrab_read_packet(), getutime(), grab_read_header(), grab_read_packet(), hls_read(), http_server(), init_convert_timestamp(), nut_write_packet(), open_input_stream(), parse_playlist(), process_callback(), pulse_get_output_timestamp(), pulse_read_packet(), qtkit_read_header(), qtkit_read_packet(), read_data(), read_packet(), rtcp_parse_packet(), rtp_parse_one_packet(), rtsp_read_packet(), sap_write_header(), seg_write_packet(), select_cur_seq_no(), udp_read(), x11grab_read_header(), and x11grab_read_packet().
int64_t av_gettime_relative | ( | void | ) |
Get the current time in microseconds since some unspecified starting point.
On platforms that support it, the time comes from a monotonic clock This property makes this time source ideal for measuring relative time. If a monotonic clock is not available on the targeted platform, the implementation fallsback on using av_gettime().
Definition at line 56 of file time.c.
Referenced by config_output(), dct_error(), event_loop(), ff_network_wait_fd_timeout(), get_clock(), get_input_packet(), idct248_error(), main(), refresh_loop_wait_event(), retry_transfer_wrapper(), run_opencl_bench(), sap_write_packet(), sdl_audio_callback(), set_clock(), stream_toggle_pause(), test_motion(), transcode(), transcode_init(), video_audio_display(), video_refresh(), and video_thread().
int av_gettime_relative_is_monotonic | ( | void | ) |
Indicates with a boolean result if the av_gettime_relative() time source is monotonic.
int av_usleep | ( | unsigned | usec | ) |
Sleep for a period of time.
Although the duration is expressed in microseconds, the actual delay may be rounded to the precision of the system timer.
usec | Number of microseconds to sleep. |
Definition at line 76 of file time.c.
Referenced by ff_dxva2_common_end_frame(), gdigrab_read_packet(), hls_read(), main(), read_data(), refresh_loop_wait_event(), retry_transfer_wrapper(), rtmp_http_read(), and transcode_step().