Lines Matching refs:rtp
151 GST_LOG_RTP_PACKET (ctx->parent, "rtp header (incoming)", &info->rtp); in gst_rtp_ulpfec_enc_stream_ctx_start()
190 guint16 seq = gst_rtp_buffer_get_seq (&info->rtp); in gst_rtp_ulpfec_enc_stream_ctx_get_protection_parameters()
236 rtp_ulpfec_packet_mask_from_seqnum (gst_rtp_buffer_get_seq (&info->rtp), in gst_rtp_ulpfec_enc_stream_ctx_protect()
242 rtp_buffer_to_ulpfec_bitstring (&info->rtp, ctx->scratch_buf, FALSE, in gst_rtp_ulpfec_enc_stream_ctx_protect()
316 ctx, GstRTPBuffer * rtp, guint buf_max_size) in gst_rtp_ulpfec_enc_stream_ctx_prepend_to_fec_buffer() argument
325 gst_buffer_replace ((GstBuffer **) & new_head->data, rtp->buffer); in gst_rtp_ulpfec_enc_stream_ctx_prepend_to_fec_buffer()
376 GstRTPBuffer * rtp, gboolean * dst_empty_packet_buffer, in gst_rtp_ulpfec_enc_stream_ctx_cache_packet() argument
380 gst_rtp_ulpfec_enc_stream_ctx_prepend_to_fec_buffer (ctx, rtp, in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
382 gst_rtp_ulpfec_enc_stream_ctx_increment_budget (ctx, rtp->buffer); in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
384 *dst_empty_packet_buffer = gst_rtp_buffer_get_marker (rtp); in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
389 gst_rtp_ulpfec_enc_stream_ctx_prepend_to_fec_buffer (ctx, rtp, 1); in gst_rtp_ulpfec_enc_stream_ctx_cache_packet()
472 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in gst_rtp_ulpfec_enc_stream_ctx_process() local
482 GST_MAP_READWRITE | GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtp)) in gst_rtp_ulpfec_enc_stream_ctx_process()
484 gst_rtp_buffer_set_seq (&rtp, in gst_rtp_ulpfec_enc_stream_ctx_process()
485 gst_rtp_buffer_get_seq (&rtp) + ctx->seqnum_offset); in gst_rtp_ulpfec_enc_stream_ctx_process()
488 GST_MAP_READ | GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtp)) in gst_rtp_ulpfec_enc_stream_ctx_process()
492 gst_rtp_ulpfec_enc_stream_ctx_cache_packet (ctx, &rtp, &empty_packet_buffer, in gst_rtp_ulpfec_enc_stream_ctx_process()
496 guint32 fec_timestamp = gst_rtp_buffer_get_timestamp (&rtp); in gst_rtp_ulpfec_enc_stream_ctx_process()
497 guint32 fec_ssrc = gst_rtp_buffer_get_ssrc (&rtp); in gst_rtp_ulpfec_enc_stream_ctx_process()
498 guint16 fec_seq = gst_rtp_buffer_get_seq (&rtp) + 1; in gst_rtp_ulpfec_enc_stream_ctx_process()
500 gst_rtp_buffer_unmap (&rtp); in gst_rtp_ulpfec_enc_stream_ctx_process()
508 gst_rtp_buffer_unmap (&rtp); in gst_rtp_ulpfec_enc_stream_ctx_process()
541 GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; in gst_rtp_ulpfec_enc_chain() local
552 GST_MAP_READ | GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtp)) { in gst_rtp_ulpfec_enc_chain()
555 ssrc = gst_rtp_buffer_get_ssrc (&rtp); in gst_rtp_ulpfec_enc_chain()
556 gst_rtp_buffer_unmap (&rtp); in gst_rtp_ulpfec_enc_chain()