#include <libdcadec/dca_context.h>
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "dca.h"
#include "dca_syncwords.h"
#include "internal.h"
#include "profiles.h"
Go to the source code of this file.
static void my_log_cb |
( |
int |
level, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
message, |
|
|
void * |
cbarg |
|
) |
| |
|
static |
Initial value:= {
{
"lfe_filter",
"Lossy LFE channel interpolation filter",
OFFSET(lfe_filter),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 2,
PARAM,
"lfe_filter" },
}
Definition at line 279 of file libdcadec.c.
Initial value:= {
.class_name = "libdcadec decoder",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption dcadec_options[]
Definition at line 288 of file libdcadec.c.
Initial value:= {
.name = "libdcadec",
}
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static av_cold void dcadec_flush(AVCodecContext *avctx)
static const AVClass dcadec_class
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int dcadec_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
static av_cold int dcadec_init(AVCodecContext *avctx)
AVSampleFormat
Audio sample formats.
static av_cold int dcadec_close(AVCodecContext *avctx)
const AVProfile ff_dca_profiles[]
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
static enum AVSampleFormat sample_fmts[]
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 296 of file libdcadec.c.