All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
rtpdec_h263_rfc2190.c File Reference
#include "avformat.h"
#include "rtpdec_formats.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/get_bits.h"

Go to the source code of this file.

Data Structures

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


static PayloadContexth263_new_context (void)
static void h263_free_context (PayloadContext *data)
static int h263_init (AVFormatContext *ctx, int st_index, PayloadContext *data)
static int h263_handle_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)


RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler

Function Documentation

static PayloadContext* h263_new_context ( void  )

Definition at line 41 of file rtpdec_h263_rfc2190.c.

static void h263_free_context ( PayloadContext data)

Definition at line 46 of file rtpdec_h263_rfc2190.c.

static int h263_init ( AVFormatContext ctx,
int  st_index,
PayloadContext data 

Definition at line 58 of file rtpdec_h263_rfc2190.c.

static int h263_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 at line 66 of file rtpdec_h263_rfc2190.c.

Variable Documentation

RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_H263,
.init = h263_init,
.parse_packet = h263_handle_packet,
.alloc = h263_new_context,
.static_payload_id = 34,

Definition at line 206 of file rtpdec_h263_rfc2190.c.

Referenced by av_register_rtp_dynamic_payload_handlers().