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

Function av_timecode_init

libavutil/timecode.c:201–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx)
202{
203 memset(tc, 0, sizeof(*tc));
204 tc->start = frame_start;
205 tc->flags = flags;
206 tc->rate = rate;
207 tc->fps = fps_from_frame_rate(rate);
208 return check_timecode(log_ctx, tc);
209}
210
211int av_timecode_init_from_components(AVTimecode *tc, AVRational rate, int flags, int hh, int mm, int ss, int ff, void *log_ctx)
212{

Callers 7

mcc_initFunction · 0.85
mxf_init_timecodeFunction · 0.85
time_tracker_initFunction · 0.85
dv_write_headerFunction · 0.85

Calls 2

fps_from_frame_rateFunction · 0.85
check_timecodeFunction · 0.85

Tested by

no test coverage detected