Lines Matching refs:val8
54 guint8 val8, flags; in mpegts_parse_pes_header() local
101 val8 = *data++; in mpegts_parse_pes_header()
102 if (G_UNLIKELY ((val8 & 0xc0) != 0x80)) in mpegts_parse_pes_header()
104 res->scrambling_control = (val8 >> 4) & 0x3; in mpegts_parse_pes_header()
105 res->flags = val8 & 0xf; in mpegts_parse_pes_header()
109 val8 & 0x08 ? "priority " : "", in mpegts_parse_pes_header()
110 val8 & 0x04 ? "data_alignment " : "", in mpegts_parse_pes_header()
111 val8 & 0x02 ? "copyright " : "", in mpegts_parse_pes_header()
112 val8 & 0x01 ? "original_or_copy " : "", val8 & 0x0f ? "" : "<none>"); in mpegts_parse_pes_header()
201 val8 = *data++; in mpegts_parse_pes_header()
204 res->trick_mode = val8 >> 5; in mpegts_parse_pes_header()
210 res->intra_slice_refresh = (val8 >> 2) & 0x1; in mpegts_parse_pes_header()
211 res->frequency_truncation = val8 & 0x3; in mpegts_parse_pes_header()
214 res->field_id = (val8 >> 3) & 0x3; in mpegts_parse_pes_header()
218 res->rep_cntrl = val8 & 0x1f; in mpegts_parse_pes_header()
229 val8 = *data++; in mpegts_parse_pes_header()
232 if (G_UNLIKELY (!(val8 & 0x80))) in mpegts_parse_pes_header()
234 res->additional_copy_info = val8 & 0x7f; in mpegts_parse_pes_header()
281 val8 = *data++; in mpegts_parse_pes_header()
283 if (G_UNLIKELY (length < val8)) in mpegts_parse_pes_header()
285 res->pack_header_size = val8; in mpegts_parse_pes_header()
290 data += val8; in mpegts_parse_pes_header()
291 length -= val8; in mpegts_parse_pes_header()
299 val8 = *data++; in mpegts_parse_pes_header()
300 if (G_UNLIKELY ((val8 & 0x80) != 0x80)) in mpegts_parse_pes_header()
302 res->program_packet_sequence_counter = val8 & 0x7f; in mpegts_parse_pes_header()
306 val8 = *data++; in mpegts_parse_pes_header()
307 if (G_UNLIKELY ((val8 & 0x80) != 0x80)) in mpegts_parse_pes_header()
309 res->MPEG1_MPEG2_identifier = (val8 >> 6) & 0x1; in mpegts_parse_pes_header()
310 res->original_stuff_length = val8 & 0x3f; in mpegts_parse_pes_header()
324 val8 = *data; in mpegts_parse_pes_header()
325 if (G_UNLIKELY ((val8 & 0xc0) != 0x40)) in mpegts_parse_pes_header()
333 (GST_READ_UINT16_BE (data) & 0x1fff) << ((val8 & 0x20) ? 10 : 7); in mpegts_parse_pes_header()
347 val8 = *data++; in mpegts_parse_pes_header()
350 if (!(val8 & 0x80)) in mpegts_parse_pes_header()
353 res->extension_field_length = val8 & 0x7f; in mpegts_parse_pes_header()
412 val8); in mpegts_parse_pes_header()
432 GST_WARNING ("Invalid original_copy_info marker bit: 0x%0x", val8); in mpegts_parse_pes_header()
436 GST_WARNING ("Invalid program_packet_sequence_counter marker 0x%0x", val8); in mpegts_parse_pes_header()
440 GST_WARNING ("Invalid program_packet_sequence_counter marker 0x%0x", val8); in mpegts_parse_pes_header()
444 GST_WARNING ("Invalid P-STD_buffer marker 0x%0x", val8); in mpegts_parse_pes_header()
448 GST_WARNING ("Invalid extension_field_2 marker 0x%0x", val8); in mpegts_parse_pes_header()