Searched refs:bcd2uint (Results 1 – 3 of 3) sorted by relevance
139 static unsigned bcd2uint(uint8_t high, uint8_t low) in bcd2uint() function148 unsigned hh = bcd2uint(line[7] & 0x03, line[6] & 0x0f); // 6-bit hours in make_vitc_tc_string()149 unsigned mm = bcd2uint(line[5] & 0x07, line[4] & 0x0f); // 7-bit minutes in make_vitc_tc_string()150 unsigned ss = bcd2uint(line[3] & 0x07, line[2] & 0x0f); // 7-bit seconds in make_vitc_tc_string()151 unsigned ff = bcd2uint(line[1] & 0x03, line[0] & 0x0f); // 6-bit frames in make_vitc_tc_string()
129 static unsigned bcd2uint(uint8_t bcd) in bcd2uint() function140 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()
1070 static unsigned bcd2uint(uint8_t bcd) in bcd2uint() function1109 unsigned hh = bcd2uint(tcsmpte & 0x3f); // 6-bit hours in ff_alloc_timecode_sei()1110 unsigned mm = bcd2uint(tcsmpte>>8 & 0x7f); // 7-bit minutes in ff_alloc_timecode_sei()1111 unsigned ss = bcd2uint(tcsmpte>>16 & 0x7f); // 7-bit seconds in ff_alloc_timecode_sei()1112 unsigned ff = bcd2uint(tcsmpte>>24 & 0x3f); // 6-bit frames in ff_alloc_timecode_sei()