FFmpeg
Data Structures | Functions | Variables
rtpdec_svq3.c File Reference

RTP support for the SV3V (SVQ3) payload. More...

#include <string.h>
#include "libavutil/intreadwrite.h"
#include "avio_internal.h"
#include "internal.h"
#include "rtp.h"
#include "rtpdec.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 int svq3_parse_packet (AVFormatContext *s, PayloadContext *sv, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 return 0 on packet, <0 on partial packet or error... More...
 
static void svq3_close_context (PayloadContext *sv)
 

Variables

const RTPDynamicProtocolHandler ff_svq3_dynamic_handler
 

Detailed Description

RTP support for the SV3V (SVQ3) payload.

Author
Ronald S. Bultje rbult.nosp@m.je@r.nosp@m.onald.nosp@m..bit.nosp@m.freak.nosp@m..net
See also
http://wiki.multimedia.cx/index.php?title=Sorenson_Video_3#Packetization

Definition in file rtpdec_svq3.c.

Function Documentation

◆ svq3_parse_packet()

static int svq3_parse_packet ( AVFormatContext s,
PayloadContext sv,
AVStream st,
AVPacket pkt,
uint32_t *  timestamp,
const uint8_t *  buf,
int  len,
uint16_t  seq,
int  flags 
)
static

return 0 on packet, <0 on partial packet or error...

Definition at line 43 of file rtpdec_svq3.c.

◆ svq3_close_context()

static void svq3_close_context ( PayloadContext sv)
static

Definition at line 104 of file rtpdec_svq3.c.

Variable Documentation

◆ ff_svq3_dynamic_handler

const RTPDynamicProtocolHandler ff_svq3_dynamic_handler
Initial value:
= {
.enc_name = "X-SV3V-ES",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_NONE,
.priv_data_size = sizeof(PayloadContext),
}

Definition at line 109 of file rtpdec_svq3.c.

svq3_close_context
static void svq3_close_context(PayloadContext *sv)
Definition: rtpdec_svq3.c:104
svq3_parse_packet
static int svq3_parse_packet(AVFormatContext *s, PayloadContext *sv, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
return 0 on packet, <0 on partial packet or error...
Definition: rtpdec_svq3.c:43
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
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:1133
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
PayloadContext
RTP/JPEG specific private data.
Definition: rdt.c:83