• Home
  • Raw
  • Download

Lines Matching refs:rtptheoradepay

68 GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (rtptheoradepay, "rtptheoradepay",
117 gst_rtp_theora_depay_init (GstRtpTheoraDepay * rtptheoradepay) in gst_rtp_theora_depay_init() argument
119 rtptheoradepay->adapter = gst_adapter_new (); in gst_rtp_theora_depay_init()
130 free_indents (GstRtpTheoraDepay * rtptheoradepay) in free_indents() argument
132 g_list_free_full (rtptheoradepay->configs, (GDestroyNotify) free_config); in free_indents()
133 rtptheoradepay->configs = NULL; in free_indents()
139 GstRtpTheoraDepay *rtptheoradepay = GST_RTP_THEORA_DEPAY (object); in gst_rtp_theora_depay_finalize() local
141 g_object_unref (rtptheoradepay->adapter); in gst_rtp_theora_depay_finalize()
147 gst_rtp_theora_depay_parse_configuration (GstRtpTheoraDepay * rtptheoradepay, in gst_rtp_theora_depay_parse_configuration() argument
161 GST_DEBUG_OBJECT (rtptheoradepay, "config size %" G_GSIZE_FORMAT, size); in gst_rtp_theora_depay_parse_configuration()
183 GST_DEBUG_OBJECT (rtptheoradepay, "have %u headers", num_headers); in gst_rtp_theora_depay_parse_configuration()
226 GST_DEBUG_OBJECT (rtptheoradepay, in gst_rtp_theora_depay_parse_configuration()
251 GST_DEBUG_OBJECT (rtptheoradepay, "headers %d: size: %u", j, h_size); in gst_rtp_theora_depay_parse_configuration()
256 GST_DEBUG_OBJECT (rtptheoradepay, "last header size: %u", length); in gst_rtp_theora_depay_parse_configuration()
259 GST_DEBUG_OBJECT (rtptheoradepay, "preparing headers"); in gst_rtp_theora_depay_parse_configuration()
278 GST_DEBUG_OBJECT (rtptheoradepay, "reading header %d, size %u", j, in gst_rtp_theora_depay_parse_configuration()
288 rtptheoradepay->configs = g_list_append (rtptheoradepay->configs, conf); in gst_rtp_theora_depay_parse_configuration()
299 GST_DEBUG_OBJECT (rtptheoradepay, "configuration too small"); in gst_rtp_theora_depay_parse_configuration()
308 rtptheoradepay, guint ident, guint8 * configuration, guint size, in gst_rtp_theora_depay_parse_inband_configuration()
330 return gst_rtp_theora_depay_parse_configuration (rtptheoradepay, confbuf); in gst_rtp_theora_depay_parse_inband_configuration()
337 GstRtpTheoraDepay *rtptheoradepay; in gst_rtp_theora_depay_setcaps() local
342 rtptheoradepay = GST_RTP_THEORA_DEPAY (depayload); in gst_rtp_theora_depay_setcaps()
344 rtptheoradepay->needs_keyframe = FALSE; in gst_rtp_theora_depay_setcaps()
362 if (!gst_rtp_theora_depay_parse_configuration (rtptheoradepay, confbuf)) in gst_rtp_theora_depay_setcaps()
379 GST_ERROR_OBJECT (rtptheoradepay, "invalid configuration specified"); in gst_rtp_theora_depay_setcaps()
385 gst_rtp_theora_depay_switch_codebook (GstRtpTheoraDepay * rtptheoradepay, in gst_rtp_theora_depay_switch_codebook() argument
391 for (walk = rtptheoradepay->configs; walk; walk = g_list_next (walk)) { in gst_rtp_theora_depay_switch_codebook()
404 gst_rtp_base_depayload_push (GST_RTP_BASE_DEPAYLOAD (rtptheoradepay), in gst_rtp_theora_depay_switch_codebook()
408 rtptheoradepay->config = conf; in gst_rtp_theora_depay_switch_codebook()
423 GstRtpTheoraDepay *rtptheoradepay; in gst_rtp_theora_depay_process() local
434 rtptheoradepay = GST_RTP_THEORA_DEPAY (depayload); in gst_rtp_theora_depay_process()
473 if (!rtptheoradepay->config) { in gst_rtp_theora_depay_process()
477 } else if (rtptheoradepay->config->ident != ident) { in gst_rtp_theora_depay_process()
482 if (!gst_rtp_theora_depay_switch_codebook (rtptheoradepay, ident)) in gst_rtp_theora_depay_process()
493 gst_adapter_clear (rtptheoradepay->adapter); in gst_rtp_theora_depay_process()
495 rtptheoradepay->assembling = TRUE; in gst_rtp_theora_depay_process()
498 if (!rtptheoradepay->assembling) in gst_rtp_theora_depay_process()
505 gst_adapter_push (rtptheoradepay->adapter, vdata); in gst_rtp_theora_depay_process()
512 length = gst_adapter_available (rtptheoradepay->adapter); in gst_rtp_theora_depay_process()
513 payload_buffer = gst_adapter_take_buffer (rtptheoradepay->adapter, length); in gst_rtp_theora_depay_process()
526 rtptheoradepay->assembling = FALSE; in gst_rtp_theora_depay_process()
527 gst_adapter_clear (rtptheoradepay->adapter); in gst_rtp_theora_depay_process()
564 GST_DEBUG_OBJECT (rtptheoradepay, "in-band configuration"); in gst_rtp_theora_depay_process()
565 if (!gst_rtp_theora_depay_parse_inband_configuration (rtptheoradepay, in gst_rtp_theora_depay_process()
577 rtptheoradepay->needs_keyframe = FALSE; in gst_rtp_theora_depay_process()
592 if (rtptheoradepay->needs_keyframe) in gst_rtp_theora_depay_process()
608 GST_ELEMENT_WARNING (rtptheoradepay, STREAM, DECODE, in gst_rtp_theora_depay_process()
614 GST_ELEMENT_WARNING (rtptheoradepay, STREAM, DECODE, in gst_rtp_theora_depay_process()
620 GST_WARNING_OBJECT (rtptheoradepay, "reserved TDT ignored"); in gst_rtp_theora_depay_process()
625 GST_ELEMENT_WARNING (rtptheoradepay, STREAM, DECODE, in gst_rtp_theora_depay_process()
632 GST_ELEMENT_ERROR (rtptheoradepay, STREAM, DECODE, in gst_rtp_theora_depay_process()
646 rtptheoradepay->needs_keyframe = TRUE; in gst_rtp_theora_depay_process()
658 GstRtpTheoraDepay *rtptheoradepay; in gst_rtp_theora_depay_change_state() local
661 rtptheoradepay = GST_RTP_THEORA_DEPAY (element); in gst_rtp_theora_depay_change_state()
676 free_indents (rtptheoradepay); in gst_rtp_theora_depay_change_state()
690 GstRtpTheoraDepay *rtptheoradepay = GST_RTP_THEORA_DEPAY (depayload); in gst_rtp_theora_depay_packet_lost() local
696 rtptheoradepay->needs_keyframe = TRUE; in gst_rtp_theora_depay_packet_lost()