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"
#include "libavutil/parseutils.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 47 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 122 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 173 of file rtpdec_rfc4175.c.

◆ rfc4175_finalize_packet()

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

Definition at line 204 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 223 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,
}

Definition at line 319 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:223
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:48
parse_packet
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:1118
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:173
PayloadContext
RTP/JPEG specific private data.
Definition: rdt.c:83