FFmpeg
 All Data Structures Namespaces 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/attributes.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...
 

Functions

static PayloadContexth263_new_context (void)
 
static void h263_free_context (PayloadContext *data)
 
static av_cold 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)
 

Variables

RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler
 

Function Documentation

static PayloadContext* h263_new_context ( void  )
static

Definition at line 42 of file rtpdec_h263_rfc2190.c.

static void h263_free_context ( PayloadContext data)
static

Definition at line 47 of file rtpdec_h263_rfc2190.c.

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

Definition at line 59 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 
)
static

Definition at line 67 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 207 of file rtpdec_h263_rfc2190.c.

Referenced by av_register_rtp_dynamic_payload_handlers().