FFmpeg
Data Structures | Functions | Variables
rtpdec_rfc4175.c File Reference
#include "avio_internal.h"
#include "rtpdec_formats.h"
#include "libavutil/avstring.h"
#include "libavutil/pixdesc.h"

Go to the source code of this file.

Data Structures

struct  PayloadContext
 RTP/JPEG 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, 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 43 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 76 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,
const char *  line 
)
static

Definition at line 92 of file rtpdec_rfc4175.c.

◆ rfc4175_finalize_packet()

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

Definition at line 123 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 139 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_BITPACKED,
.priv_data_size = sizeof(PayloadContext),
.parse_sdp_a_line = rfc4175_parse_sdp_line,
}

Definition at line 229 of file rtpdec_rfc4175.c.

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)
Definition: rtpdec_rfc4175.c:139
parse_packet
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1451
AV_CODEC_ID_BITPACKED
@ AV_CODEC_ID_BITPACKED
Definition: avcodec.h:444
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
rfc4175_parse_sdp_line
static int rfc4175_parse_sdp_line(AVFormatContext *s, int st_index, PayloadContext *data, const char *line)
Definition: rtpdec_rfc4175.c:92
PayloadContext
RTP/JPEG specific private data.
Definition: rdt.c:83