Go to the source code of this file.
Macros
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
More...
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
More...
Functions
Fill the provided buffer with a string containing a timestamp representation.
More...
Fill the provided buffer with a string containing a timestamp time representation.
More...
Fill the provided buffer with a string containing a timestamp representation.
More...
Detailed Description
timestamp utils, mostly useful for debugging/logging purposes
Definition in file timestamp.h.
Macro Definition Documentation
◆ AV_TS_MAX_STRING_SIZE
#define AV_TS_MAX_STRING_SIZE 32
◆ av_ts2str
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
- Examples
- mux.c, and remux.c.
Definition at line 54 of file timestamp.h.
◆ av_ts2timestr
#define av_ts2timestr
(
ts,
Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
- Examples
- demux_decode.c, mux.c, and remux.c.
Definition at line 83 of file timestamp.h.
Function Documentation
◆ av_ts_make_string()
static char* av_ts_make_string
(
char *
buf,
)
inlinestatic
Fill the provided buffer with a string containing a timestamp representation.
- Parameters
-
buf a buffer with size in bytes of at least AV_TS_MAX_STRING_SIZE
ts the timestamp to represent
- Returns
- the buffer in input
Definition at line 43 of file timestamp.h.
◆ av_ts_make_time_string2()
char* av_ts_make_time_string2
(
char *
buf,
)
Fill the provided buffer with a string containing a timestamp time representation.
- Parameters
-
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
- Returns
- the buffer in input
Definition at line 21 of file timestamp.c.
Referenced by av_ts_make_time_string().
◆ av_ts_make_time_string()
static char* av_ts_make_time_string
(
char *
buf,
)
inlinestatic