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

Go to the source code of this file.

Data Structures

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

Referenced by ff_rtp_send_vp9(), and vp9_handle_packet().

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),
}
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_VP9
Definition codec_id.h:217
@ AVMEDIA_TYPE_VIDEO
Definition avutil.h:200
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
static av_cold int vp9_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
Definition rtpdec_vp9.c:34
static void vp9_close_context(PayloadContext *vp9)
Definition rtpdec_vp9.c:328
RTP/AV1 specific private data.
Definition rdt.c:85

Definition at line 333 of file rtpdec_vp9.c.