FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
rtpdec_dv.c File Reference
#include "libavutil/avstring.h"
#include "libavcodec/bytestream.h"
#include "avio_internal.h"
#include "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

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

Functions

static av_cold void dv_close_context (PayloadContext *data)
 
static av_cold int dv_sdp_parse_fmtp_config (AVFormatContext *s, AVStream *stream, PayloadContext *dv_data, const char *attr, const char *value)
 
static av_cold int dv_parse_sdp_line (AVFormatContext *ctx, int st_index, PayloadContext *dv_data, const char *line)
 
static int dv_handle_packet (AVFormatContext *ctx, PayloadContext *rtp_dv_ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 

Variables

RTPDynamicProtocolHandler ff_dv_dynamic_handler
 

Function Documentation

static av_cold void dv_close_context ( PayloadContext data)
static

Definition at line 35 of file rtpdec_dv.c.

static av_cold int dv_sdp_parse_fmtp_config ( AVFormatContext s,
AVStream stream,
PayloadContext dv_data,
const char *  attr,
const char *  value 
)
static

Definition at line 40 of file rtpdec_dv.c.

Referenced by dv_parse_sdp_line().

static av_cold int dv_parse_sdp_line ( AVFormatContext ctx,
int  st_index,
PayloadContext dv_data,
const char *  line 
)
static

Definition at line 72 of file rtpdec_dv.c.

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

Definition at line 91 of file rtpdec_dv.c.

Variable Documentation

RTPDynamicProtocolHandler ff_dv_dynamic_handler
Initial value:
= {
.enc_name = "DV",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_DVVIDEO,
.need_parsing = AVSTREAM_PARSE_FULL,
.parse_sdp_a_line = dv_parse_sdp_line,
.priv_data_size = sizeof(PayloadContext),
.close = dv_close_context,
}
RTP/JPEG specific private data.
Definition: rdt.c:83
static int dv_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_dv_ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
Definition: rtpdec_dv.c:91
static av_cold int dv_parse_sdp_line(AVFormatContext *ctx, int st_index, PayloadContext *dv_data, const char *line)
Definition: rtpdec_dv.c:72
static av_cold void dv_close_context(PayloadContext *data)
Definition: rtpdec_dv.c:35
full parsing and repack
Definition: avformat.h:806
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1332

Definition at line 134 of file rtpdec_dv.c.

Referenced by ff_register_rtp_dynamic_payload_handlers().