FFmpeg
Data Structures | Macros | Functions | Variables
rtpdec_vp9.c File Reference
#include "libavutil/intreadwrite.h"
#include "avio_internal.h"
#include "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

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

Macros

#define RTP_VP9_DESC_REQUIRED_SIZE   1
 

Functions

static av_cold int vp9_init (AVFormatContext *ctx, int st_index, PayloadContext *data)
 
static int vp9_handle_packet (AVFormatContext *ctx, PayloadContext *rtp_vp9_ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 
static void vp9_close_context (PayloadContext *vp9)
 

Variables

const RTPDynamicProtocolHandler ff_vp9_dynamic_handler
 

Macro Definition Documentation

◆ RTP_VP9_DESC_REQUIRED_SIZE

#define RTP_VP9_DESC_REQUIRED_SIZE   1

Definition at line 27 of file rtpdec_vp9.c.

Function Documentation

◆ vp9_init()

static av_cold int vp9_init ( AVFormatContext ctx,
int  st_index,
PayloadContext data 
)
static

Definition at line 34 of file rtpdec_vp9.c.

◆ vp9_handle_packet()

static int vp9_handle_packet ( AVFormatContext ctx,
PayloadContext rtp_vp9_ctx,
AVStream st,
AVPacket pkt,
uint32_t *  timestamp,
const uint8_t *  buf,
int  len,
uint16_t  seq,
int  flags 
)
static

Definition at line 43 of file rtpdec_vp9.c.

◆ vp9_close_context()

static void vp9_close_context ( PayloadContext vp9)
static

Definition at line 328 of file rtpdec_vp9.c.

Variable Documentation

◆ ff_vp9_dynamic_handler

const RTPDynamicProtocolHandler ff_vp9_dynamic_handler
Initial value:
= {
.enc_name = "VP9",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_VP9,
.priv_data_size = sizeof(PayloadContext),
}

Definition at line 333 of file rtpdec_vp9.c.

vp9_handle_packet
static int vp9_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_vp9_ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
Definition: rtpdec_vp9.c:43
vp9_init
static av_cold int vp9_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
Definition: rtpdec_vp9.c:34
vp9_close_context
static void vp9_close_context(PayloadContext *vp9)
Definition: rtpdec_vp9.c:328
init
static int init
Definition: av_tx.c:47
AV_CODEC_ID_VP9
@ AV_CODEC_ID_VP9
Definition: codec_id.h:218
parse_packet
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:1118
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
PayloadContext
RTP/JPEG specific private data.
Definition: rdt.c:83