FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
g729dec.c File Reference
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  G729DemuxerContext
 

Macros

#define OFFSET(x)   offsetof(G729DemuxerContext, x)
 

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
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(G729DemuxerContext, x)

Definition at line 83 of file g729dec.c.

Function Documentation

static int g729_read_header ( AVFormatContext s)
static

Definition at line 34 of file g729dec.c.

static int g729_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 70 of file g729dec.c.

Variable Documentation

const AVOption g729_options[]
static
Initial value:
= {
{ "bit_rate", "", OFFSET(bit_rate), AV_OPT_TYPE_INT, { .i64 = 8000 }, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },
}
#define NULL
Definition: coverity.c:32
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:277
#define OFFSET(x)
Definition: g729dec.c:83

Definition at line 84 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: version.h:86
static const AVOption g729_options[]
Definition: g729dec.c:84
av_default_item_name

Definition at line 89 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:70
static int flags
Definition: log.c:57
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:528
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:487
static const AVClass g729_demuxer_class
Definition: g729dec.c:89
static int g729_read_header(AVFormatContext *s)
Definition: g729dec.c:34

Definition at line 96 of file g729dec.c.