FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
ac3dec_float.c File Reference
#include "ac3dec.h"
#include "ac3dec.c"

Go to the source code of this file.

Variables

static const AVOption options []
 Upmix delay samples from stereo to original channel layout.
 
static const AVClass ac3_decoder_class
 
AVCodec ff_ac3_decoder
 

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "drc_scale", "percentage of dynamic range compression to apply", OFFSET(drc_scale), AV_OPT_TYPE_FLOAT, {.dbl = 1.0}, 0.0, 6.0, PAR },
{ "heavy_compr", "heavy dynamic range compression enabled", OFFSET(heavy_compression), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, 1, PAR },
{ "target_level", "target level in -dBFS (0 not applied)", OFFSET(target_level), AV_OPT_TYPE_INT, {.i64 = 0 }, -31, 0, PAR },
{"dmix_mode", "Preferred Stereo Downmix Mode", OFFSET(preferred_stereo_downmix), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 2, 0, "dmix_mode"},
{"ltrt_cmixlev", "Lt/Rt Center Mix Level", OFFSET(ltrt_center_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0, 0},
{"ltrt_surmixlev", "Lt/Rt Surround Mix Level", OFFSET(ltrt_surround_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0, 0},
{"loro_cmixlev", "Lo/Ro Center Mix Level", OFFSET(loro_center_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0, 0},
{"loro_surmixlev", "Lo/Ro Surround Mix Level", OFFSET(loro_surround_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0, 0},
{ NULL},
}

Upmix delay samples from stereo to original channel layout.

Definition at line 33 of file ac3dec_float.c.

const AVClass ac3_decoder_class
static
Initial value:
= {
.class_name = "AC3 decoder",
.item_name = av_default_item_name,
.option = options,
}

Definition at line 47 of file ac3dec_float.c.

AVCodec ff_ac3_decoder
Initial value:
= {
.name = "ac3",
.priv_data_size = sizeof (AC3DecodeContext),
.close = ac3_decode_end,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
.priv_class = &ac3_decoder_class,
}

Definition at line 54 of file ac3dec_float.c.