libavformat/g729dec.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
Include dependency graph for libavformat/g729dec.c:

Go to the source code of this file.

Data Structures

struct  G729DemuxerContext
 

Typedefs

typedef struct G729DemuxerContext 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
 

Typedef Documentation

Function Documentation

static int g729_read_header ( AVFormatContext s)
static

Definition at line 32 of file libavformat/g729dec.c.

static int g729_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 67 of file libavformat/g729dec.c.

Variable Documentation

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)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
struct G729DemuxerContext G729DemuxerContext
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:353
static int flags
Definition: cpu.c:23
static const AVClass g729_demuxer_class
static int g729_read_header(AVFormatContext *s)

Definition at line 94 of file libavformat/g729dec.c.

const AVClass g729_demuxer_class
static
Initial value:
= {
.class_name = "g729 demuxer",
.item_name = av_default_item_name,
.option = g729_options,
}
av_default_item_name
static const AVOption g729_options[]
LIBAVUTIL_VERSION_INT
Definition: eval.c:55

Definition at line 87 of file libavformat/g729dec.c.

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

Definition at line 82 of file libavformat/g729dec.c.