Searched refs:pcr_base (Results 1 – 2 of 2) sorted by relevance
86 guint64 pcr_base, pcr_ext, pcr, ts; in handle_pcr() local101 pcr_base = (GST_READ_UINT64_BE (data) >> 16) >> (6 + 9); in handle_pcr()103 pcr = pcr_base * 300 + pcr_ext; in handle_pcr()
980 guint64 pcr_base; in tsmux_write_adaptation_field() local983 pcr_base = (pi->pcr / 300); in tsmux_write_adaptation_field()987 TS_DEBUG ("Writing PCR %" G_GUINT64_FORMAT " + ext %u", pcr_base, in tsmux_write_adaptation_field()989 buf[pos++] = (pcr_base >> 25) & 0xff; in tsmux_write_adaptation_field()990 buf[pos++] = (pcr_base >> 17) & 0xff; in tsmux_write_adaptation_field()991 buf[pos++] = (pcr_base >> 9) & 0xff; in tsmux_write_adaptation_field()992 buf[pos++] = (pcr_base >> 1) & 0xff; in tsmux_write_adaptation_field()993 …buf[pos++] = ((pcr_base << 7) & 0x80) | 0x7e | ((pcr_ext >> 8) & 0x01); /* set 6 reserve bits to… in tsmux_write_adaptation_field()