Searched refs:tcsmpte (Results 1 - 3 of 3) sorted by relevance
/third_party/ffmpeg/libavutil/ |
H A D | timecode.c | 138 char *av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_df, int skip_field) in av_timecode_make_smpte_tc_string2() argument 140 unsigned hh = bcd2uint(tcsmpte & 0x3f); // 6-bit hours in av_timecode_make_smpte_tc_string2() 141 unsigned mm = bcd2uint(tcsmpte>>8 & 0x7f); // 7-bit minutes in av_timecode_make_smpte_tc_string2() 142 unsigned ss = bcd2uint(tcsmpte>>16 & 0x7f); // 7-bit seconds in av_timecode_make_smpte_tc_string2() 143 unsigned ff = bcd2uint(tcsmpte>>24 & 0x3f); // 6-bit frames in av_timecode_make_smpte_tc_string2() 144 unsigned drop = tcsmpte & 1<<30 && !prevent_df; // 1-bit drop if not arbitrary bit in av_timecode_make_smpte_tc_string2() 150 ff += !!(tcsmpte & 1 << 7); in av_timecode_make_smpte_tc_string2() 152 ff += !!(tcsmpte & 1 << 23); in av_timecode_make_smpte_tc_string2() 162 char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df) in av_timecode_make_smpte_tc_string() argument 164 return av_timecode_make_smpte_tc_string2(buf, (AVRational){30, 1}, tcsmpte, prevent_d in av_timecode_make_smpte_tc_string() [all...] |
H A D | timecode.h | 120 * @param tcsmpte the 32-bit SMPTE timecode 127 char *av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_df, int skip_field); 133 * @param tcsmpte the 32-bit SMPTE timecode 138 char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df);
|
/third_party/ffmpeg/libavcodec/ |
H A D | utils.c | 1111 uint32_t tcsmpte = tc[j]; in ff_alloc_timecode_sei() local 1112 unsigned hh = bcd2uint(tcsmpte & 0x3f); // 6-bit hours in ff_alloc_timecode_sei() 1113 unsigned mm = bcd2uint(tcsmpte>>8 & 0x7f); // 7-bit minutes in ff_alloc_timecode_sei() 1114 unsigned ss = bcd2uint(tcsmpte>>16 & 0x7f); // 7-bit seconds in ff_alloc_timecode_sei() 1115 unsigned ff = bcd2uint(tcsmpte>>24 & 0x3f); // 6-bit frames in ff_alloc_timecode_sei() 1116 unsigned drop = tcsmpte & 1<<30 && !0; // 1-bit drop if not arbitrary bit in ff_alloc_timecode_sei() 1123 pc = !!(tcsmpte & 1 << 7); in ff_alloc_timecode_sei() 1125 pc = !!(tcsmpte & 1 << 23); in ff_alloc_timecode_sei()
|
Completed in 4 milliseconds