Lines Matching refs:basepayload
122 static gboolean gst_rtp_h264_pay_setcaps (GstRTPBasePayload * basepayload,
465 gst_rtp_h264_pay_set_sps_pps (GstRTPBasePayload * basepayload) in gst_rtp_h264_pay_set_sps_pps() argument
468 GstRtpH264Pay *payloader = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_set_sps_pps()
529 res = gst_rtp_base_payload_set_outcaps_structure (basepayload, s); in gst_rtp_h264_pay_set_sps_pps()
531 res = gst_rtp_base_payload_set_outcaps (basepayload, NULL); in gst_rtp_h264_pay_set_sps_pps()
541 gst_rtp_h264_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_h264_pay_setcaps() argument
552 rtph264pay = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_setcaps()
558 gst_rtp_base_payload_set_options (basepayload, "video", TRUE, "H264", 90000); in gst_rtp_h264_pay_setcaps()
679 if (!gst_rtp_h264_pay_set_sps_pps (basepayload)) in gst_rtp_h264_pay_setcaps()
850 gst_rtp_h264_pay_payload_nal (GstRTPBasePayload * basepayload,
855 gst_rtp_h264_pay_payload_nal_single (GstRTPBasePayload * basepayload,
860 gst_rtp_h264_pay_payload_nal_fragment (GstRTPBasePayload * basepayload,
865 gst_rtp_h264_pay_payload_nal_bundle (GstRTPBasePayload * basepayload,
870 gst_rtp_h264_pay_send_sps_pps (GstRTPBasePayload * basepayload, in gst_rtp_h264_pay_send_sps_pps() argument
873 GstRtpH264Pay *rtph264pay = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_send_sps_pps()
884 ret = gst_rtp_h264_pay_payload_nal (basepayload, gst_buffer_ref (sps_buf), in gst_rtp_h264_pay_send_sps_pps()
889 GST_WARNING_OBJECT (basepayload, "Problem pushing SPS"); in gst_rtp_h264_pay_send_sps_pps()
898 ret = gst_rtp_h264_pay_payload_nal (basepayload, gst_buffer_ref (pps_buf), in gst_rtp_h264_pay_send_sps_pps()
903 GST_WARNING_OBJECT (basepayload, "Problem pushing PPS"); in gst_rtp_h264_pay_send_sps_pps()
909 gst_segment_to_running_time (&basepayload->segment, GST_FORMAT_TIME, in gst_rtp_h264_pay_send_sps_pps()
921 gst_rtp_h264_pay_payload_nal (GstRTPBasePayload * basepayload, in gst_rtp_h264_pay_payload_nal() argument
930 rtph264pay = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_payload_nal()
958 (basepayload)))) in gst_rtp_h264_pay_payload_nal()
959 gst_rtp_h264_pay_set_sps_pps (basepayload); in gst_rtp_h264_pay_payload_nal()
968 gst_segment_to_running_time (&basepayload->segment, GST_FORMAT_TIME, in gst_rtp_h264_pay_payload_nal()
1009 ret = gst_rtp_h264_pay_send_sps_pps (basepayload, dts, pts, delta_unit, in gst_rtp_h264_pay_payload_nal()
1021 return gst_rtp_h264_pay_payload_nal_bundle (basepayload, paybuf, dts, pts, in gst_rtp_h264_pay_payload_nal()
1024 return gst_rtp_h264_pay_payload_nal_fragment (basepayload, paybuf, dts, pts, in gst_rtp_h264_pay_payload_nal()
1029 gst_rtp_h264_pay_payload_nal_fragment (GstRTPBasePayload * basepayload, in gst_rtp_h264_pay_payload_nal_fragment() argument
1040 rtph264pay = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_payload_nal_fragment()
1048 return gst_rtp_h264_pay_payload_nal_single (basepayload, paybuf, dts, pts, in gst_rtp_h264_pay_payload_nal_fragment()
1052 GST_DEBUG_OBJECT (basepayload, in gst_rtp_h264_pay_payload_nal_fragment()
1070 GST_DEBUG_OBJECT (basepayload, in gst_rtp_h264_pay_payload_nal_fragment()
1077 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 2, 0, 0); in gst_rtp_h264_pay_payload_nal_fragment()
1123 return gst_rtp_base_payload_push_list (basepayload, list); in gst_rtp_h264_pay_payload_nal_fragment()
1127 gst_rtp_h264_pay_payload_nal_single (GstRTPBasePayload * basepayload, in gst_rtp_h264_pay_payload_nal_single() argument
1135 rtph264pay = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_payload_nal_single()
1139 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0); in gst_rtp_h264_pay_payload_nal_single()
1163 return gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_h264_pay_payload_nal_single()
1177 GstRTPBasePayload *basepayload; in gst_rtp_h264_pay_send_bundle() local
1191 basepayload = GST_RTP_BASE_PAYLOAD (rtph264pay); in gst_rtp_h264_pay_send_bundle()
1249 return gst_rtp_h264_pay_payload_nal_single (basepayload, outbuf, dts, pts, in gst_rtp_h264_pay_send_bundle()
1254 gst_rtp_h264_pay_payload_nal_bundle (GstRTPBasePayload * basepayload, in gst_rtp_h264_pay_payload_nal_bundle() argument
1265 rtph264pay = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_payload_nal_bundle()
1306 return gst_rtp_h264_pay_payload_nal_fragment (basepayload, paybuf, dts, pts, in gst_rtp_h264_pay_payload_nal_bundle()
1368 gst_rtp_h264_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_h264_pay_handle_buffer() argument
1386 rtph264pay = GST_RTP_H264_PAY (basepayload); in gst_rtp_h264_pay_handle_buffer()
1432 GST_DEBUG_OBJECT (basepayload, "got %" G_GSIZE_FORMAT " bytes", size); in gst_rtp_h264_pay_handle_buffer()
1453 GST_DEBUG_OBJECT (basepayload, "got %" G_GSIZE_FORMAT " bytes", in gst_rtp_h264_pay_handle_buffer()
1473 GST_DEBUG_OBJECT (basepayload, "got NAL of size %u", nal_len); in gst_rtp_h264_pay_handle_buffer()
1476 GST_DEBUG_OBJECT (basepayload, "got incomplete NAL of size %u", in gst_rtp_h264_pay_handle_buffer()
1491 gst_rtp_h264_pay_payload_nal (basepayload, paybuf, dts, pts, in gst_rtp_h264_pay_handle_buffer()
1535 GST_DEBUG_OBJECT (basepayload, in gst_rtp_h264_pay_handle_buffer()
1564 GST_DEBUG_OBJECT (basepayload, "found next start at %u of size %u", next, in gst_rtp_h264_pay_handle_buffer()
1570 if (!gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_h264_pay_handle_buffer()
1600 if (!gst_rtp_h264_pay_set_sps_pps (basepayload)) in gst_rtp_h264_pay_handle_buffer()
1644 gst_rtp_h264_pay_payload_nal (basepayload, paybuf, dts, pts, in gst_rtp_h264_pay_handle_buffer()
1691 GST_WARNING_OBJECT (basepayload, "Could not set outcaps"); in gst_rtp_h264_pay_handle_buffer()