FFmpeg  2.1.1
Data Structures | Functions | Variables
g729dec.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Data Structures

struct  G729DemuxerContext
 

Functions

static int g729_read_header (AVFormatContext *s)
 
static int g729_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const AVOption g729_options []
 
static const AVClass g729_demuxer_class
 
AVInputFormat ff_g729_demuxer
 

Function Documentation

static int g729_read_header ( AVFormatContext s)
static

Definition at line 32 of file g729dec.c.

static int g729_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 67 of file g729dec.c.

Variable Documentation

const AVOption g729_options[]
static
Initial value:
= {
{ "bit_rate", "", 0x42, AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },
}
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:284

Definition at line 82 of file g729dec.c.

const AVClass g729_demuxer_class
static
Initial value:
= {
.class_name = "g729 demuxer",
.item_name = av_default_item_name,
.option = g729_options,
}
#define LIBAVUTIL_VERSION_INT
Definition: avcodec.h:820
static const AVOption g729_options[]
Definition: g729dec.c:82
const char * av_default_item_name(void *ctx)
Return the context name.
Definition: log.c:145

Definition at line 87 of file g729dec.c.

AVInputFormat ff_g729_demuxer
Initial value:
= {
.name = "g729",
.long_name = NULL_IF_CONFIG_SMALL("G.729 raw format demuxer"),
.priv_data_size = sizeof(G729DemuxerContext),
.extensions = "g729",
.priv_class = &g729_demuxer_class,
}
static int g729_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: g729dec.c:67
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:151
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:355
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:592
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int flags
Definition: cpu.c:45
static const AVClass g729_demuxer_class
Definition: g729dec.c:87
static int g729_read_header(AVFormatContext *s)
Definition: g729dec.c:32

Definition at line 94 of file g729dec.c.