Home
last modified time | relevance | path

Searched refs:depay (Results 1 – 25 of 27) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpqcelpdepay.c126 GstRtpQCELPDepay *depay; in gst_rtp_qcelp_depay_finalize() local
128 depay = GST_RTP_QCELP_DEPAY (object); in gst_rtp_qcelp_depay_finalize()
130 if (depay->packets != NULL) { in gst_rtp_qcelp_depay_finalize()
131 g_ptr_array_foreach (depay->packets, (GFunc) gst_buffer_unref, NULL); in gst_rtp_qcelp_depay_finalize()
132 g_ptr_array_free (depay->packets, TRUE); in gst_rtp_qcelp_depay_finalize()
133 depay->packets = NULL; in gst_rtp_qcelp_depay_finalize()
162 get_frame_len (GstRtpQCELPDepay * depay, guint8 frame_type) in get_frame_len() argument
171 count_packets (GstRtpQCELPDepay * depay, guint8 * data, guint size) in count_packets() argument
178 frame_len = get_frame_len (depay, data[0]); in count_packets()
198 flush_packets (GstRtpQCELPDepay * depay) in flush_packets() argument
[all …]
Dgstrtph261depay.c88 GstRtpH261Depay *depay; in gst_rtp_h261_depay_process() local
96 depay = GST_RTP_H261_DEPAY (depayload); in gst_rtp_h261_depay_process()
99 GST_DEBUG_OBJECT (depay, "Discont buffer, flushing adapter"); in gst_rtp_h261_depay_process()
100 gst_adapter_clear (depay->adapter); in gst_rtp_h261_depay_process()
101 depay->leftover = NO_LEFTOVER; in gst_rtp_h261_depay_process()
102 depay->start = FALSE; in gst_rtp_h261_depay_process()
112 GST_WARNING_OBJECT (depay, "Dropping packet with invalid payload length"); in gst_rtp_h261_depay_process()
118 GST_DEBUG_OBJECT (depay, in gst_rtp_h261_depay_process()
125 if (!depay->start) { in gst_rtp_h261_depay_process()
129 GST_DEBUG_OBJECT (depay, "Found picture start code"); in gst_rtp_h261_depay_process()
[all …]
Dgstrtpsbcdepay.c129 GstRtpSbcDepay *depay = GST_RTP_SBC_DEPAY (object); in gst_rtp_sbc_depay_finalize() local
131 gst_audio_stream_align_free (depay->stream_align); in gst_rtp_sbc_depay_finalize()
132 gst_object_unref (depay->adapter); in gst_rtp_sbc_depay_finalize()
141 GstRtpSbcDepay *depay = GST_RTP_SBC_DEPAY (object); in gst_rtp_sbc_depay_set_property() local
145 depay->ignore_timestamps = g_value_get_boolean (value); in gst_rtp_sbc_depay_set_property()
157 GstRtpSbcDepay *depay = GST_RTP_SBC_DEPAY (object); in gst_rtp_sbc_depay_get_property() local
161 g_value_set_boolean (value, depay->ignore_timestamps); in gst_rtp_sbc_depay_get_property()
174 gst_rtp_sbc_depay_get_params (GstRtpSbcDepay * depay, const guint8 * data, in gst_rtp_sbc_depay_get_params() argument
187 GST_WARNING_OBJECT (depay, "Bad packet: couldn't find syncword"); in gst_rtp_sbc_depay_get_params()
222 GstRtpSbcDepay *depay = GST_RTP_SBC_DEPAY (base); in gst_rtp_sbc_depay_setcaps() local
[all …]
Dgstrtpg726depay.c154 GstRtpG726Depay *depay; in gst_rtp_g726_depay_setcaps() local
156 depay = GST_RTP_G726_DEPAY (depayload); in gst_rtp_g726_depay_setcaps()
164 depay->aal2 = FALSE; in gst_rtp_g726_depay_setcaps()
167 depay->bitrate = DEFAULT_BIT_RATE; in gst_rtp_g726_depay_setcaps()
168 depay->block_align = DEFAULT_BLOCK_ALIGN; in gst_rtp_g726_depay_setcaps()
171 depay->aal2 = TRUE; in gst_rtp_g726_depay_setcaps()
175 depay->bitrate = 16000; in gst_rtp_g726_depay_setcaps()
176 depay->block_align = 2; in gst_rtp_g726_depay_setcaps()
178 depay->bitrate = 24000; in gst_rtp_g726_depay_setcaps()
179 depay->block_align = 3; in gst_rtp_g726_depay_setcaps()
[all …]
Dgstrtpqdmdepay.c142 flush_data (GstRtpQDM2Depay * depay) in flush_data() argument
147 if ((avail = gst_adapter_available (depay->adapter))) in flush_data()
148 gst_adapter_flush (depay->adapter, avail); in flush_data()
150 GST_DEBUG ("Flushing %d packets", depay->nbpackets); in flush_data()
152 for (i = 0; depay->packets[i]; i++) { in flush_data()
153 QDM2Packet *pack = depay->packets[i]; in flush_data()
167 if (depay->packetsize > 0xff) { in flush_data()
170 GST_WRITE_UINT16_BE (data + 1, depay->packetsize - 3); in flush_data()
173 data[1] = depay->packetsize - 2; in flush_data()
177 for (; i < depay->packetsize; i++) in flush_data()
[all …]
Dgstrtpvp8depay.c45 static gboolean gst_rtp_vp8_depay_handle_event (GstRTPBaseDepayload * depay,
47 static gboolean gst_rtp_vp8_depay_packet_lost (GstRTPBaseDepayload * depay,
284 gst_rtp_vp8_depay_process (GstRTPBaseDepayload * depay, GstRTPBuffer * rtp) in gst_rtp_vp8_depay_process() argument
286 GstRtpVP8Depay *self = GST_RTP_VP8_DEPAY (depay); in gst_rtp_vp8_depay_process()
306 gst_pad_push_event (GST_RTP_BASE_DEPAYLOAD_SINKPAD (depay), in gst_rtp_vp8_depay_process()
344 GST_LOG_OBJECT (depay, in gst_rtp_vp8_depay_process()
353 GST_DEBUG_OBJECT (depay, "Incomplete frame, flushing adapter"); in gst_rtp_vp8_depay_process()
365 GST_DEBUG_OBJECT (depay, in gst_rtp_vp8_depay_process()
374 GST_LOG_OBJECT (depay, "Found the start of the frame"); in gst_rtp_vp8_depay_process()
393 GST_LOG_OBJECT (depay, in gst_rtp_vp8_depay_process()
[all …]
Dgstrtpvp9depay.c42 static gboolean gst_rtp_vp9_depay_handle_event (GstRTPBaseDepayload * depay,
44 static gboolean gst_rtp_vp9_depay_packet_lost (GstRTPBaseDepayload * depay,
184 gst_rtp_vp9_depay_process (GstRTPBaseDepayload * depay, GstRTPBuffer * rtp) in gst_rtp_vp9_depay_process() argument
186 GstRtpVP9Depay *self = GST_RTP_VP9_DEPAY (depay); in gst_rtp_vp9_depay_process()
328 GST_DEBUG_OBJECT (depay, "hdrsize %u, size %u, picture id 0x%x", in gst_rtp_vp9_depay_process()
338 GST_DEBUG_OBJECT (depay, "Incomplete frame, flushing adapter"); in gst_rtp_vp9_depay_process()
347 GST_DEBUG_OBJECT (depay, in gst_rtp_vp9_depay_process()
356 GST_DEBUG_OBJECT (depay, "Found the start of the layer"); in gst_rtp_vp9_depay_process()
383 GST_DEBUG_OBJECT (depay, in gst_rtp_vp9_depay_process()
406 gst_pad_push_event (GST_RTP_BASE_DEPAYLOAD_SINKPAD (depay), in gst_rtp_vp9_depay_process()
[all …]
Dgstrtpdvdepay.c386 gst_rtp_dv_depay_reset (GstRTPDVDepay * depay) in gst_rtp_dv_depay_reset() argument
388 if (depay->acc) in gst_rtp_dv_depay_reset()
389 gst_buffer_unref (depay->acc); in gst_rtp_dv_depay_reset()
390 depay->acc = NULL; in gst_rtp_dv_depay_reset()
392 depay->prev_ts = -1; in gst_rtp_dv_depay_reset()
393 depay->header_mask = 0; in gst_rtp_dv_depay_reset()
400 GstRTPDVDepay *depay = GST_RTP_DV_DEPAY (element); in gst_rtp_dv_depay_change_state() local
404 gst_rtp_dv_depay_reset (depay); in gst_rtp_dv_depay_change_state()
415 gst_rtp_dv_depay_reset (depay); in gst_rtp_dv_depay_change_state()
Dgstrtpjpegdepay.c126 gst_rtp_jpeg_depay_reset (GstRtpJPEGDepay * depay) in gst_rtp_jpeg_depay_reset() argument
130 depay->width = 0; in gst_rtp_jpeg_depay_reset()
131 depay->height = 0; in gst_rtp_jpeg_depay_reset()
132 depay->media_width = 0; in gst_rtp_jpeg_depay_reset()
133 depay->media_height = 0; in gst_rtp_jpeg_depay_reset()
134 depay->frate_num = 0; in gst_rtp_jpeg_depay_reset()
135 depay->frate_denom = 1; in gst_rtp_jpeg_depay_reset()
136 depay->discont = TRUE; in gst_rtp_jpeg_depay_reset()
139 g_free (depay->qtables[i]); in gst_rtp_jpeg_depay_reset()
140 depay->qtables[i] = NULL; in gst_rtp_jpeg_depay_reset()
[all …]
Dgstrtpvrawdepay.c70 depay, GstRTPBuffer * rtp);
131 gst_rtp_vraw_depay_negotiate_pool (GstRtpVRawDepay * depay, GstCaps * caps, in gst_rtp_vraw_depay_negotiate_pool() argument
142 if (!gst_pad_peer_query (GST_RTP_BASE_DEPAYLOAD_SRCPAD (depay), query)) { in gst_rtp_vraw_depay_negotiate_pool()
144 GST_DEBUG_OBJECT (depay, "could not get downstream ALLOCATION hints"); in gst_rtp_vraw_depay_negotiate_pool()
151 GST_DEBUG_OBJECT (depay, "didn't get downstream pool hints"); in gst_rtp_vraw_depay_negotiate_pool()
161 if (depay->pool) in gst_rtp_vraw_depay_negotiate_pool()
162 gst_object_unref (depay->pool); in gst_rtp_vraw_depay_negotiate_pool()
163 depay->pool = pool; in gst_rtp_vraw_depay_negotiate_pool()
Dgstrtpklvdepay.c74 static gboolean gst_rtp_klv_depay_handle_event (GstRTPBaseDepayload * depay,
137 gst_rtp_klv_depay_handle_event (GstRTPBaseDepayload * depay, GstEvent * ev) in gst_rtp_klv_depay_handle_event() argument
152 return GST_RTP_BASE_DEPAYLOAD_CLASS (parent_class)->handle_event (depay, ev); in gst_rtp_klv_depay_handle_event()
Dgstrtph264depay.c108 static gboolean gst_rtp_h264_depay_handle_event (GstRTPBaseDepayload * depay,
880 gst_rtp_h264_depay_allocate_output_buffer (GstRtpH264Depay * depay, gsize size) in gst_rtp_h264_depay_allocate_output_buffer() argument
886 GST_LOG_OBJECT (depay, "want output buffer of %u bytes", (guint) size); in gst_rtp_h264_depay_allocate_output_buffer()
888 buffer = gst_buffer_new_allocate (depay->allocator, size, &depay->params); in gst_rtp_h264_depay_allocate_output_buffer()
890 GST_INFO_OBJECT (depay, "couldn't allocate output buffer"); in gst_rtp_h264_depay_allocate_output_buffer()
1460 gst_rtp_h264_depay_handle_event (GstRTPBaseDepayload * depay, GstEvent * event) in gst_rtp_h264_depay_handle_event() argument
1464 rtph264depay = GST_RTP_H264_DEPAY (depay); in gst_rtp_h264_depay_handle_event()
1478 GST_RTP_BASE_DEPAYLOAD_CLASS (parent_class)->handle_event (depay, event); in gst_rtp_h264_depay_handle_event()
Dgstrtpgstdepay.c58 static gboolean gst_rtp_gst_depay_handle_event (GstRTPBaseDepayload * depay,
562 gst_rtp_gst_depay_handle_event (GstRTPBaseDepayload * depay, GstEvent * event) in gst_rtp_gst_depay_handle_event() argument
566 rtpgstdepay = GST_RTP_GST_DEPAY (depay); in gst_rtp_gst_depay_handle_event()
577 GST_RTP_BASE_DEPAYLOAD_CLASS (parent_class)->handle_event (depay, event); in gst_rtp_gst_depay_handle_event()
Dgstrtph265depay.c114 static gboolean gst_rtp_h265_depay_handle_event (GstRTPBaseDepayload * depay,
951 gst_rtp_h265_depay_allocate_output_buffer (GstRtpH265Depay * depay, gsize size) in gst_rtp_h265_depay_allocate_output_buffer() argument
957 GST_LOG_OBJECT (depay, "want output buffer of %u bytes", (guint) size); in gst_rtp_h265_depay_allocate_output_buffer()
959 buffer = gst_buffer_new_allocate (depay->allocator, size, &depay->params); in gst_rtp_h265_depay_allocate_output_buffer()
961 GST_INFO_OBJECT (depay, "couldn't allocate output buffer"); in gst_rtp_h265_depay_allocate_output_buffer()
1587 gst_rtp_h265_depay_handle_event (GstRTPBaseDepayload * depay, GstEvent * event) in gst_rtp_h265_depay_handle_event() argument
1591 rtph265depay = GST_RTP_H265_DEPAY (depay); in gst_rtp_h265_depay_handle_event()
1605 GST_RTP_BASE_DEPAYLOAD_CLASS (parent_class)->handle_event (depay, event); in gst_rtp_h265_depay_handle_event()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtphdrext-colorspace.c65 GstElement *pay, *depay; in GST_START_TEST() local
78 depay = gst_harness_find_element (h, "rtpvp8depay"); in GST_START_TEST()
91 g_signal_emit_by_name (depay, "add-extension", depay_ext); in GST_START_TEST()
106 pad = gst_element_get_static_pad (depay, "src"); in GST_START_TEST()
139 gst_object_unref (depay); in GST_START_TEST()
153 GstElement *pay, *depay; in GST_START_TEST() local
168 depay = gst_harness_find_element (h, "rtpvp8depay"); in GST_START_TEST()
181 g_signal_emit_by_name (depay, "add-extension", depay_ext); in GST_START_TEST()
200 pad = gst_element_get_static_pad (depay, "src"); in GST_START_TEST()
241 gst_object_unref (depay); in GST_START_TEST()
Drtp-payloading.c164 int frame_count, const char *filtercaps, const char *pay, const char *depay) in rtp_pipeline_create() argument
171 if (!frame_data || !pay || !depay) { in rtp_pipeline_create()
184 pipeline_name = g_strdup_printf ("%s-%s-pipeline", pay, depay); in rtp_pipeline_create()
192 gst_parse_bin_from_description_full (depay, TRUE, NULL, in rtp_pipeline_create()
404 int frame_count, const char *filtercaps, const char *pay, const char *depay, in rtp_pipeline_test() argument
410 pay, depay); in rtp_pipeline_test()
1592 GstElement *enc, *pay, *depay, *dec, *sink; in GST_START_TEST() local
1603 depay = gst_element_factory_make ("rtpvorbisdepay", NULL); in GST_START_TEST()
1607 gst_bin_add_many (GST_BIN (pipeline), enc, pay, depay, dec, sink, NULL); in GST_START_TEST()
1608 fail_unless (gst_element_link_many (enc, pay, depay, dec, sink, NULL)); in GST_START_TEST()
Drtph265.c210 GstElement *pipeline, *src, *depay, *sink; in GST_START_TEST() local
236 depay = gst_element_factory_make ("rtph265depay", NULL); in GST_START_TEST()
237 gst_bin_add (GST_BIN (pipeline), depay); in GST_START_TEST()
242 gst_element_link_many (src, depay, sink, NULL); in GST_START_TEST()
Drtph264.c254 GstElement *pipeline, *src, *depay, *sink; in GST_START_TEST() local
280 depay = gst_element_factory_make ("rtph264depay", NULL); in GST_START_TEST()
281 gst_bin_add (GST_BIN (pipeline), depay); in GST_START_TEST()
286 gst_element_link_many (src, depay, sink, NULL); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/tests/check/pipelines/
Dstreamheader.c78 GstElement *src, *sink, *depay; in GST_START_TEST() local
104 depay = gst_bin_get_by_name (GST_BIN (p2), "depay"); in GST_START_TEST()
105 fail_if (depay == NULL); in GST_START_TEST()
107 pad = gst_element_get_static_pad (depay, "src"); in GST_START_TEST()
109 gst_object_unref (depay); in GST_START_TEST()
191 GstElement *src, *sink, *depay; in GST_START_TEST() local
217 depay = gst_bin_get_by_name (GST_BIN (p2), "depay"); in GST_START_TEST()
218 fail_if (depay == NULL); in GST_START_TEST()
220 pad = gst_element_get_static_pad (depay, "src"); in GST_START_TEST()
222 gst_object_unref (depay); in GST_START_TEST()
/third_party/pulseaudio/src/modules/rtp/
Drtp-gstreamer.c377 GstElement *depay; in on_pad_added() local
381 depay = gst_bin_get_by_name(GST_BIN(c->pipeline), "depay"); in on_pad_added()
382 pa_assert(depay); in on_pad_added()
384 sinkpad = gst_element_get_static_pad(depay, "sink"); in on_pad_added()
403 gst_object_unref(depay); in on_pad_added()
423 GstElement *udpsrc = NULL, *rtpbin = NULL, *depay = NULL, *appsink = NULL; in init_receive_pipeline() local
433 MAKE_ELEMENT_NAMED(depay, "rtpopusdepay", "depay"); in init_receive_pipeline()
437 MAKE_ELEMENT_NAMED(depay, "rtpL16depay", "depay"); in init_receive_pipeline()
443 gst_bin_add_many(GST_BIN(c->pipeline), udpsrc, rtpbin, depay, appsink, NULL); in init_receive_pipeline()
482 !gst_element_link(depay, opusdec) || in init_receive_pipeline()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Drtpbasedepayload.c111 gst_rtp_dummy_depay_init (GstRtpDummyDepay * depay) in gst_rtp_dummy_depay_init() argument
113 depay->rtptime = 0; in gst_rtp_dummy_depay_init()
114 depay->num_buffers_in_blist = 1; in gst_rtp_dummy_depay_init()
1000 GstRtpDummyDepay *depay; in GST_START_TEST() local
1006 depay = rtp_dummy_depay_new (); in GST_START_TEST()
1007 h = gst_harness_new_with_element (GST_ELEMENT_CAST (depay), "sink", "src"); in GST_START_TEST()
1039 g_object_unref (depay); in GST_START_TEST()
1382 GstRtpDummyDepay *depay; in GST_START_TEST() local
1387 depay = rtp_dummy_depay_new (); in GST_START_TEST()
1388 h = gst_harness_new_with_element (GST_ELEMENT_CAST (depay), "sink", "src"); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_good/tests/examples/rtp/
Dclient-PCMA.c82 GstElement * depay) in on_ssrc_active_cb() argument
108 pad_added_cb (GstElement * rtpbin, GstPad * new_pad, GstElement * depay) in pad_added_cb() argument
115 sinkpad = gst_element_get_static_pad (depay, "sink"); in pad_added_cb()
Dclient-PCMA.py47 def pad_added_cb(rtpbin, new_pad, depay): argument
48 sinkpad = Gst.Element.get_static_pad(depay, 'sink')
/third_party/gstreamer/gstplugins_bad/gst/gdp/
Dgstgdpdepay.c92 static void gst_gdp_depay_decide_allocation (GstGDPDepay * depay);
/third_party/gstreamer/gstplugins_good/
DChangeLog5905 docs: update plugins cache with new h264 / vp8 depay properties
6667 rtpvp*depay: possibly forward might-have-been-fec PacketLost events
7077 rtph26*depay: drop FU's without a corresponding start bit
10058 rtpopuspay: make depay ! pay work
21780 docs: add rtpL8pay/depay to docs
29763 rtph26[45]depay: Don't handle NALs inside STAP units twice
31213 rtph265pay/depay: Sync against RFC 7798
35353 rtph265depay: checking if depay has sps/pps nals before insertion
38482 rtp{vorbis,theora}{pay,depay}: Cosmetic cleanup
39612 rtph264depay: checking if depay has sps/pps nals before insertion
[all …]

12