All Data Structures 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 "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

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


static void vp8_free_buffer (PayloadContext *vp8)
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 PayloadContextvp8_new_context (void)
static void vp8_free_context (PayloadContext *vp8)
static int vp8_need_keyframe (PayloadContext *vp8)


RTPDynamicProtocolHandler ff_vp8_dynamic_handler

Detailed Description

RTP support for the VP8 payload.

Josh Allmann joshu.nosp@m.a.al.nosp@m.lmann.nosp@m.@gma.nosp@m.il.co.nosp@m.m
See Also

Definition in file rtpdec_vp8.c.

Function Documentation

static void vp8_free_buffer ( PayloadContext vp8)

Definition at line 55 of file rtpdec_vp8.c.

Referenced by vp8_broken_sequence(), vp8_free_context(), and vp8_handle_packet().

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

Definition at line 65 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 

Definition at line 74 of file rtpdec_vp8.c.

static PayloadContext* vp8_new_context ( void  )

Definition at line 270 of file rtpdec_vp8.c.

static void vp8_free_context ( PayloadContext vp8)

Definition at line 279 of file rtpdec_vp8.c.

static int vp8_need_keyframe ( PayloadContext vp8)

Definition at line 285 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,
.alloc = vp8_new_context,
.parse_packet = vp8_handle_packet,
.need_keyframe = vp8_need_keyframe,

Definition at line 290 of file rtpdec_vp8.c.

Referenced by av_register_rtp_dynamic_payload_handlers().