Lines Matching refs:rtp
454 _gst_rtp_buffer_new_from_rtx (GstRTPBuffer * rtp, guint32 ssrc1, in _gst_rtp_buffer_new_from_rtx() argument
464 mem = gst_memory_copy (rtp->map[0].memory, in _gst_rtp_buffer_new_from_rtx()
465 (guint8 *) rtp->data[0] - rtp->map[0].data, rtp->size[0]); in _gst_rtp_buffer_new_from_rtx()
469 if (rtp->size[1]) { in _gst_rtp_buffer_new_from_rtx()
470 mem = gst_memory_copy (rtp->map[1].memory, in _gst_rtp_buffer_new_from_rtx()
471 (guint8 *) rtp->data[1] - rtp->map[1].data, rtp->size[1]); in _gst_rtp_buffer_new_from_rtx()
476 payload_len = rtp->size[2] - 2; in _gst_rtp_buffer_new_from_rtx()
480 if (rtp->size[2]) in _gst_rtp_buffer_new_from_rtx()
481 memcpy (map.data, (guint8 *) rtp->data[2] + 2, payload_len); in _gst_rtp_buffer_new_from_rtx()
489 if (rtp->size[3]) { in _gst_rtp_buffer_new_from_rtx()
490 guint pad_len = rtp->size[3]; in _gst_rtp_buffer_new_from_rtx()
508 gst_buffer_copy_into (new_buffer, rtp->buffer, in _gst_rtp_buffer_new_from_rtx()
519 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in gst_rtp_rtx_receive_chain() local
534 if (!gst_rtp_buffer_map (buffer, GST_MAP_READ, &rtp)) in gst_rtp_rtx_receive_chain()
537 ssrc = gst_rtp_buffer_get_ssrc (&rtp); in gst_rtp_rtx_receive_chain()
538 seqnum = gst_rtp_buffer_get_seq (&rtp); in gst_rtp_rtx_receive_chain()
539 payload_type = gst_rtp_buffer_get_payload_type (&rtp); in gst_rtp_rtx_receive_chain()
549 payload = gst_rtp_buffer_get_payload (&rtp); in gst_rtp_rtx_receive_chain()
551 if (!payload || gst_rtp_buffer_get_payload_len (&rtp) < 2) { in gst_rtp_rtx_receive_chain()
553 gst_rtp_buffer_unmap (&rtp); in gst_rtp_rtx_receive_chain()
583 orign_seqnum = GST_READ_UINT16_BE (gst_rtp_buffer_get_payload (&rtp)); in gst_rtp_rtx_receive_chain()
654 gst_rtp_buffer_unmap (&rtp); in gst_rtp_rtx_receive_chain()
662 _gst_rtp_buffer_new_from_rtx (&rtp, GPOINTER_TO_UINT (ssrc1), in gst_rtp_rtx_receive_chain()
665 gst_rtp_buffer_unmap (&rtp); in gst_rtp_rtx_receive_chain()