FFmpeg
Data Structures | Functions | Variables
rtpdec_mpegts.c File Reference
#include "libavutil/attributes.h"
#include "mpegts.h"
#include "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

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

Functions

static void mpegts_close_context (PayloadContext *data)
 
static av_cold int mpegts_init (AVFormatContext *ctx, int st_index, PayloadContext *data)
 
static int mpegts_handle_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 

Variables

const RTPDynamicProtocolHandler ff_mpegts_dynamic_handler
 

Function Documentation

static void mpegts_close_context ( PayloadContext data)
static

Definition at line 33 of file rtpdec_mpegts.c.

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

Definition at line 41 of file rtpdec_mpegts.c.

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

Definition at line 50 of file rtpdec_mpegts.c.

Variable Documentation

const RTPDynamicProtocolHandler ff_mpegts_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_DATA,
.priv_data_size = sizeof(PayloadContext),
.static_payload_id = 33,
}
static int mpegts_handle_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
Definition: rtpdec_mpegts.c:50
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index, int flush)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1447
RTP/JPEG specific private data.
Definition: rdt.c:83
Opaque data information usually continuous.
Definition: avutil.h:203
static av_cold int mpegts_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
Definition: rtpdec_mpegts.c:41
static void mpegts_close_context(PayloadContext *data)
Definition: rtpdec_mpegts.c:33

Definition at line 92 of file rtpdec_mpegts.c.