libavformat/rtpdec_vp8.c File Reference

RTP support for the VP8 payload. More...

#include "libavcodec/bytestream.h"
#include "rtpdec_formats.h"

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 <joshua.allmann@gmail.com>
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

Initial value:

 {
    .enc_name       = "VP8",
    .codec_type     = AVMEDIA_TYPE_VIDEO,
    .codec_id       = CODEC_ID_VP8,
    .alloc          = vp8_new_context,
    .free           = vp8_free_context,
    .parse_packet   = vp8_handle_packet,
}

Definition at line 147 of file rtpdec_vp8.c.

Referenced by av_register_rtp_dynamic_payload_handlers().


Generated on Fri Oct 26 02:46:13 2012 for FFmpeg by  doxygen 1.5.8