FFmpeg  4.0
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 108 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),
}
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
RTP/JPEG specific private data.
Definition: rdt.c:83
static void svq3_close_context(PayloadContext *sv)
Definition: rtpdec_svq3.c:108
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 113 of file rtpdec_svq3.c.