Home
last modified time | relevance | path

Searched refs:rtp (Results 1 – 25 of 224) sorted by relevance

123456789

/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbuffer.c317 gst_rtp_buffer_map (GstBuffer * buffer, GstMapFlags flags, GstRTPBuffer * rtp) in gst_rtp_buffer_map() argument
330 g_return_val_if_fail (rtp != NULL, FALSE); in gst_rtp_buffer_map()
331 g_return_val_if_fail (rtp->buffer == NULL, FALSE); in gst_rtp_buffer_map()
338 if (!gst_buffer_map_range (buffer, 0, 1, &rtp->map[0], flags)) in gst_rtp_buffer_map()
341 data = rtp->data[0] = rtp->map[0].data; in gst_rtp_buffer_map()
342 size = rtp->map[0].size; in gst_rtp_buffer_map()
365 rtp->size[0] = header_len; in gst_rtp_buffer_map()
379 if (!gst_buffer_map_range (buffer, idx, length, &rtp->map[1], flags)) in gst_rtp_buffer_map()
382 extdata = rtp->data[1] = rtp->map[1].data + skip; in gst_rtp_buffer_map()
392 if (G_UNLIKELY (rtp->map[1].size < extlen)) in gst_rtp_buffer_map()
[all …]
Dgstrtpbuffer.h93 … gst_rtp_buffer_map (GstBuffer *buffer, GstMapFlags flags, GstRTPBuffer *rtp);
96 void gst_rtp_buffer_unmap (GstRTPBuffer *rtp);
99 void gst_rtp_buffer_set_packet_len (GstRTPBuffer *rtp, guint len);
102 guint gst_rtp_buffer_get_packet_len (GstRTPBuffer *rtp);
105 guint gst_rtp_buffer_get_header_len (GstRTPBuffer *rtp);
108 guint8 gst_rtp_buffer_get_version (GstRTPBuffer *rtp);
111 void gst_rtp_buffer_set_version (GstRTPBuffer *rtp, guint8 version);
114 gboolean gst_rtp_buffer_get_padding (GstRTPBuffer *rtp);
117 void gst_rtp_buffer_set_padding (GstRTPBuffer *rtp, gboolean padding);
120 void gst_rtp_buffer_pad_to (GstRTPBuffer *rtp, guint len);
[all …]
Dmeson.build22 'rtp-prelude.h',
23 'rtp.h',
25 install_headers(rtp_headers, subdir : 'gstreamer-1.0/gst/rtp/')
30 header_prefix : '#include <gst/rtp/rtp-prelude.h>',
33 install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/gst/rtp'))
51 gst_gir_extra_args = gir_init_section + [ '--c-include=gst/rtp/rtp.h' ]
58 export_packages : 'gstreamer-rtp-1.0',
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpred.c85 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in _new_rtp_buffer() local
87 fail_unless (gst_rtp_buffer_map (buf, GST_MAP_READ, &rtp)); in _new_rtp_buffer()
88 gst_rtp_buffer_set_marker (&rtp, marker); in _new_rtp_buffer()
89 gst_rtp_buffer_set_payload_type (&rtp, pt); in _new_rtp_buffer()
90 gst_rtp_buffer_set_seq (&rtp, seqnum); in _new_rtp_buffer()
91 gst_rtp_buffer_set_timestamp (&rtp, timestamp); in _new_rtp_buffer()
92 gst_rtp_buffer_set_ssrc (&rtp, ssrc); in _new_rtp_buffer()
93 gst_rtp_buffer_unmap (&rtp); in _new_rtp_buffer()
139 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in GST_START_TEST() local
155 fail_unless (gst_rtp_buffer_map (bufinp, GST_MAP_WRITE, &rtp)); in GST_START_TEST()
[all …]
Drtph265.c338 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in GST_START_TEST() local
346 fail_unless (gst_rtp_buffer_map (buffer, GST_MAP_WRITE, &rtp)); in GST_START_TEST()
347 gst_rtp_buffer_set_marker (&rtp, FALSE); in GST_START_TEST()
348 gst_rtp_buffer_unmap (&rtp); in GST_START_TEST()
367 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in GST_START_TEST() local
376 fail_unless (gst_rtp_buffer_map (buffer, GST_MAP_READ, &rtp)); in GST_START_TEST()
377 fail_unless (gst_rtp_buffer_get_marker (&rtp)); in GST_START_TEST()
378 seq = gst_rtp_buffer_get_seq (&rtp); in GST_START_TEST()
379 gst_rtp_buffer_unmap (&rtp); in GST_START_TEST()
386 fail_unless (gst_rtp_buffer_map (buffer, GST_MAP_WRITE, &rtp)); in GST_START_TEST()
[all …]
Drtph264.c336 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in GST_START_TEST() local
344 fail_unless (gst_rtp_buffer_map (buffer, GST_MAP_WRITE, &rtp)); in GST_START_TEST()
345 gst_rtp_buffer_set_marker (&rtp, FALSE); in GST_START_TEST()
346 gst_rtp_buffer_unmap (&rtp); in GST_START_TEST()
365 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in GST_START_TEST() local
374 fail_unless (gst_rtp_buffer_map (buffer, GST_MAP_READ, &rtp)); in GST_START_TEST()
375 fail_unless (gst_rtp_buffer_get_marker (&rtp)); in GST_START_TEST()
376 seq = gst_rtp_buffer_get_seq (&rtp); in GST_START_TEST()
377 gst_rtp_buffer_unmap (&rtp); in GST_START_TEST()
384 fail_unless (gst_rtp_buffer_map (buffer, GST_MAP_WRITE, &rtp)); in GST_START_TEST()
[all …]
Drtph263.c53 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in create_rtp_buffer() local
57 gst_rtp_buffer_map (buf, GST_MAP_WRITE, &rtp); in create_rtp_buffer()
58 gst_rtp_buffer_set_seq (&rtp, seqnum); in create_rtp_buffer()
59 gst_rtp_buffer_unmap (&rtp); in create_rtp_buffer()
158 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in GST_START_TEST() local
175 gst_rtp_buffer_map (header_buf, GST_MAP_WRITE, &rtp); in GST_START_TEST()
176 gst_rtp_buffer_set_marker (&rtp, TRUE); in GST_START_TEST()
177 memcpy (gst_rtp_buffer_get_payload (&rtp), header, sizeof (header)); in GST_START_TEST()
178 gst_rtp_buffer_unmap (&rtp); in GST_START_TEST()
203 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in GST_START_TEST() local
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Drtpulpfeccommon.c141 rtp_ulpfec_buffer_get_fechdr (GstRTPBuffer * rtp) in rtp_ulpfec_buffer_get_fechdr() argument
143 return (RtpUlpFecHeader *) gst_rtp_buffer_get_payload (rtp); in rtp_ulpfec_buffer_get_fechdr()
147 rtp_ulpfec_buffer_get_mask (GstRTPBuffer * rtp) in rtp_ulpfec_buffer_get_mask() argument
149 return fec_hdr_get_mask (rtp_ulpfec_buffer_get_fechdr (rtp)); in rtp_ulpfec_buffer_get_mask()
153 rtp_ulpfec_buffer_get_seq_base (GstRTPBuffer * rtp) in rtp_ulpfec_buffer_get_seq_base() argument
155 return g_ntohs (rtp_ulpfec_buffer_get_fechdr (rtp)->seq); in rtp_ulpfec_buffer_get_seq_base()
185 rtp_ulpfec_buffer_is_valid (GstRTPBuffer * rtp) in rtp_ulpfec_buffer_is_valid() argument
187 guint payload_len = gst_rtp_buffer_get_payload_len (rtp); in rtp_ulpfec_buffer_is_valid()
195 fec_hdr = rtp_ulpfec_buffer_get_fechdr (rtp); in rtp_ulpfec_buffer_is_valid()
224 rtp_buffer_to_ulpfec_bitstring (GstRTPBuffer * rtp, GArray * dst_arr, in rtp_buffer_to_ulpfec_bitstring() argument
[all …]
Dgstrtpredenc.c95 rtp_hist_item_init (RTPHistItem * item, GstRTPBuffer * rtp, in rtp_hist_item_init() argument
98 item->pt = gst_rtp_buffer_get_payload_type (rtp); in rtp_hist_item_init()
99 item->timestamp = gst_rtp_buffer_get_timestamp (rtp); in rtp_hist_item_init()
104 rtp_hist_item_new (GstRTPBuffer * rtp, GstBuffer * rtp_payload) in rtp_hist_item_new() argument
107 rtp_hist_item_init (item, rtp, rtp_payload); in rtp_hist_item_new()
112 rtp_hist_item_replace (RTPHistItem * item, GstRTPBuffer * rtp, in rtp_hist_item_replace() argument
116 rtp_hist_item_init (item, rtp, rtp_payload); in rtp_hist_item_replace()
195 GstRTPBuffer * rtp, RTPHistItem * redundant_block, GstBuffer * main_block) in _create_red_packet() argument
198 _alloc_red_packet_and_fill_headers (self, redundant_block, rtp); in _create_red_packet()
256 GstRTPBuffer * rtp, GstBuffer * rtp_payload, guint max_history_length) in _red_history_prepend() argument
[all …]
Dgstrtpulpfecdec.c110 gst_rtp_buffer_get_seq (&RTP_FEC_MAP_INFO_NTH (userdata, a)->rtp); in _compare_fec_map_info()
112 gst_rtp_buffer_get_seq (&RTP_FEC_MAP_INFO_NTH (userdata, b)->rtp); in _compare_fec_map_info()
138 if (fec_pt == gst_rtp_buffer_get_payload_type (&info->rtp)) { in gst_rtp_ulpfec_dec_start()
139 GST_DEBUG_RTP_PACKET (self, "rtp header (fec)", &info->rtp); in gst_rtp_ulpfec_dec_start()
142 if (rtp_ulpfec_buffer_is_valid (&info->rtp)) { in gst_rtp_ulpfec_dec_start()
143 GST_DEBUG_FEC_PACKET (self, &info->rtp); in gst_rtp_ulpfec_dec_start()
147 GST_LOG_RTP_PACKET (self, "rtp header (incoming)", &info->rtp); in gst_rtp_ulpfec_dec_start()
149 if (lost_seq == gst_rtp_buffer_get_seq (&info->rtp)) { in gst_rtp_ulpfec_dec_start()
187 rtp_ulpfec_packet_mask_from_seqnum (gst_rtp_buffer_get_seq (&info->rtp), in gst_rtp_ulpfec_dec_get_media_buffers_mask()
203 if (gst_rtp_buffer_get_payload_type (&info->rtp) == recovered_pt) in gst_rtp_ulpfec_dec_is_recovered_pt_valid()
[all …]
Dgstrtppcmudepay.c66 GstRTPBuffer * rtp);
130 gst_rtp_pcmu_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) in gst_rtp_pcmu_depay_process() argument
136 marker = gst_rtp_buffer_get_marker (rtp); in gst_rtp_pcmu_depay_process()
139 gst_buffer_get_size (rtp->buffer), marker, in gst_rtp_pcmu_depay_process()
140 gst_rtp_buffer_get_timestamp (rtp), gst_rtp_buffer_get_seq (rtp)); in gst_rtp_pcmu_depay_process()
142 len = gst_rtp_buffer_get_payload_len (rtp); in gst_rtp_pcmu_depay_process()
143 outbuf = gst_rtp_buffer_get_payload_buffer (rtp); in gst_rtp_pcmu_depay_process()
Dgstrtppcmadepay.c65 GstRTPBuffer * rtp);
129 gst_rtp_pcma_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) in gst_rtp_pcma_depay_process() argument
135 marker = gst_rtp_buffer_get_marker (rtp); in gst_rtp_pcma_depay_process()
138 gst_buffer_get_size (rtp->buffer), marker, in gst_rtp_pcma_depay_process()
139 gst_rtp_buffer_get_timestamp (rtp), gst_rtp_buffer_get_seq (rtp)); in gst_rtp_pcma_depay_process()
141 len = gst_rtp_buffer_get_payload_len (rtp); in gst_rtp_pcma_depay_process()
142 outbuf = gst_rtp_buffer_get_payload_buffer (rtp); in gst_rtp_pcma_depay_process()
Dgstrtpulpfecenc.c151 GST_LOG_RTP_PACKET (ctx->parent, "rtp header (incoming)", &info->rtp); in gst_rtp_ulpfec_enc_stream_ctx_start()
190 guint16 seq = gst_rtp_buffer_get_seq (&info->rtp); in gst_rtp_ulpfec_enc_stream_ctx_get_protection_parameters()
236 rtp_ulpfec_packet_mask_from_seqnum (gst_rtp_buffer_get_seq (&info->rtp), in gst_rtp_ulpfec_enc_stream_ctx_protect()
242 rtp_buffer_to_ulpfec_bitstring (&info->rtp, ctx->scratch_buf, FALSE, in gst_rtp_ulpfec_enc_stream_ctx_protect()
316 ctx, GstRTPBuffer * rtp, guint buf_max_size) in gst_rtp_ulpfec_enc_stream_ctx_prepend_to_fec_buffer() argument
325 gst_buffer_replace ((GstBuffer **) & new_head->data, rtp->buffer); in gst_rtp_ulpfec_enc_stream_ctx_prepend_to_fec_buffer()
376 GstRTPBuffer * rtp, gboolean * dst_empty_packet_buffer, in gst_rtp_ulpfec_enc_stream_ctx_cache_packet() argument
380 gst_rtp_ulpfec_enc_stream_ctx_prepend_to_fec_buffer (ctx, rtp, in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
382 gst_rtp_ulpfec_enc_stream_ctx_increment_budget (ctx, rtp->buffer); in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
384 *dst_empty_packet_buffer = gst_rtp_buffer_get_marker (rtp); in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
[all …]
Dgstrtpgsmdepay.c62 GstRTPBuffer * rtp);
122 gst_rtp_gsm_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) in gst_rtp_gsm_depay_process() argument
127 marker = gst_rtp_buffer_get_marker (rtp); in gst_rtp_gsm_depay_process()
130 gst_buffer_get_size (rtp->buffer), marker, in gst_rtp_gsm_depay_process()
131 gst_rtp_buffer_get_timestamp (rtp), gst_rtp_buffer_get_seq (rtp)); in gst_rtp_gsm_depay_process()
133 outbuf = gst_rtp_buffer_get_payload_buffer (rtp); in gst_rtp_gsm_depay_process()
Dgstrtpceltdepay.c70 GstRTPBuffer * rtp);
198 gst_rtp_celt_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) in gst_rtp_celt_depay_process() argument
214 timestamp = GST_BUFFER_PTS (rtp->buffer); in gst_rtp_celt_depay_process()
218 gst_buffer_get_size (rtp->buffer), gst_rtp_buffer_get_marker (rtp), in gst_rtp_celt_depay_process()
219 gst_rtp_buffer_get_timestamp (rtp), gst_rtp_buffer_get_seq (rtp)); in gst_rtp_celt_depay_process()
225 payload = gst_rtp_buffer_get_payload (rtp); in gst_rtp_celt_depay_process()
226 payload_len = gst_rtp_buffer_get_payload_len (rtp); in gst_rtp_celt_depay_process()
251 outbuf = gst_rtp_buffer_get_payload_subbuffer (rtp, offset, size); in gst_rtp_celt_depay_process()
Dgstrtpbvdepay.c61 GstRTPBuffer * rtp);
160 gst_rtp_bv_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) in gst_rtp_bv_depay_process() argument
165 marker = gst_rtp_buffer_get_marker (rtp); in gst_rtp_bv_depay_process()
168 gst_buffer_get_size (rtp->buffer), marker, in gst_rtp_bv_depay_process()
169 gst_rtp_buffer_get_timestamp (rtp), gst_rtp_buffer_get_seq (rtp)); in gst_rtp_bv_depay_process()
171 outbuf = gst_rtp_buffer_get_payload_buffer (rtp); in gst_rtp_bv_depay_process()
Drtpulpfeccommon.h48 GstRTPBuffer rtp; member
131 void rtp_buffer_to_ulpfec_bitstring (GstRTPBuffer *rtp, GArray *dst_arr,
142 GstRTPBuffer *rtp);
147 #define rtp_ulpfec_log_rtppacket(cat,level,obj,name,rtp) /* NOOP */ argument
151 RtpUlpFecHeader * rtp_ulpfec_buffer_get_fechdr (GstRTPBuffer *rtp);
155 guint64 rtp_ulpfec_buffer_get_mask (GstRTPBuffer *rtp);
156 guint16 rtp_ulpfec_buffer_get_seq_base (GstRTPBuffer *rtp);
158 gboolean rtp_ulpfec_buffer_is_valid (GstRTPBuffer * rtp);
DgstrtpL8depay.c213 GstRTPBuffer rtp = { NULL }; in gst_rtp_L8_depay_process() local
217 gst_rtp_buffer_map (buf, GST_MAP_READ, &rtp); in gst_rtp_L8_depay_process()
218 payload_len = gst_rtp_buffer_get_payload_len (&rtp); in gst_rtp_L8_depay_process()
225 outbuf = gst_rtp_buffer_get_payload_buffer (&rtp); in gst_rtp_L8_depay_process()
226 marker = gst_rtp_buffer_get_marker (&rtp); in gst_rtp_L8_depay_process()
241 gst_rtp_buffer_unmap (&rtp); in gst_rtp_L8_depay_process()
250 gst_rtp_buffer_unmap (&rtp); in gst_rtp_L8_depay_process()
257 gst_rtp_buffer_unmap (&rtp); in gst_rtp_L8_depay_process()
Dgstrtpg726depay.c87 GstRTPBuffer * rtp);
212 gst_rtp_g726_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) in gst_rtp_g726_depay_process() argument
220 marker = gst_rtp_buffer_get_marker (rtp); in gst_rtp_g726_depay_process()
223 gst_buffer_get_size (rtp->buffer), marker, in gst_rtp_g726_depay_process()
224 gst_rtp_buffer_get_timestamp (rtp), gst_rtp_buffer_get_seq (rtp)); in gst_rtp_g726_depay_process()
228 outbuf = gst_rtp_buffer_get_payload_buffer (rtp); in gst_rtp_g726_depay_process()
237 in = gst_rtp_buffer_get_payload (rtp); in gst_rtp_g726_depay_process()
238 len = gst_rtp_buffer_get_payload_len (rtp); in gst_rtp_g726_depay_process()
240 outbuf = gst_rtp_buffer_get_payload_buffer (rtp); in gst_rtp_g726_depay_process()
Dgstrtpmpadepay.c60 GstRTPBuffer * rtp);
116 gst_rtp_mpa_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) in gst_rtp_mpa_depay_process() argument
129 payload_len = gst_rtp_buffer_get_payload_len (rtp); in gst_rtp_mpa_depay_process()
135 payload = gst_rtp_buffer_get_payload (&rtp); in gst_rtp_mpa_depay_process()
148 outbuf = gst_rtp_buffer_get_payload_subbuffer (rtp, 4, -1); in gst_rtp_mpa_depay_process()
149 marker = gst_rtp_buffer_get_marker (rtp); in gst_rtp_mpa_depay_process()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Drtp.c40 GstRTPBuffer rtp = { NULL, }; in GST_START_TEST() local
50 gst_rtp_buffer_map (buf, GST_MAP_READWRITE, &rtp); in GST_START_TEST()
53 fail_unless_equals_int (gst_rtp_buffer_get_version (&rtp), 2); in GST_START_TEST()
54 fail_unless (gst_rtp_buffer_get_padding (&rtp) == TRUE); in GST_START_TEST()
55 fail_unless (gst_rtp_buffer_get_extension (&rtp) == FALSE); in GST_START_TEST()
56 fail_unless_equals_int (gst_rtp_buffer_get_csrc_count (&rtp), 0); in GST_START_TEST()
57 fail_unless (gst_rtp_buffer_get_marker (&rtp) == FALSE); in GST_START_TEST()
58 fail_unless (gst_rtp_buffer_get_payload_type (&rtp) == 0); in GST_START_TEST()
62 gst_rtp_buffer_set_version (&rtp, 3); in GST_START_TEST()
63 fail_unless_equals_int (gst_rtp_buffer_get_version (&rtp), 3); in GST_START_TEST()
[all …]
/third_party/pulseaudio/src/modules/gsettings/
Dpulseaudio.convert93 [org.freedesktop.pulseaudio.module-group:/org/freedesktop/pulseaudio/module-groups/rtp-recv/]
94 args0 = /system/pulseaudio/modules/rtp-recv/args0
95 args1 = /system/pulseaudio/modules/rtp-recv/args1
96 args2 = /system/pulseaudio/modules/rtp-recv/args2
97 args3 = /system/pulseaudio/modules/rtp-recv/args3
98 args4 = /system/pulseaudio/modules/rtp-recv/args4
99 args5 = /system/pulseaudio/modules/rtp-recv/args5
100 args6 = /system/pulseaudio/modules/rtp-recv/args6
101 args7 = /system/pulseaudio/modules/rtp-recv/args7
102 args8 = /system/pulseaudio/modules/rtp-recv/args8
[all …]
/third_party/curl/tests/data/
Dtest5717 # 3) packing rtp after headers, after content, and at the start
52 rtp: part 2 channel 1 size 10
53 rtp: part 2 channel 0 size 500
54 rtp: part 2 channel 0 size 196
55 rtp: part 2 channel 0 size 124
56 rtp: part 2 channel 0 size 824
57 rtp: part 3 channel 1 size 10
58 rtp: part 3 channel 0 size 50
59 rtp: part 4 channel 0 size 798
60 rtp: part 4 channel 0 size 42
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Dgstrtprtxreceive.c444 _gst_rtp_buffer_new_from_rtx (GstRTPBuffer * rtp, guint32 ssrc1, in _gst_rtp_buffer_new_from_rtx() argument
454 mem = gst_memory_copy (rtp->map[0].memory, in _gst_rtp_buffer_new_from_rtx()
455 (guint8 *) rtp->data[0] - rtp->map[0].data, rtp->size[0]); in _gst_rtp_buffer_new_from_rtx()
459 if (rtp->size[1]) { in _gst_rtp_buffer_new_from_rtx()
460 mem = gst_memory_copy (rtp->map[1].memory, in _gst_rtp_buffer_new_from_rtx()
461 (guint8 *) rtp->data[1] - rtp->map[1].data, rtp->size[1]); in _gst_rtp_buffer_new_from_rtx()
466 payload_len = rtp->size[2] - 2; in _gst_rtp_buffer_new_from_rtx()
470 if (rtp->size[2]) in _gst_rtp_buffer_new_from_rtx()
471 memcpy (map.data, (guint8 *) rtp->data[2] + 2, payload_len); in _gst_rtp_buffer_new_from_rtx()
479 if (rtp->size[3]) { in _gst_rtp_buffer_new_from_rtx()
[all …]
/third_party/pulseaudio/src/modules/rtp/
Dmeson.build2 'rtp-common.c',
10 'rtp.h',
18 librtp_sources += 'rtp-gstreamer.c'
20 librtp_sources += 'rtp-native.c'
23 librtp = shared_library('rtp', build

123456789