Home
last modified time | relevance | path

Searched refs:ts_packet_size (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/rist/
Dgstristrtpdeext.c103 gboolean ts_packet_size; in gst_rist_rtp_deext_chain() local
151 ts_packet_size = ((data[1] >> 7) & 1) ? 204 : 188; in gst_rist_rtp_deext_chain()
183 if (ts_packet_size != 188) { in gst_rist_rtp_deext_chain()
186 ts_packet_size = 188; in gst_rist_rtp_deext_chain()
189 if (ts_packet_size != 204) { in gst_rist_rtp_deext_chain()
192 ts_packet_size = 204; in gst_rist_rtp_deext_chain()
197 " null packets", plen, ts_packet_size); in gst_rist_rtp_deext_chain()
202 if ((plen / ts_packet_size) + num_packets_deleted != orig_ts_packet_count) { in gst_rist_rtp_deext_chain()
206 (plen / ts_packet_size) + num_packets_deleted); in gst_rist_rtp_deext_chain()
211 (plen / ts_packet_size), orig_ts_packet_count); in gst_rist_rtp_deext_chain()
[all …]
Dgstristrtpext.c97 gboolean ts_packet_size = 0; in gst_rist_rtp_ext_chain() local
116 ts_packet_size = 188; in gst_rist_rtp_ext_chain()
119 ts_packet_size = 204; in gst_rist_rtp_ext_chain()
147 guint offset = (i - num_packets_deleted) * ts_packet_size; in gst_rist_rtp_ext_chain()
161 guint remaining_plen = plen - (num_packets_deleted * ts_packet_size); in gst_rist_rtp_ext_chain()
165 if (offset + ts_packet_size < remaining_plen) in gst_rist_rtp_ext_chain()
166 memmove (data + offset, data + offset + ts_packet_size, in gst_rist_rtp_ext_chain()
167 remaining_plen - offset - ts_packet_size); in gst_rist_rtp_ext_chain()
187 data[1] = (ts_packet_size == 204) << 7; in gst_rist_rtp_ext_chain()
206 gst_buffer_get_size (buffer) - (ts_packet_size * num_packets_deleted)); in gst_rist_rtp_ext_chain()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dristrtpext.c122 gboolean ts_packet_size; in validate_ext() local
137 ts_packet_size = ((data[1] >> 7) & 1) ? 204 : 188; in validate_ext()
143 fail_unless_equals_int (ts_packet_size, wanted_ts_packet_size); in validate_ext()
626 guint ts_packet_size, guint npd_bits, guint16 extseq) in alloc_ts_buffer_with_ext() argument
641 data[1] = (ts_packet_size == 204) << 7; /* T */ in alloc_ts_buffer_with_ext()