FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
rtpdec_vp8.c File Reference

RTP support for the VP8 payload. More...

#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 int vp8_broken_sequence (AVFormatContext *ctx, PayloadContext *vp8, const char *msg)
 
static int vp8_handle_packet (AVFormatContext *ctx, PayloadContext *vp8, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 
static av_cold int vp8_init (AVFormatContext *s, int st_index, PayloadContext *vp8)
 
static void vp8_close_context (PayloadContext *vp8)
 
static int vp8_need_keyframe (PayloadContext *vp8)
 

Variables

RTPDynamicProtocolHandler ff_vp8_dynamic_handler
 

Detailed Description

RTP support for the VP8 payload.

Author
Josh Allmann joshu.nosp@m.a.al.nosp@m.lmann.nosp@m.@gma.nosp@m.il.co.nosp@m.m
See Also
http://tools.ietf.org/html/draft-ietf-payload-vp8-05

Definition in file rtpdec_vp8.c.

Function Documentation

static int vp8_broken_sequence ( AVFormatContext ctx,
PayloadContext vp8,
const char *  msg 
)
static

Definition at line 56 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

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

Definition at line 65 of file rtpdec_vp8.c.

static av_cold int vp8_init ( AVFormatContext s,
int  st_index,
PayloadContext vp8 
)
static

Definition at line 263 of file rtpdec_vp8.c.

static void vp8_close_context ( PayloadContext vp8)
static

Definition at line 269 of file rtpdec_vp8.c.

static int vp8_need_keyframe ( PayloadContext vp8)
static

Definition at line 274 of file rtpdec_vp8.c.

Variable Documentation

RTPDynamicProtocolHandler ff_vp8_dynamic_handler
Initial value:
= {
.enc_name = "VP8",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_VP8,
.priv_data_size = sizeof(PayloadContext),
.need_keyframe = vp8_need_keyframe,
}
static void vp8_close_context(PayloadContext *vp8)
Definition: rtpdec_vp8.c:269
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
RTP/JPEG specific private data.
Definition: rdt.c:83
static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
Definition: rtpdec_vp8.c:65
static int vp8_need_keyframe(PayloadContext *vp8)
Definition: rtpdec_vp8.c:274
static av_cold int vp8_init(AVFormatContext *s, int st_index, PayloadContext *vp8)
Definition: rtpdec_vp8.c:263
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1374

Definition at line 279 of file rtpdec_vp8.c.

Referenced by ff_register_rtp_dynamic_payload_handlers().