Lines Matching refs:rtpqdm2depay
57 GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (rtpqdm2depay, "rtpqdm2depay",
107 gst_rtp_qdm2_depay_init (GstRtpQDM2Depay * rtpqdm2depay) in gst_rtp_qdm2_depay_init() argument
109 rtpqdm2depay->adapter = gst_adapter_new (); in gst_rtp_qdm2_depay_init()
115 GstRtpQDM2Depay *rtpqdm2depay; in gst_rtp_qdm2_depay_finalize() local
117 rtpqdm2depay = GST_RTP_QDM2_DEPAY (object); in gst_rtp_qdm2_depay_finalize()
119 g_object_unref (rtpqdm2depay->adapter); in gst_rtp_qdm2_depay_finalize()
120 rtpqdm2depay->adapter = NULL; in gst_rtp_qdm2_depay_finalize()
237 GstRtpQDM2Depay *rtpqdm2depay; in gst_rtp_qdm2_depay_process() local
241 rtpqdm2depay = GST_RTP_QDM2_DEPAY (depayload); in gst_rtp_qdm2_depay_process()
255 if (G_UNLIKELY (seq != rtpqdm2depay->nextseq)) { in gst_rtp_qdm2_depay_process()
258 flush_data (rtpqdm2depay); in gst_rtp_qdm2_depay_process()
260 rtpqdm2depay->ptimestamp = rtpqdm2depay->timestamp; in gst_rtp_qdm2_depay_process()
261 rtpqdm2depay->timestamp = GST_BUFFER_PTS (rtp->buffer); in gst_rtp_qdm2_depay_process()
264 rtpqdm2depay->nextseq = seq + 1; in gst_rtp_qdm2_depay_process()
282 rtpqdm2depay->ptimestamp = rtpqdm2depay->timestamp; in gst_rtp_qdm2_depay_process()
283 rtpqdm2depay->timestamp = GST_BUFFER_PTS (rtp->buffer); in gst_rtp_qdm2_depay_process()
285 flush_data (rtpqdm2depay); in gst_rtp_qdm2_depay_process()
286 if (G_UNLIKELY (!rtpqdm2depay->configured)) { in gst_rtp_qdm2_depay_process()
296 rtpqdm2depay->channs = GST_READ_UINT32_BE (payload + pos + 4); in gst_rtp_qdm2_depay_process()
297 rtpqdm2depay->samplerate = GST_READ_UINT32_BE (payload + pos + 8); in gst_rtp_qdm2_depay_process()
298 rtpqdm2depay->bitrate = GST_READ_UINT32_BE (payload + pos + 12); in gst_rtp_qdm2_depay_process()
299 rtpqdm2depay->blocksize = GST_READ_UINT32_BE (payload + pos + 16); in gst_rtp_qdm2_depay_process()
300 rtpqdm2depay->framesize = GST_READ_UINT32_BE (payload + pos + 20); in gst_rtp_qdm2_depay_process()
301 rtpqdm2depay->packetsize = GST_READ_UINT32_BE (payload + pos + 24); in gst_rtp_qdm2_depay_process()
306 rtpqdm2depay->channs, rtpqdm2depay->samplerate, in gst_rtp_qdm2_depay_process()
307 rtpqdm2depay->bitrate, rtpqdm2depay->blocksize, in gst_rtp_qdm2_depay_process()
308 rtpqdm2depay->framesize, rtpqdm2depay->packetsize); in gst_rtp_qdm2_depay_process()
319 "rate", G_TYPE_INT, rtpqdm2depay->samplerate, in gst_rtp_qdm2_depay_process()
320 "channels", G_TYPE_INT, rtpqdm2depay->channs, in gst_rtp_qdm2_depay_process()
324 rtpqdm2depay->configured = TRUE; in gst_rtp_qdm2_depay_process()
353 add_packet (rtpqdm2depay, packetid, packlen + hsize, in gst_rtp_qdm2_depay_process()
362 avail = gst_adapter_available (rtpqdm2depay->adapter); in gst_rtp_qdm2_depay_process()
365 outbuf = gst_adapter_take_buffer (rtpqdm2depay->adapter, avail); in gst_rtp_qdm2_depay_process()
366 GST_BUFFER_PTS (outbuf) = rtpqdm2depay->ptimestamp; in gst_rtp_qdm2_depay_process()
368 GST_TIME_ARGS (rtpqdm2depay->ptimestamp)); in gst_rtp_qdm2_depay_process()
377 GST_ELEMENT_WARNING (rtpqdm2depay, STREAM, DECODE, in gst_rtp_qdm2_depay_process()
387 GstRtpQDM2Depay *rtpqdm2depay; in gst_rtp_qdm2_depay_change_state() local
390 rtpqdm2depay = GST_RTP_QDM2_DEPAY (element); in gst_rtp_qdm2_depay_change_state()
396 gst_adapter_clear (rtpqdm2depay->adapter); in gst_rtp_qdm2_depay_change_state()