FFmpeg
Loading...
Searching...
No Matches
rtpdec_h261.c File Reference
#include "libavcodec/get_bits.h"
#include "avformat.h"
#include "avio_internal.h"
#include "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

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

Macros

#define RTP_H261_PAYLOAD_HEADER_SIZE   4
 

Functions

static av_cold void h261_close_context (PayloadContext *pl_ctx)
 
static int h261_handle_packet (AVFormatContext *ctx, PayloadContext *rtp_h261_ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
 

Variables

const RTPDynamicProtocolHandler ff_h261_dynamic_handler
 

Macro Definition Documentation

◆ RTP_H261_PAYLOAD_HEADER_SIZE

#define RTP_H261_PAYLOAD_HEADER_SIZE   4

Definition at line 27 of file rtpdec_h261.c.

Referenced by h261_handle_packet().

Function Documentation

◆ h261_close_context()

static av_cold void h261_close_context ( PayloadContext * pl_ctx)
static

Definition at line 36 of file rtpdec_h261.c.

◆ h261_handle_packet()

static int h261_handle_packet ( AVFormatContext * ctx,
PayloadContext * rtp_h261_ctx,
AVStream * st,
AVPacket * pkt,
uint32_t * timestamp,
const uint8_t * buf,
int len,
uint16_t seq,
int flags )
static

Definition at line 46 of file rtpdec_h261.c.

Variable Documentation

◆ ff_h261_dynamic_handler

const RTPDynamicProtocolHandler ff_h261_dynamic_handler
Initial value:
= {
.enc_name = "H261",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = AV_CODEC_ID_H261,
.need_parsing = AVSTREAM_PARSE_FULL,
.priv_data_size = sizeof(PayloadContext),
.static_payload_id = 31,
}
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
@ AVSTREAM_PARSE_FULL
full parsing and repack
Definition avformat.h:611
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index, int flush)
Parse a packet, add all split parts to parse_queue.
Definition demux.c:1178
@ AV_CODEC_ID_H261
Definition codec_id.h:53
@ AVMEDIA_TYPE_VIDEO
Definition avutil.h:200
static av_cold void h261_close_context(PayloadContext *pl_ctx)
Definition rtpdec_h261.c:36
static int h261_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_h261_ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
Definition rtpdec_h261.c:46
RTP/AV1 specific private data.
Definition rdt.c:85

Definition at line 167 of file rtpdec_h261.c.