FFmpeg
Data Structures | Functions | Variables
rtpdec_h263_rfc2190.c File Reference
#include "avformat.h"
#include "avio_internal.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 void h263_close_context (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

const RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler
 

Function Documentation

◆ h263_close_context()

static void h263_close_context ( PayloadContext data)
static

Definition at line 43 of file rtpdec_h263_rfc2190.c.

◆ h263_handle_packet()

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 48 of file rtpdec_h263_rfc2190.c.

Variable Documentation

◆ ff_h263_rfc2190_dynamic_handler

const RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler
Initial value:
= {
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_H263,
.need_parsing = AVSTREAM_PARSE_FULL,
.parse_packet = h263_handle_packet,
.priv_data_size = sizeof(PayloadContext),
.static_payload_id = 34,
}

Definition at line 188 of file rtpdec_h263_rfc2190.c.

AV_CODEC_ID_H263
@ AV_CODEC_ID_H263
Definition: codec_id.h:54
h263_close_context
static void h263_close_context(PayloadContext *data)
Definition: rtpdec_h263_rfc2190.c:43
h263_handle_packet
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: rtpdec_h263_rfc2190.c:48
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
AVSTREAM_PARSE_FULL
@ AVSTREAM_PARSE_FULL
full parsing and repack
Definition: avformat.h:798
PayloadContext
RTP/JPEG specific private data.
Definition: rdt.c:83