FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 "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...
 
static PayloadContextsvq3_extradata_new (void)
 
static void svq3_extradata_free (PayloadContext *sv)
 

Variables

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

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 41 of file rtpdec_svq3.c.

static PayloadContext* svq3_extradata_new ( void  )
static

Definition at line 112 of file rtpdec_svq3.c.

static void svq3_extradata_free ( PayloadContext sv)
static

Definition at line 117 of file rtpdec_svq3.c.

Variable Documentation

RTPDynamicProtocolHandler ff_svq3_dynamic_handler
Initial value:
= {
.enc_name = "X-SV3V-ES",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_NONE,
.parse_packet = svq3_parse_packet,
}

Definition at line 127 of file rtpdec_svq3.c.

Referenced by av_register_rtp_dynamic_payload_handlers().