All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
rtpdec_mpeg12.c File Reference
#include "rtpdec_formats.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.


static int mpeg_init (AVFormatContext *ctx, int st_index, PayloadContext *data)
static int mpeg_parse_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)


RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler
RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler

Function Documentation

static int mpeg_init ( AVFormatContext ctx,
int  st_index,
PayloadContext data 

Definition at line 25 of file rtpdec_mpeg12.c.

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

Definition at line 33 of file rtpdec_mpeg12.c.

Variable Documentation

RTPDynamicProtocolHandler ff_mpeg_audio_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = AV_CODEC_ID_MP3,
.init = mpeg_init,
.parse_packet = mpeg_parse_packet,
.static_payload_id = 14,

Definition at line 58 of file rtpdec_mpeg12.c.

Referenced by av_register_rtp_dynamic_payload_handlers().

RTPDynamicProtocolHandler ff_mpeg_video_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_VIDEO,
.init = mpeg_init,
.parse_packet = mpeg_parse_packet,
.static_payload_id = 32,

Definition at line 66 of file rtpdec_mpeg12.c.

Referenced by av_register_rtp_dynamic_payload_handlers().