FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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().

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().

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.

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().

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

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,
}
static int rfc4175_parse_sdp_line(AVFormatContext *s, int st_index, PayloadContext *data, const char *line)
RTP/JPEG specific private data.
Definition: rdt.c:83
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 int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1438

Definition at line 229 of file rtpdec_rfc4175.c.