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


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


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


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)

Definition at line 34 of file g729dec.c.

static int g729_read_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 70 of file g729dec.c.

Variable Documentation

const AVOption g729_options[]
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
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
Initial value:
= {
.class_name = "g729 demuxer",
.item_name = av_default_item_name,
.option = g729_options,
Definition: version.h:85
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:191
static const AVOption g729_options[]
Definition: g729dec.c:84

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
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
Use generic index building code.
Definition: avformat.h:470
#define flags(name, subs,...)
Definition: cbs_av1.c:596
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.