FFmpeg
|
#include <stdint.h>


Go to the source code of this file.
Functions | |
int64_t | av_gettime (void) |
Get the current time in microseconds. More... | |
int | av_usleep (unsigned usec) |
Sleep for a period of time. More... | |
Function Documentation
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_des_mac(), bktr_getframe(), config_input(), convert_timestamp(), dct_error(), enqueue_packet(), etime(), event_loop(), fbdev_read_packet(), ff_network_wait_fd_timeout(), ff_ntp_time(), ff_read_packet(), ff_rtp_check_and_send_back_rr(), ff_rtp_send_rtcp_feedback(), ff_rtsp_open_transport_ctx(), ff_rtsp_setup_output_streams(), filter_frame(), get_audio_clock(), get_external_clock(), get_video_clock(), get_video_frame(), getutime(), grab_read_header(), grab_read_packet(), hls_read(), http_server(), idct248_error(), init_convert_timestamp(), main(), open_input_stream(), parse_playlist(), process_callback(), rate_emu_sleep(), read_data(), read_packet(), refresh_loop_wait_event(), retry_transfer_wrapper(), rtcp_parse_packet(), rtp_parse_one_packet(), rtsp_read_packet(), sap_write_header(), sap_write_packet(), sdl_audio_callback(), stream_open(), stream_toggle_pause(), tcp_open(), test_motion(), transcode(), transcode_init(), udp_read(), update_external_clock_pts(), update_video_pts(), video_audio_display(), video_refresh(), video_thread(), x11grab_read_header(), and x11grab_read_packet().
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.
- Parameters
-
usec Number of microseconds to sleep.
- Returns
- zero on success or (negative) error code.
Definition at line 56 of file time.c.
Referenced by hls_read(), input_thread(), main(), rate_emu_sleep(), read_data(), refresh_loop_wait_event(), retry_transfer_wrapper(), rtmp_http_read(), and transcode_step().
Generated on Fri Feb 21 2025 06:53:58 for FFmpeg by
