#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | AVUTIL_TIME_H |
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... | |
#define AVUTIL_TIME_H |
int64_t av_gettime | ( | void | ) |
Get the current time in microseconds.
Definition at line 37 of file time.c.
Referenced by audio_read_packet(), bktr_getframe(), dct_error(), enqueue_packet(), fbdev_read_packet(), ff_ntp_time(), ff_rtsp_setup_output_streams(), get_external_clock(), get_video_clock(), get_video_frame(), getutime(), grab_read_packet(), hls_read(), http_server(), idct248_error(), main(), open_input_stream(), parse_playlist(), print_report(), process_callback(), rate_emu_sleep(), read_data(), rtsp_read_packet(), sap_write_header(), sap_write_packet(), sdl_audio_callback(), stream_pause(), transcode(), transcode_init(), video_audio_display(), video_refresh_timer(), 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.
usec | Number of microseconds to sleep. |
Definition at line 54 of file time.c.
Referenced by hls_read(), main(), process_input(), rate_emu_sleep(), read_data(), refresh_thread(), retry_transfer_wrapper(), and rtmp_http_read().