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"
Include dependency graph for rtpdec_svq3.c:

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 PayloadContextsvq3_extradata_new (void)
 
static void svq3_extradata_free (PayloadContext *sv)
 

Variables

RTPDynamicProtocolHandler ff_svq3_dynamic_handler
 

Detailed Description

Function Documentation

static void svq3_extradata_free ( PayloadContext sv)
static

Definition at line 117 of file rtpdec_svq3.c.

static PayloadContext* svq3_extradata_new ( void  )
static

Definition at line 112 of file rtpdec_svq3.c.

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.

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,
}
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:41
static void svq3_extradata_free(PayloadContext *sv)
Definition: rtpdec_svq3.c:117
static PayloadContext * svq3_extradata_new(void)
Definition: rtpdec_svq3.c:112

Definition at line 127 of file rtpdec_svq3.c.

Referenced by av_register_rtp_dynamic_payload_handlers().