Searched refs:rtpctx (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | rtpenc_chain.c | 32 AVFormatContext *rtpctx = NULL; in ff_rtp_chain_mux_open() local 44 rtpctx = avformat_alloc_context(); in ff_rtp_chain_mux_open() 45 if (!rtpctx) { in ff_rtp_chain_mux_open() 50 rtpctx->oformat = rtp_format; in ff_rtp_chain_mux_open() 51 if (!avformat_new_stream(rtpctx, NULL)) { in ff_rtp_chain_mux_open() 56 rtpctx->interrupt_callback = s->interrupt_callback; in ff_rtp_chain_mux_open() 58 rtpctx->max_delay = s->max_delay; in ff_rtp_chain_mux_open() 60 rtpctx->streams[0]->sample_aspect_ratio = st->sample_aspect_ratio; in ff_rtp_chain_mux_open() 61 rtpctx->flags |= s->flags & AVFMT_FLAG_BITEXACT; in ff_rtp_chain_mux_open() 62 rtpctx->strict_std_compliance = s->strict_std_compliance; in ff_rtp_chain_mux_open() [all …]
|
D | rtspenc.c | 144 AVFormatContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_tcp_write_packet() local 149 size = avio_close_dyn_buf(rtpctx->pb, &buf); in ff_rtsp_tcp_write_packet() 150 rtpctx->pb = NULL; in ff_rtsp_tcp_write_packet() 177 return ffio_open_dyn_packet_buf(&rtpctx->pb, RTSP_TCP_MAX_PACKET_SIZE); in ff_rtsp_tcp_write_packet() 186 AVFormatContext *rtpctx; in rtsp_write_packet() local 214 rtpctx = rtsp_st->transport_priv; in rtsp_write_packet() 216 ret = ff_write_chained(rtpctx, 0, pkt, s, 0); in rtsp_write_packet()
|
D | sapenc.c | 48 AVFormatContext *rtpctx = s->streams[i]->priv_data; in sap_write_close() local 49 if (!rtpctx) in sap_write_close() 51 av_write_trailer(rtpctx); in sap_write_close() 52 avio_closep(&rtpctx->pb); in sap_write_close() 53 avformat_free_context(rtpctx); in sap_write_close() 255 AVFormatContext *rtpctx; in sap_write_packet() local 266 rtpctx = s->streams[pkt->stream_index]->priv_data; in sap_write_packet() 267 return ff_write_chained(rtpctx, 0, pkt, s, 0); in sap_write_packet()
|
D | rtspdec.c | 541 RTPDemuxContext *rtpctx = rtsp_st->transport_priv; in rtsp_read_play() local 542 if (!rtpctx) in rtsp_read_play() 544 ff_rtp_reset_packet_queue(rtpctx); in rtsp_read_play() 545 rtpctx->last_rtcp_ntp_time = AV_NOPTS_VALUE; in rtsp_read_play() 546 rtpctx->first_rtcp_ntp_time = AV_NOPTS_VALUE; in rtsp_read_play() 547 rtpctx->base_timestamp = 0; in rtsp_read_play() 548 rtpctx->timestamp = 0; in rtsp_read_play() 549 rtpctx->unwrapped_timestamp = 0; in rtsp_read_play() 550 rtpctx->rtcp_ts_offset = 0; in rtsp_read_play() 569 RTPDemuxContext *rtpctx = rtsp_st->transport_priv; in rtsp_read_play() local [all …]
|
D | rtsp.c | 771 AVFormatContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_undo_setup() local 772 av_write_trailer(rtpctx); in ff_rtsp_undo_setup() 774 if (CONFIG_RTSP_MUXER && rtpctx->pb && send_packets) in ff_rtsp_undo_setup() 776 ffio_free_dyn_buf(&rtpctx->pb); in ff_rtsp_undo_setup() 778 avio_closep(&rtpctx->pb); in ff_rtsp_undo_setup() 780 avformat_free_context(rtpctx); in ff_rtsp_undo_setup() 871 RTPDemuxContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_open_transport_ctx() local 872 rtpctx->ssrc = rtsp_st->ssrc; in ff_rtsp_open_transport_ctx() 1045 RTPDemuxContext *rtpctx = rtsp_st->transport_priv; in handle_rtp_info() local 1046 if (!rtpctx) in handle_rtp_info() [all …]
|