/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/ |
D | gstrtpbaseaudiopayload.c | 399 GstRTPBasePayload *basepayload; in gst_rtp_base_audio_payload_set_meta() local 403 basepayload = GST_RTP_BASE_PAYLOAD_CAST (payload); in gst_rtp_base_audio_payload_set_meta() 408 gst_rtp_buffer_set_payload_type (&rtp, basepayload->pt); in gst_rtp_base_audio_payload_set_meta() 451 GstRTPBasePayload *basepayload; in gst_rtp_base_audio_payload_push() local 457 basepayload = GST_RTP_BASE_PAYLOAD (baseaudiopayload); in gst_rtp_base_audio_payload_push() 463 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, in gst_rtp_base_audio_payload_push() 476 ret = gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_base_audio_payload_push() 514 GstRTPBasePayload *basepayload; in gst_rtp_base_audio_payload_push_buffer() local 521 basepayload = GST_RTP_BASE_PAYLOAD (baseaudiopayload); in gst_rtp_base_audio_payload_push_buffer() 529 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0); in gst_rtp_base_audio_payload_push_buffer() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpamrpay.c | 107 static gboolean gst_rtp_amr_pay_setcaps (GstRTPBasePayload * basepayload, 162 gst_rtp_amr_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_amr_pay_setcaps() argument 169 rtpamrpay = GST_RTP_AMR_PAY (basepayload); in gst_rtp_amr_pay_setcaps() 184 gst_rtp_base_payload_set_options (basepayload, "audio", TRUE, "AMR", 8000); in gst_rtp_amr_pay_setcaps() 186 gst_rtp_base_payload_set_options (basepayload, "audio", TRUE, "AMR-WB", in gst_rtp_amr_pay_setcaps() 189 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_amr_pay_setcaps() 245 gst_rtp_amr_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_amr_pay_handle_buffer() argument 262 rtpamrpay = GST_RTP_AMR_PAY (basepayload); in gst_rtp_amr_pay_handle_buffer() 276 GST_DEBUG_OBJECT (basepayload, "got %" G_GSIZE_FORMAT " bytes", map.size); in gst_rtp_amr_pay_handle_buffer() 292 GST_DEBUG_OBJECT (basepayload, "frame type %d, frame size %d", FT, fr_size); in gst_rtp_amr_pay_handle_buffer() [all …]
|
D | gstrtpL8pay.c | 73 static gboolean gst_rtp_L8_pay_setcaps (GstRTPBasePayload * basepayload, 78 gst_rtp_L8_pay_handle_buffer (GstRTPBasePayload * basepayload, 127 gst_rtp_L8_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_L8_pay_setcaps() argument 136 rtpbaseaudiopayload = GST_RTP_BASE_AUDIO_PAYLOAD (basepayload); in gst_rtp_L8_pay_setcaps() 137 rtpL8pay = GST_RTP_L8_PAY (basepayload); in gst_rtp_L8_pay_setcaps() 147 gst_rtp_base_payload_set_options (basepayload, "audio", TRUE, "L8", in gst_rtp_L8_pay_setcaps() 157 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_L8_pay_setcaps() 161 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_L8_pay_setcaps() 224 gst_rtp_L8_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_L8_pay_handle_buffer() argument 229 rtpL8pay = GST_RTP_L8_PAY (basepayload); in gst_rtp_L8_pay_handle_buffer() [all …]
|
D | gstrtpL24pay.c | 73 static gboolean gst_rtp_L24_pay_setcaps (GstRTPBasePayload * basepayload, 78 gst_rtp_L24_pay_handle_buffer (GstRTPBasePayload * basepayload, 126 gst_rtp_L24_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_L24_pay_setcaps() argument 135 rtpbaseaudiopayload = GST_RTP_BASE_AUDIO_PAYLOAD (basepayload); in gst_rtp_L24_pay_setcaps() 136 rtpL24pay = GST_RTP_L24_PAY (basepayload); in gst_rtp_L24_pay_setcaps() 146 gst_rtp_base_payload_set_options (basepayload, "audio", TRUE, "L24", in gst_rtp_L24_pay_setcaps() 156 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_L24_pay_setcaps() 160 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_L24_pay_setcaps() 223 gst_rtp_L24_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_L24_pay_handle_buffer() argument 228 rtpL24pay = GST_RTP_L24_PAY (basepayload); in gst_rtp_L24_pay_handle_buffer() [all …]
|
D | gstrtph264pay.c | 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, [all …]
|
D | gstrtpL16pay.c | 84 static gboolean gst_rtp_L16_pay_setcaps (GstRTPBasePayload * basepayload, 89 gst_rtp_L16_pay_handle_buffer (GstRTPBasePayload * basepayload, 136 gst_rtp_L16_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_L16_pay_setcaps() argument 145 rtpbaseaudiopayload = GST_RTP_BASE_AUDIO_PAYLOAD (basepayload); in gst_rtp_L16_pay_setcaps() 146 rtpL16pay = GST_RTP_L16_PAY (basepayload); in gst_rtp_L16_pay_setcaps() 156 gst_rtp_base_payload_set_options (basepayload, "audio", TRUE, "L16", in gst_rtp_L16_pay_setcaps() 166 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_L16_pay_setcaps() 170 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_L16_pay_setcaps() 242 gst_rtp_L16_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_L16_pay_handle_buffer() argument 247 rtpL16pay = GST_RTP_L16_PAY (basepayload); in gst_rtp_L16_pay_handle_buffer() [all …]
|
D | gstrtph265pay.c | 155 static gboolean gst_rtp_h265_pay_setcaps (GstRTPBasePayload * basepayload, 495 gst_rtp_h265_pay_set_vps_sps_pps (GstRTPBasePayload * basepayload) in gst_rtp_h265_pay_set_vps_sps_pps() argument 497 GstRtpH265Pay *payloader = GST_RTP_H265_PAY (basepayload); in gst_rtp_h265_pay_set_vps_sps_pps() 551 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_h265_pay_set_vps_sps_pps() 556 res = gst_rtp_base_payload_set_outcaps (basepayload, NULL); in gst_rtp_h265_pay_set_vps_sps_pps() 567 gst_rtp_h265_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_h265_pay_setcaps() argument 579 rtph265pay = GST_RTP_H265_PAY (basepayload); in gst_rtp_h265_pay_setcaps() 585 gst_rtp_base_payload_set_options (basepayload, "video", TRUE, "H265", 90000); in gst_rtp_h265_pay_setcaps() 799 if (!gst_rtp_h265_pay_set_vps_sps_pps (basepayload)) in gst_rtp_h265_pay_setcaps() 925 basepayload, GPtrArray * paybufs, GstClockTime dts, GstClockTime pts); [all …]
|
D | gstrtpg722pay.c | 60 static gboolean gst_rtp_g722_pay_setcaps (GstRTPBasePayload * basepayload, 111 gst_rtp_g722_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_g722_pay_setcaps() argument 124 rtpbaseaudiopayload = GST_RTP_BASE_AUDIO_PAYLOAD (basepayload); in gst_rtp_g722_pay_setcaps() 125 rtpg722pay = GST_RTP_G722_PAY (basepayload); in gst_rtp_g722_pay_setcaps() 150 gst_rtp_base_payload_set_options (basepayload, "audio", in gst_rtp_g722_pay_setcaps() 151 basepayload->pt != GST_RTP_PAYLOAD_G722, "G722", clock_rate); in gst_rtp_g722_pay_setcaps() 161 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_g722_pay_setcaps() 166 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_g722_pay_setcaps()
|
D | gstrtpvorbispay.c | 77 static gboolean gst_rtp_vorbis_pay_setcaps (GstRTPBasePayload * basepayload, 86 static gboolean gst_rtp_vorbis_pay_parse_id (GstRTPBasePayload * basepayload, 89 basepayload); 168 gst_rtp_vorbis_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_vorbis_pay_setcaps() argument 177 rtpvorbispay = GST_RTP_VORBIS_PAY (basepayload); in gst_rtp_vorbis_pay_setcaps() 213 if (G_UNLIKELY (!gst_rtp_vorbis_pay_parse_id (basepayload, map.data, in gst_rtp_vorbis_pay_setcaps() 222 if (!gst_rtp_vorbis_pay_finish_headers (basepayload)) in gst_rtp_vorbis_pay_setcaps() 356 gst_rtp_vorbis_pay_finish_headers (GstRTPBasePayload * basepayload) in gst_rtp_vorbis_pay_finish_headers() argument 358 GstRtpVorbisPay *rtpvorbispay = GST_RTP_VORBIS_PAY (basepayload); in gst_rtp_vorbis_pay_finish_headers() 527 gst_rtp_base_payload_set_options (basepayload, "audio", TRUE, "VORBIS", in gst_rtp_vorbis_pay_finish_headers() [all …]
|
D | gstrtptheorapay.c | 86 static gboolean gst_rtp_theora_pay_setcaps (GstRTPBasePayload * basepayload, 95 static gboolean gst_rtp_theora_pay_parse_id (GstRTPBasePayload * basepayload, 98 basepayload); 176 gst_rtp_theora_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_theora_pay_setcaps() argument 185 rtptheorapay = GST_RTP_THEORA_PAY (basepayload); in gst_rtp_theora_pay_setcaps() 218 if (G_UNLIKELY (!gst_rtp_theora_pay_parse_id (basepayload, map.data, in gst_rtp_theora_pay_setcaps() 227 if (!gst_rtp_theora_pay_finish_headers (basepayload)) in gst_rtp_theora_pay_setcaps() 357 gst_rtp_theora_pay_finish_headers (GstRTPBasePayload * basepayload) in gst_rtp_theora_pay_finish_headers() argument 359 GstRtpTheoraPay *rtptheorapay = GST_RTP_THEORA_PAY (basepayload); in gst_rtp_theora_pay_finish_headers() 546 gst_rtp_base_payload_set_options (basepayload, "video", TRUE, "THEORA", in gst_rtp_theora_pay_finish_headers() [all …]
|
D | gstrtpklvpay.c | 111 gst_rtp_klv_pay_handle_buffer (GstRTPBasePayload * basepayload, GstBuffer * buf) in gst_rtp_klv_pay_handle_buffer() argument 121 pay = GST_RTP_KLV_PAY (basepayload); in gst_rtp_klv_pay_handle_buffer() 122 mtu = GST_RTP_BASE_PAYLOAD_MTU (basepayload); in gst_rtp_klv_pay_handle_buffer() 153 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0); in gst_rtp_klv_pay_handle_buffer() 188 ret = gst_rtp_base_payload_push_list (basepayload, list); in gst_rtp_klv_pay_handle_buffer() 190 ret = gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_klv_pay_handle_buffer()
|
D | gstrtpj2kpay.c | 93 static gboolean gst_rtp_j2k_pay_setcaps (GstRTPBasePayload * basepayload, 141 gst_rtp_j2k_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_j2k_pay_setcaps() argument 156 gst_rtp_base_payload_set_options (basepayload, "video", TRUE, "JPEG2000", in gst_rtp_j2k_pay_setcaps() 160 res = gst_rtp_base_payload_set_outcaps (basepayload, in gst_rtp_j2k_pay_setcaps() 165 gst_rtp_base_payload_set_outcaps (basepayload, "sampling", in gst_rtp_j2k_pay_setcaps() 335 gst_rtp_j2k_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_j2k_pay_handle_buffer() argument 348 pay = GST_RTP_J2K_PAY (basepayload); in gst_rtp_j2k_pay_handle_buffer() 447 gst_rtp_base_payload_allocate_output_buffer (basepayload, in gst_rtp_j2k_pay_handle_buffer() 514 gst_rtp_copy_video_meta (basepayload, outbuf, paybuf); in gst_rtp_j2k_pay_handle_buffer() 542 ret = gst_rtp_base_payload_push_list (basepayload, list); in gst_rtp_j2k_pay_handle_buffer()
|
D | gstrtpgsmpay.c | 130 gst_rtp_gsm_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_gsm_pay_handle_buffer() argument 139 rtpgsmpay = GST_RTP_GSM_PAY (basepayload); in gst_rtp_gsm_pay_handle_buffer() 151 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0); in gst_rtp_gsm_pay_handle_buffer() 165 ret = gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_gsm_pay_handle_buffer()
|
D | gstrtpjpegpay.c | 244 static gboolean gst_rtp_jpeg_pay_setcaps (GstRTPBasePayload * basepayload, 309 gst_rtp_jpeg_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps) in gst_rtp_jpeg_pay_setcaps() argument 319 pay = GST_RTP_JPEG_PAY (basepayload); in gst_rtp_jpeg_pay_setcaps() 344 gst_rtp_base_payload_set_options (basepayload, "video", in gst_rtp_jpeg_pay_setcaps() 345 basepayload->pt != GST_RTP_PAYLOAD_JPEG, "JPEG", 90000); in gst_rtp_jpeg_pay_setcaps() 360 res = gst_rtp_base_payload_set_outcaps (basepayload, "a-framerate", in gst_rtp_jpeg_pay_setcaps() 363 res = gst_rtp_base_payload_set_outcaps (basepayload, "a-framerate", in gst_rtp_jpeg_pay_setcaps() 366 res = gst_rtp_base_payload_set_outcaps (basepayload, "x-dimensions", in gst_rtp_jpeg_pay_setcaps() 369 res = gst_rtp_base_payload_set_outcaps (basepayload, NULL); in gst_rtp_jpeg_pay_setcaps() 715 gst_rtp_jpeg_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_jpeg_pay_handle_buffer() argument [all …]
|
D | gstrtpisacpay.c | 133 gst_rtp_isac_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_isac_pay_handle_buffer() argument 143 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0); in gst_rtp_isac_pay_handle_buffer() 145 gst_rtp_copy_audio_meta (basepayload, outbuf, buffer); in gst_rtp_isac_pay_handle_buffer() 153 return gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_isac_pay_handle_buffer()
|
D | gstrtpspeexpay.c | 240 gst_rtp_speex_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_speex_pay_handle_buffer() argument 249 rtpspeexpay = GST_RTP_SPEEX_PAY (basepayload); in gst_rtp_speex_pay_handle_buffer() 285 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0); in gst_rtp_speex_pay_handle_buffer() 295 gst_rtp_copy_audio_meta (basepayload, outbuf, buffer); in gst_rtp_speex_pay_handle_buffer() 299 ret = gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_speex_pay_handle_buffer()
|
D | gstrtpdvpay.c | 283 gst_rtp_dv_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_dv_pay_handle_buffer() argument 298 rtpdvpay = GST_RTP_DV_PAY (basepayload); in gst_rtp_dv_pay_handle_buffer() 339 gst_rtp_base_payload_allocate_output_buffer (basepayload, in gst_rtp_dv_pay_handle_buffer() 383 gst_rtp_copy_meta (GST_ELEMENT_CAST (basepayload), outbuf, buffer, 0); in gst_rtp_dv_pay_handle_buffer() 384 ret = gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_dv_pay_handle_buffer()
|
D | gstrtpg729pay.c | 159 GstRTPBasePayload *basepayload; in gst_rtp_g729_pay_push() local 167 basepayload = GST_RTP_BASE_PAYLOAD (rtpg729pay); in gst_rtp_g729_pay_push() 190 GST_DEBUG_OBJECT (basepayload, "discont, setting marker bit"); in gst_rtp_g729_pay_push() 198 gst_rtp_copy_audio_meta (basepayload, outbuf, buf); in gst_rtp_g729_pay_push() 201 ret = gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_g729_pay_push()
|
D | gstrtpopuspay.c | 325 gst_rtp_opus_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_opus_pay_handle_buffer() argument 328 GstRtpOPUSPay *self = GST_RTP_OPUS_PAY_CAST (basepayload); in gst_rtp_opus_pay_handle_buffer() 345 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0); in gst_rtp_opus_pay_handle_buffer() 347 gst_rtp_copy_audio_meta (basepayload, outbuf, buffer); in gst_rtp_opus_pay_handle_buffer() 367 return gst_rtp_base_payload_push (basepayload, outbuf); in gst_rtp_opus_pay_handle_buffer()
|
D | gstrtpmp2tpay.c | 181 gst_rtp_mp2t_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_mp2t_pay_handle_buffer() argument 189 rtpmp2tpay = GST_RTP_MP2T_PAY (basepayload); in gst_rtp_mp2t_pay_handle_buffer() 210 if (!size || gst_rtp_base_payload_is_filled (basepayload, in gst_rtp_mp2t_pay_handle_buffer()
|
D | gstrtpmpvpay.c | 255 gst_rtp_mpv_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_mpv_pay_handle_buffer() argument 263 rtpmpvpay = GST_RTP_MPV_PAY (basepayload); in gst_rtp_mpv_pay_handle_buffer() 296 if (gst_rtp_base_payload_is_filled (basepayload, in gst_rtp_mpv_pay_handle_buffer()
|
D | gstrtpmp4vpay.c | 428 gst_rtp_mp4v_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_mp4v_pay_handle_buffer() argument 447 rtpmp4vpay = GST_RTP_MP4V_PAY (basepayload); in gst_rtp_mp4v_pay_handle_buffer() 490 gst_segment_to_running_time (&basepayload->segment, GST_FORMAT_TIME, in gst_rtp_mp4v_pay_handle_buffer() 501 gst_segment_to_running_time (&basepayload->segment, GST_FORMAT_TIME, in gst_rtp_mp4v_pay_handle_buffer() 566 if (gst_rtp_base_payload_is_filled (basepayload, in gst_rtp_mp4v_pay_handle_buffer()
|
D | gstrtpmpapay.c | 265 gst_rtp_mpa_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_mpa_pay_handle_buffer() argument 274 rtpmpapay = GST_RTP_MPA_PAY (basepayload); in gst_rtp_mpa_pay_handle_buffer() 293 if (gst_rtp_base_payload_is_filled (basepayload, in gst_rtp_mpa_pay_handle_buffer()
|
D | gstrtpac3pay.c | 348 gst_rtp_ac3_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_ac3_pay_handle_buffer() argument 359 rtpac3pay = GST_RTP_AC3_PAY (basepayload); in gst_rtp_ac3_pay_handle_buffer() 418 if (gst_rtp_base_payload_is_filled (basepayload, in gst_rtp_ac3_pay_handle_buffer()
|
D | gstrtpmp4apay.c | 356 gst_rtp_mp4a_pay_handle_buffer (GstRTPBasePayload * basepayload, in gst_rtp_mp4a_pay_handle_buffer() argument 370 rtpmp4apay = GST_RTP_MP4A_PAY (basepayload); in gst_rtp_mp4a_pay_handle_buffer() 414 outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, in gst_rtp_mp4a_pay_handle_buffer()
|