rtpdec_vp8.c File Reference

RTP support for the VP8 payload. More...

Include dependency graph for rtpdec_vp8.c:

Go to the source code of this file.

Data Structures

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

Functions

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)
 

Variables

RTPDynamicProtocolHandler ff_vp8_dynamic_handler
 

Detailed Description

Function Documentation

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

Definition at line 65 of file rtpdec_vp8.c.

Referenced by vp8_handle_packet().

static void vp8_free_buffer ( PayloadContext vp8)
static

Definition at line 55 of file rtpdec_vp8.c.

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

static void vp8_free_context ( PayloadContext vp8)
static

Definition at line 279 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,
uint16_t  seq,
int  flags 
)
static

Definition at line 74 of file rtpdec_vp8.c.

static int vp8_need_keyframe ( PayloadContext vp8)
static

Definition at line 285 of file rtpdec_vp8.c.

static PayloadContext* vp8_new_context ( void  )
static

Definition at line 270 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,
}
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:74
static void vp8_free_context(PayloadContext *vp8)
Definition: rtpdec_vp8.c:279
static int vp8_need_keyframe(PayloadContext *vp8)
Definition: rtpdec_vp8.c:285
static PayloadContext * vp8_new_context(void)
Definition: rtpdec_vp8.c:270

Definition at line 290 of file rtpdec_vp8.c.

Referenced by av_register_rtp_dynamic_payload_handlers().