FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
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/JPEG 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

RTPDynamicProtocolHandler ff_h261_dynamic_handler
 

Macro Definition Documentation

#define RTP_H261_PAYLOAD_HEADER_SIZE   4

Definition at line 27 of file rtpdec_h261.c.

Referenced by h261_handle_packet().

Function Documentation

static av_cold void h261_close_context ( PayloadContext pl_ctx)
static

Definition at line 36 of file rtpdec_h261.c.

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

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,
}
RTP/JPEG specific private data.
Definition: rdt.c:83
static av_cold void h261_close_context(PayloadContext *pl_ctx)
Definition: rtpdec_h261.c:36
full parsing and repack
Definition: avformat.h:810
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1392
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

Definition at line 165 of file rtpdec_h261.c.

Referenced by ff_register_rtp_dynamic_payload_handlers().