#include "config_components.h"
#include "ac3dec.h"
#include "codec_internal.h"
#include "profiles.h"
#include "ac3dec.c"
Go to the source code of this file.
◆ IMDCT_TYPE
Upmix delay samples from stereo to original channel layout.
Definition at line 32 of file ac3dec_float.c.
◆ EXPORT
◆ options
Initial value:= {
{
"cons_noisegen",
"enable consistent noise generation",
OFFSET(consistent_noise_generation),
AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1,
PAR },
{
"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",
"enable heavy dynamic range compression",
OFFSET(heavy_compression),
AV_OPT_TYPE_BOOL, {.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, 3,
EXPORT, .unit =
"dmix_mode"},
}
Definition at line 43 of file ac3dec_float.c.
◆ ac3_eac3_decoder_class
const AVClass ac3_eac3_decoder_class |
|
static |
Initial value:= {
.class_name = "(E-)AC3 decoder",
}
Definition at line 60 of file ac3dec_float.c.
◆ ff_ac3_decoder
Initial value:= {
.p.name = "ac3",
.priv_data_size = sizeof (AC3DecodeContext),
}
Definition at line 67 of file ac3dec_float.c.
@ AV_SAMPLE_FMT_FLTP
float, planar
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static int ac3_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
Decode a single AC-3 frame.
#define FF_CODEC_DECODE_CB(func)
static av_cold int ac3_decode_init(AVCodecContext *avctx)
AVCodec initialization.
#define CODEC_LONG_NAME(str)
#define LIBAVUTIL_VERSION_INT
static const AVClass ac3_eac3_decoder_class
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
@ AV_OPT_TYPE_CHLAYOUT
Underlying C type is AVChannelLayout.
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
AVSampleFormat
Audio sample formats.
static av_cold int ac3_decode_end(AVCodecContext *avctx)
Uninitialize the AC-3 decoder.
static void close(AVCodecParserContext *s)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option keep it simple and lowercase description are in without and describe what they for example set the foo of the bar offset is the offset of the field in your see the OFFSET() macro
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.