FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
rtpdec_ac3.c File Reference
#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_AC3_PAYLOAD_HEADER_SIZE   2
 

Functions

static void ac3_close_context (PayloadContext *data)
 
static int ac3_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_ac3_dynamic_handler
 

Macro Definition Documentation

#define RTP_AC3_PAYLOAD_HEADER_SIZE   2

Definition at line 26 of file rtpdec_ac3.c.

Referenced by ac3_handle_packet().

Function Documentation

static void ac3_close_context ( PayloadContext data)
static

Definition at line 35 of file rtpdec_ac3.c.

static int ac3_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 40 of file rtpdec_ac3.c.

Variable Documentation

const RTPDynamicProtocolHandler ff_ac3_dynamic_handler
Initial value:
= {
.enc_name = "ac3",
.codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = AV_CODEC_ID_AC3,
.need_parsing = AVSTREAM_PARSE_FULL,
.priv_data_size = sizeof(PayloadContext),
}
RTP/JPEG specific private data.
Definition: rdt.c:83
static void ac3_close_context(PayloadContext *data)
Definition: rtpdec_ac3.c:35
full parsing and repack
Definition: avformat.h:793
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1438
static int ac3_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_ac3.c:40

Definition at line 125 of file rtpdec_ac3.c.