FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define RTP_VP9_DESC_REQUIRED_SIZE   1

Definition at line 27 of file rtpdec_vp9.c.

Referenced by vp9_handle_packet().

Function Documentation

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

Definition at line 34 of file rtpdec_vp9.c.

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.

static void vp9_close_context ( PayloadContext vp9)
static

Definition at line 328 of file rtpdec_vp9.c.

Variable Documentation

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 int init(AVCodecContext *avctx)
Definition: avrndec.c:35
RTP/JPEG specific private data.
Definition: rdt.c:83
static void vp9_close_context(PayloadContext *vp9)
Definition: rtpdec_vp9.c:328
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 int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1437

Definition at line 333 of file rtpdec_vp9.c.