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

Function av_timecode_make_mpeg_tc_string

libavutil/timecode.c:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147char *av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit)
148{
149 snprintf(buf, AV_TIMECODE_STR_SIZE,
150 "%02"PRIu32":%02"PRIu32":%02"PRIu32"%c%02"PRIu32,
151 tc25bit>>19 & 0x1f, // 5-bit hours
152 tc25bit>>13 & 0x3f, // 6-bit minutes
153 tc25bit>>6 & 0x3f, // 6-bit seconds
154 tc25bit & 1<<24 ? ';' : ':', // 1-bit drop flag
155 tc25bit & 0x3f); // 6-bit frames
156 return buf;
157}
158
159static int check_fps(int fps)
160{

Callers 4

print_frame_side_dataFunction · 0.85
mpeg_decode_gopFunction · 0.85
mpeg_decode_frameFunction · 0.85
filter_frameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected