MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_timecode_make_smpte_tc_string2

Function av_timecode_make_smpte_tc_string2

libavutil/timecode.c:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131char *av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_df, int skip_field)
132{
133 unsigned hh, mm, ss, ff, drop;
134 ff_timecode_set_smpte(&drop, &hh, &mm, &ss, &ff, rate, tcsmpte, prevent_df, skip_field);
135
136 snprintf(buf, AV_TIMECODE_STR_SIZE, "%02u:%02u:%02u%c%02u",
137 hh, mm, ss, drop ? ';' : ':', ff);
138 return buf;
139
140}
141
142char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df)
143{

Callers 9

dump_s12m_timecodeFunction · 0.85
wsd_read_headerFunction · 0.85
dv_extract_timecodeFunction · 0.85
print_frame_side_dataFunction · 0.85
h264_export_frame_propsFunction · 0.85
decode_frameFunction · 0.85
set_side_dataFunction · 0.85
dump_s12m_timecodeFunction · 0.85

Calls 1

ff_timecode_set_smpteFunction · 0.85

Tested by

no test coverage detected