#include "ac3dec.h"
#include "codec_internal.h"
#include "eac3dec.c"
#include "ac3dec.c"
Go to the source code of this file.
◆ USE_FIXED
◆ IMDCT_TYPE
◆ scale_coefs()
static void scale_coefs |
( |
int32_t * |
dst, |
|
|
const int32_t * |
src, |
|
|
int |
dynrng, |
|
|
int |
len |
|
) |
| |
|
static |
◆ ac3_downmix_c_fixed16()
static void ac3_downmix_c_fixed16 |
( |
int16_t ** |
samples, |
|
|
int16_t ** |
matrix, |
|
|
int |
out_ch, |
|
|
int |
in_ch, |
|
|
int |
len |
|
) |
| |
|
static |
Downmix samples from original signal to stereo or mono (this is for 16-bit samples and fixed point decoder - original (for 32-bit samples) is in ac3dsp.c).
Definition at line 130 of file ac3dec_fixed.c.
Referenced by decode_audio_block().
◆ end_freq_inv_tab
const int end_freq_inv_tab[8] |
|
static |
Initial value:=
{
50529027, 44278013, 39403370, 32292987, 27356480, 23729101, 20951060, 18755316
}
Definition at line 57 of file ac3dec_fixed.c.
Referenced by spx_strategy().
◆ 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 },
}
Definition at line 158 of file ac3dec_fixed.c.
◆ ac3_decoder_class
Initial value:= {
.class_name = "Fixed-Point AC-3 Decoder",
}
Definition at line 166 of file ac3dec_fixed.c.
◆ ff_ac3_fixed_decoder
Initial value:= {
.p.name = "ac3_fixed",
.priv_data_size = sizeof (AC3DecodeContext),
}
Definition at line 173 of file ac3dec_fixed.c.
static int ac3_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
Decode a single AC-3 frame.