FFmpeg
Loading...
Searching...
No Matches
rtpdec_rfc4175.c File Reference

Go to the source code of this file.

Data Structures

struct  PayloadContext
 RTP/AV1 specific private data. More...
 

Functions

static int rfc4175_parse_format (AVStream *stream, PayloadContext *data)
 
static int rfc4175_parse_fmtp (AVFormatContext *s, AVStream *stream, PayloadContext *data, const char *attr, const char *value)
 
static int rfc4175_parse_sdp_line (AVFormatContext *s, int st_index, PayloadContext *data_arg, const char *line)
 
static int rfc4175_finalize_packet (PayloadContext *data, AVPacket *pkt, int stream_index)
 
static int rfc4175_handle_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 

Variables

const RTPDynamicProtocolHandler ff_rfc4175_rtp_handler
 

Function Documentation

◆ rfc4175_parse_format()

static int rfc4175_parse_format ( AVStream * stream,
PayloadContext * data )
static

Definition at line 50 of file rtpdec_rfc4175.c.

Referenced by rfc4175_parse_sdp_line().

◆ rfc4175_parse_fmtp()

static int rfc4175_parse_fmtp ( AVFormatContext * s,
AVStream * stream,
PayloadContext * data,
const char * attr,
const char * value )
static

Definition at line 125 of file rtpdec_rfc4175.c.

Referenced by rfc4175_parse_sdp_line().

◆ rfc4175_parse_sdp_line()

static int rfc4175_parse_sdp_line ( AVFormatContext * s,
int st_index,
PayloadContext * data_arg,
const char * line )
static

Definition at line 176 of file rtpdec_rfc4175.c.

◆ rfc4175_finalize_packet()

static int rfc4175_finalize_packet ( PayloadContext * data,
AVPacket * pkt,
int stream_index )
static

Definition at line 216 of file rtpdec_rfc4175.c.

Referenced by rfc4175_handle_packet().

◆ rfc4175_handle_packet()

static int rfc4175_handle_packet ( AVFormatContext * ctx,
PayloadContext * data,
AVStream * st,
AVPacket * pkt,
uint32_t * timestamp,
const uint8_t * buf,
int len,
uint16_t seq,
int flags )
static

Definition at line 235 of file rtpdec_rfc4175.c.

Variable Documentation

◆ ff_rfc4175_rtp_handler

const RTPDynamicProtocolHandler ff_rfc4175_rtp_handler
Initial value:
= {
.enc_name = "raw",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_NONE,
.priv_data_size = sizeof(PayloadContext),
.parse_sdp_a_line = rfc4175_parse_sdp_line,
}
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index, int flush)
Parse a packet, add all split parts to parse_queue.
Definition demux.c:1178
@ AV_CODEC_ID_NONE
Definition codec_id.h:48
@ AVMEDIA_TYPE_VIDEO
Definition avutil.h:200
static int rfc4175_parse_sdp_line(AVFormatContext *s, int st_index, PayloadContext *data_arg, const char *line)
static int rfc4175_handle_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
RTP/AV1 specific private data.
Definition rdt.c:85

Definition at line 334 of file rtpdec_rfc4175.c.