libavformat/rtpdec_qcelp.c File Reference

#include "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

struct  InterleavePacket
struct  PayloadContext
 RTP/JPEG specific private data. More...

Functions

static PayloadContextqcelp_new_context (void)
static void qcelp_free_context (PayloadContext *data)
static int return_stored_frame (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len)
static int store_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len)
static int qcelp_parse_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags)

Variables

static const uint8_t frame_sizes []
RTPDynamicProtocolHandler ff_qcelp_dynamic_handler


Function Documentation

static void qcelp_free_context ( PayloadContext data  )  [static]

Definition at line 55 of file rtpdec_qcelp.c.

static PayloadContext* qcelp_new_context ( void   )  [static]

Definition at line 50 of file rtpdec_qcelp.c.

static int qcelp_parse_packet ( AVFormatContext ctx,
PayloadContext data,
AVStream st,
AVPacket pkt,
uint32_t *  timestamp,
const uint8_t buf,
int  len,
int  flags 
) [static]

Definition at line 211 of file rtpdec_qcelp.c.

static int return_stored_frame ( AVFormatContext ctx,
PayloadContext data,
AVStream st,
AVPacket pkt,
uint32_t *  timestamp,
const uint8_t buf,
int  len 
) [static]

Definition at line 161 of file rtpdec_qcelp.c.

Referenced by qcelp_parse_packet(), and store_packet().

static int store_packet ( AVFormatContext ctx,
PayloadContext data,
AVStream st,
AVPacket pkt,
uint32_t *  timestamp,
const uint8_t buf,
int  len 
) [static]

Definition at line 64 of file rtpdec_qcelp.c.

Referenced by qcelp_parse_packet(), and return_stored_frame().


Variable Documentation

Initial value:

 {
    .enc_name           = "x-Purevoice",
    .codec_type         = AVMEDIA_TYPE_AUDIO,
    .codec_id           = AV_CODEC_ID_QCELP,
    .static_payload_id  = 12,
    .alloc              = qcelp_new_context,
    .free               = qcelp_free_context,
    .parse_packet       = qcelp_parse_packet
}

Definition at line 221 of file rtpdec_qcelp.c.

Referenced by av_register_rtp_dynamic_payload_handlers().

const uint8_t frame_sizes[] [static]

Initial value:

 {
    1, 4, 8, 17, 35
}

Definition at line 24 of file rtpdec_qcelp.c.

Referenced by amr_handle_packet(), new_subtitle_stream(), new_video_stream(), return_stored_frame(), and store_packet().


Generated on Fri Oct 26 02:50:11 2012 for FFmpeg by  doxygen 1.5.8