Home
last modified time | relevance | path

Searched refs:tcsmpte (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavutil/
Dtimecode.c136 char *av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_d… in av_timecode_make_smpte_tc_string2() argument
138 unsigned hh = bcd2uint(tcsmpte & 0x3f); // 6-bit hours in av_timecode_make_smpte_tc_string2()
139 unsigned mm = bcd2uint(tcsmpte>>8 & 0x7f); // 7-bit minutes in av_timecode_make_smpte_tc_string2()
140 unsigned ss = bcd2uint(tcsmpte>>16 & 0x7f); // 7-bit seconds in av_timecode_make_smpte_tc_string2()
141 unsigned ff = bcd2uint(tcsmpte>>24 & 0x3f); // 6-bit frames in av_timecode_make_smpte_tc_string2()
142 unsigned drop = tcsmpte & 1<<30 && !prevent_df; // 1-bit drop if not arbitrary bit in av_timecode_make_smpte_tc_string2()
148 ff += !!(tcsmpte & 1 << 7); in av_timecode_make_smpte_tc_string2()
150 ff += !!(tcsmpte & 1 << 23); in av_timecode_make_smpte_tc_string2()
160 char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df) in av_timecode_make_smpte_tc_string() argument
162 return av_timecode_make_smpte_tc_string2(buf, (AVRational){30, 1}, tcsmpte, prevent_df, 1); in av_timecode_make_smpte_tc_string()
Dtimecode.h127 char *av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_d…
138 char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df);
/third_party/ffmpeg/libavcodec/
Dutils.c1128 uint32_t tcsmpte = tc[j]; in ff_alloc_timecode_sei() local
1129 unsigned hh = bcd2uint(tcsmpte & 0x3f); // 6-bit hours in ff_alloc_timecode_sei()
1130 unsigned mm = bcd2uint(tcsmpte>>8 & 0x7f); // 7-bit minutes in ff_alloc_timecode_sei()
1131 unsigned ss = bcd2uint(tcsmpte>>16 & 0x7f); // 7-bit seconds in ff_alloc_timecode_sei()
1132 unsigned ff = bcd2uint(tcsmpte>>24 & 0x3f); // 6-bit frames in ff_alloc_timecode_sei()
1133 unsigned drop = tcsmpte & 1<<30 && !0; // 1-bit drop if not arbitrary bit in ff_alloc_timecode_sei()
1140 pc = !!(tcsmpte & 1 << 7); in ff_alloc_timecode_sei()
1142 pc = !!(tcsmpte & 1 << 23); in ff_alloc_timecode_sei()