Lines Matching refs:br
42 GstByteReader br; in qtdemux_webvtt_is_empty() local
46 gst_byte_reader_init (&br, data, size); in qtdemux_webvtt_is_empty()
47 if (gst_byte_reader_get_remaining (&br) < 8) in qtdemux_webvtt_is_empty()
50 if (!gst_byte_reader_get_uint32_be (&br, &atom_size) || in qtdemux_webvtt_is_empty()
51 !qt_atom_parser_get_fourcc (&br, &atom_type)) in qtdemux_webvtt_is_empty()
95 webvtt_decode_vttc (GstQTDemux * qtdemux, GstByteReader * br, in webvtt_decode_vttc() argument
101 while (gst_byte_reader_get_remaining (br) >= 8) { in webvtt_decode_vttc()
106 if (!gst_byte_reader_get_uint32_be (br, &atom_size) || in webvtt_decode_vttc()
107 !qt_atom_parser_get_fourcc (br, &atom_type)) in webvtt_decode_vttc()
110 if (gst_byte_reader_get_remaining (br) < atom_size - 8) in webvtt_decode_vttc()
112 next_pos = gst_byte_reader_get_pos (br) - 8 + atom_size; in webvtt_decode_vttc()
119 if (!gst_byte_reader_get_data (br, atom_size - 8, &cue.cue_time)) in webvtt_decode_vttc()
124 if (!gst_byte_reader_get_data (br, atom_size - 8, &cue.cue_id)) in webvtt_decode_vttc()
129 if (!gst_byte_reader_get_data (br, atom_size - 8, &cue.settings)) in webvtt_decode_vttc()
134 if (!gst_byte_reader_get_data (br, atom_size - 8, &cue.cue_text)) in webvtt_decode_vttc()
141 if (!gst_byte_reader_set_pos (br, next_pos)) in webvtt_decode_vttc()
169 GstByteReader br; in qtdemux_webvtt_decode() local
173 gst_byte_reader_init (&br, data, size); in qtdemux_webvtt_decode()
174 while (gst_byte_reader_get_remaining (&br) >= 8) { in qtdemux_webvtt_decode()
179 if (!gst_byte_reader_get_uint32_be (&br, &atom_size) || in qtdemux_webvtt_decode()
180 !qt_atom_parser_get_fourcc (&br, &atom_type)) in qtdemux_webvtt_decode()
183 if (gst_byte_reader_get_remaining (&br) < atom_size - 8) in qtdemux_webvtt_decode()
185 next_pos = gst_byte_reader_get_pos (&br) - 8 + atom_size; in qtdemux_webvtt_decode()
194 if (!webvtt_decode_vttc (qtdemux, &br, start, duration, str)) in qtdemux_webvtt_decode()
210 if (!gst_byte_reader_set_pos (&br, next_pos)) in qtdemux_webvtt_decode()