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... | |
int64_t | av_gettime_relative (void) |
Get the current time in microseconds since some unspecified starting point. More... | |
int | av_gettime_relative_is_monotonic (void) |
Indicates with a boolean result if the av_gettime_relative() time source is monotonic. 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 39 of file time.c.
Referenced by activate(), audio_get_output_timestamp(), audio_read_packet(), av_gettime_relative(), av_parse_time(), config_input(), convert_timestamp(), dash_parse_prft(), dash_write_packet(), etime(), eval_pts(), fbdev_read_packet(), ff_ntp_time(), ff_print_time(), ff_rtsp_setup_output_streams(), filter_frame(), gdigrab_read_packet(), get_cookies(), get_current_time_in_sec(), grab_read_packet(), hls_init(), init_convert_timestamp(), kmsgrab_read_packet(), main(), nut_write_packet(), parse_cookie(), process_callback(), pthread_cond_timedwait(), pulse_get_output_timestamp(), pulse_read_packet(), read_packet(), sap_write_header(), sch_wait(), seg_write_packet(), setup_frame(), udp_read(), update_timestamps(), decklink_input_callback::VideoInputFrameArrived(), write_manifest(), and xcbgrab_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. The returned values may not be monotonic on platforms where a monotonic clock is not available.
Definition at line 56 of file time.c.
Referenced by audio_decode_frame(), bktr_getframe(), create_stream(), dct_error(), ddagrab_config_props(), ddagrab_request_frame(), encode_frame(), enqueue_packet(), event_loop(), fbdev_read_packet(), ff_connect_parallel(), ff_network_sleep_interruptible(), ff_network_wait_fd_timeout(), ff_rtp_check_and_send_back_rr(), ff_rtp_send_rtcp_feedback(), fg_output_step(), fifo_overflow_drop_test(), fifo_thread_attempt_recovery(), fifo_thread_process_recovery_failure(), fifo_thread_recover(), fifo_write_trailer(), filter_frame(), gdigrab_read_header(), gdigrab_read_packet(), get_benchmark_time_stamps(), get_clock(), hls_read(), idct248_error(), input_packet_process(), input_thread(), kmsgrab_read_packet(), libsrt_network_wait_fd_timeout(), main(), mux_log_debug_ts(), packet_decode(), parse_playlist(), plot_cqt(), read_data(), readrate_sleep(), refresh_loop_wait_event(), retry_transfer_wrapper(), rtcp_parse_packet(), rtp_parse_one_packet(), rtsp_read_packet(), sap_write_packet(), sdl_audio_callback(), select_cur_seq_no(), send_frame(), set_clock(), start_connect_attempt(), stream_toggle_pause(), test_motion(), transcode(), video_audio_display(), video_refresh(), video_thread(), decklink_input_callback::VideoInputFrameArrived(), wait_frame(), and zmq_proto_wait_timeout().
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 84 of file time.c.
Referenced by activate(), audio_decode_frame(), ddagrab_request_frame(), decklink_autodetect(), dnn_classify_flush_frame(), dnn_detect_flush_frame(), encode_frame(), ff_amf_receive_packet(), ff_dxva2_common_end_frame(), ff_network_sleep_interruptible(), ff_qsvvpp_filter_frame(), fifo_consumer_thread(), fifo_test_packet(), fifo_thread_recover(), fifo_write_trailer(), filter_frame(), flush_frame(), gdigrab_read_packet(), hls_read(), input_thread(), kmsgrab_read_packet(), main(), mf_init_encoder(), qsv_decode(), qsv_transfer_data_from(), qsv_transfer_data_to(), read_data(), read_packet(), readrate_sleep(), refresh_loop_wait_event(), retry_transfer_wrapper(), rtmp_http_read(), and wait_frame().