#include "common.h"
Go to the source code of this file.
Defines | |
#define | AV_TS_MAX_STRING_SIZE 32 |
#define | AV_TS_MAX_STRING_SIZE 32 |
#define | av_ts2str(ts) av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts) |
Convenience macro, the return value should be used only directly in function arguments but never stand-alone. | |
#define | av_ts2timestr(ts, tb) av_ts_make_time_string((char[AV_TS_MAX_STRING_SIZE]){0}, 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. | |
static char * | av_ts_make_time_string (char *buf, int64_t ts, AVRational *tb) |
Fill the provided buffer with a string containing a timestamp time representation. |
Definition in file timestamp.h.
#define av_ts2str | ( | ts | ) | av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts) |
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
Definition at line 51 of file timestamp.h.
Referenced by av_interleaved_write_frame(), compute_pkt_fields2(), do_audio_out(), do_video_out(), end_frame(), ff_gen_search(), ff_seek_frame_binary(), filter_samples(), read_frame_internal(), start_frame(), transcode(), and update_initial_durations().
#define av_ts2timestr | ( | ts, | |||
tb | ) | av_ts_make_time_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts, tb) |
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
Definition at line 73 of file timestamp.h.
Referenced by config_input(), do_audio_out(), do_video_out(), end_frame(), filter_samples(), start_frame(), and transcode().
#define AV_TS_MAX_STRING_SIZE 32 |
Definition at line 30 of file timestamp.h.
#define AV_TS_MAX_STRING_SIZE 32 |
Definition at line 30 of file timestamp.h.
Referenced by av_ts_make_string(), and av_ts_make_time_string().
static char* av_ts_make_string | ( | char * | buf, | |
int64_t | ts | |||
) | [inline, static] |
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 40 of file timestamp.h.
static char* av_ts_make_time_string | ( | char * | buf, | |
int64_t | ts, | |||
AVRational * | tb | |||
) | [inline, static] |
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 62 of file timestamp.h.