|
FFmpeg
|
timestamp utils, mostly useful for debugging/logging purposes More...
#include "avutil.h"Go to the source code of this file.
Macros | |
| #define | AV_TS_MAX_STRING_SIZE 32 |
| #define | av_ts2str(ts) |
| Convenience macro, the return value should be used only directly in function arguments but never stand-alone. | |
| #define | av_ts2timestr(ts, tb) |
| Convenience macro, the return value should be used only directly in function arguments but never stand-alone. | |
Functions | |
| static char * | av_ts_make_string (char *buf, int64_t ts) |
| Fill the provided buffer with a string containing a timestamp representation. | |
| char * | av_ts_make_time_string2 (char *buf, int64_t ts, AVRational tb) |
| Fill the provided buffer with a string containing a timestamp time representation. | |
| static char * | av_ts_make_time_string (char *buf, int64_t ts, const AVRational *tb) |
| Fill the provided buffer with a string containing a timestamp representation. | |
timestamp utils, mostly useful for debugging/logging purposes
Definition in file timestamp.h.
| #define AV_TS_MAX_STRING_SIZE 32 |
Definition at line 33 of file timestamp.h.
Referenced by av_ts_make_string(), av_ts_make_time_string2(), and main().
| #define av_ts2str | ( | ts | ) |
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
Definition at line 54 of file timestamp.h.
Referenced by adjust_frame_pts_to_encoder_tb(), compute_pkt_fields(), concat_read_packet(), draw_items(), dump_stream_meta(), encode_frame(), evaluate(), ff_gen_search(), ff_seek_frame_binary(), fg_output_step(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame_mode_0(), filter_frame_mode_1(), handle_avoid_negative_ts(), handle_new_packet(), input_packet_process(), log_packet(), log_packet(), main(), main(), mux_log_debug_ts(), read_frame_internal(), seg_write_packet(), send_frame(), showinfo_filter(), update_initial_durations(), video_decode_example(), video_frame_process(), write_packet_common(), and write_skip_frames().
| #define av_ts2timestr | ( | ts, | |
| tb ) |
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
Definition at line 83 of file timestamp.h.
Referenced by activate(), activate(), adjust_frame_pts_to_encoder_tb(), check_black_end(), concat_read_packet(), config_input(), draw_items(), encode_frame(), estimate_timings(), evaluate(), fg_output_step(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame_mode_0(), filter_frame_mode_1(), finish_stream(), input_packet_process(), log_packet(), log_packet(), log_read_interval(), main(), mux_log_debug_ts(), output_audio_frame(), overflow_heartbeat(), read_interval_packets(), receive_for_stream(), report_black_region(), report_new_stream(), seg_write_packet(), showinfo_filter(), sq_send(), update(), update_mono_detection(), update_out_phase_detection(), video_frame(), and video_frame_process().
|
inlinestatic |
Fill the provided buffer with a string containing a timestamp representation.
| buf | a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZE |
| ts | the timestamp to represent |
Definition at line 43 of file timestamp.h.
Referenced by main().
| char * av_ts_make_time_string2 | ( | char * | buf, |
| int64_t | ts, | ||
| AVRational | tb ) |
Fill the provided buffer with a string containing a timestamp time representation.
| buf | a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZE |
| ts | the timestamp to represent |
| tb | the timebase of the timestamp |
Definition at line 21 of file timestamp.c.
Referenced by av_ts_make_time_string(), and main().
|
inlinestatic |
Fill the provided buffer with a string containing a timestamp representation.
Definition at line 73 of file timestamp.h.
Referenced by main().