Libav
|
Go to the source code of this file.
Functions | |
int64_t | av_gettime (void) |
Get the current time in microseconds. More... | |
int64_t | av_gettime_relative (void) |
Get the current time in microseconds since some unspecified starting point. More... | |
int | av_usleep (unsigned usec) |
Sleep for a period of time. More... | |
int64_t av_gettime | ( | void | ) |
Get the current time in microseconds.
Definition at line 40 of file time.c.
Referenced by audio_read_packet(), av_gettime_relative(), avfoundation_read_header(), avfoundation_read_packet(), bktr_getframe(), config_input(), create_stream(), fbdev_read_packet(), ff_ntp_time(), ff_rtsp_setup_output_streams(), filter_frame(), grab_read_packet(), main(), nut_write_packet(), process_callback(), pulse_read_packet(), sap_write_header(), and wait_frame().
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. The returned values may not be monotonic on platforms where a monotonic clock is not available.
Definition at line 57 of file time.c.
Referenced by dct_error(), enqueue_packet(), ff_rtp_check_and_send_back_rr(), ff_rtp_send_rtcp_feedback(), ff_rtsp_open_transport_ctx(), get_external_clock(), get_input_packet(), get_video_clock(), get_video_frame(), getutime(), hls_read(), idct248_error(), main(), parse_playlist(), print_report(), read_data(), retry_transfer_wrapper(), rtcp_parse_packet(), rtp_parse_one_packet(), rtsp_read_packet(), sap_write_packet(), sdl_audio_callback(), stream_pause(), transcode(), transcode_init(), video_audio_display(), and video_refresh_timer().
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 68 of file time.c.
Referenced by encode_frame(), ff_dxva2_common_end_frame(), hls_read(), input_thread(), main(), process_frame(), process_input(), qsv_decode(), qsv_transfer_data_from(), qsv_transfer_data_to(), qsvscale_filter_frame(), read_data(), refresh_thread(), retry_transfer_wrapper(), rtmp_http_read(), and wait_frame().