FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 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:276

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: version.h:70
static const AVOption g729_options[]
Definition: g729dec.c:82
av_default_item_name

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:176
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:638
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:485
static int flags
Definition: cpu.c:47
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.