FFmpeg
Loading...
Searching...
No Matches
rtpdec_vp8.c File Reference

RTP support for the VP8 payload. More...

#include "libavutil/intreadwrite.h"
#include "avio_internal.h"
#include "rtpdec.h"

Go to the source code of this file.

Data Structures

struct  PayloadContext
 RTP/AV1 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

const RTPDynamicProtocolHandler ff_vp8_dynamic_handler
 

Detailed Description

Function Documentation

◆ vp8_broken_sequence()

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().

◆ 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.

◆ vp8_init()

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

Definition at line 263 of file rtpdec_vp8.c.

◆ vp8_close_context()

static void vp8_close_context ( PayloadContext * vp8)
static

Definition at line 269 of file rtpdec_vp8.c.

◆ vp8_need_keyframe()

static int vp8_need_keyframe ( PayloadContext * vp8)
static

Definition at line 274 of file rtpdec_vp8.c.

Variable Documentation

◆ ff_vp8_dynamic_handler

const 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 av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index, int flush)
Parse a packet, add all split parts to parse_queue.
Definition demux.c:1178
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
@ AV_CODEC_ID_VP8
Definition codec_id.h:190
@ AVMEDIA_TYPE_VIDEO
Definition avutil.h:200
static av_cold int vp8_init(AVFormatContext *s, int st_index, PayloadContext *vp8)
Definition rtpdec_vp8.c:263
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 void vp8_close_context(PayloadContext *vp8)
Definition rtpdec_vp8.c:269
static int vp8_need_keyframe(PayloadContext *vp8)
Definition rtpdec_vp8.c:274
RTP/AV1 specific private data.
Definition rdt.c:85

Definition at line 279 of file rtpdec_vp8.c.