rtpdec_vp8.c File Reference

RTP support for the VP8 payload. More...

Go to the source code of this file.

Data Structures

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

Functions

static void prepare_packet (AVPacket *pkt, PayloadContext *vp8, int stream)
static int vp8_handle_packet (AVFormatContext *ctx, PayloadContext *vp8, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags)
static PayloadContextvp8_new_context (void)
static void vp8_free_context (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://www.webmproject.org/code/specs/rtp/

Definition in file rtpdec_vp8.c.

Function Documentation

static void prepare_packet ( AVPacket pkt,
PayloadContext vp8,
int  stream 
)
static

Definition at line 39 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

static void vp8_free_context ( PayloadContext vp8)
static

Definition at line 137 of file rtpdec_vp8.c.

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

Definition at line 49 of file rtpdec_vp8.c.

static PayloadContext* vp8_new_context ( void  )
static

Definition at line 130 of file rtpdec_vp8.c.

Variable Documentation

RTPDynamicProtocolHandler ff_vp8_dynamic_handler
Initial value:
{
.enc_name = "VP8",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = CODEC_ID_VP8,
.alloc = vp8_new_context,
.parse_packet = vp8_handle_packet,
}

Definition at line 147 of file rtpdec_vp8.c.

Referenced by av_register_rtp_dynamic_payload_handlers().