FFmpeg
Loading...
Searching...
No Matches
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/AV1 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,
}
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
@ AVSTREAM_PARSE_FULL
full parsing and repack
Definition avformat.h:611
@ AV_CODEC_ID_H263
Definition codec_id.h:54
@ AVMEDIA_TYPE_VIDEO
Definition avutil.h:200
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 void h263_close_context(PayloadContext *data)
RTP/AV1 specific private data.
Definition rdt.c:85

Definition at line 188 of file rtpdec_h263_rfc2190.c.